zephyr/boards/snps/em_starterkit/em_starterkit_r23.dtsi
Jamie McCrae f103c82c31 boards/socs: Rename folders to have proper vendor prefix in
Replaces inaccurate or wrong vendor prefixes in board and soc
folder names with those from thr vendor prefix file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-22 00:56:51 +01:00

74 lines
1.2 KiB
Plaintext

/*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
spi-flash0 = &w25q128bv;
};
soc {
i2c@f0004000 {
interrupts = <25 1>;
};
i2c@f0005000 {
interrupts = <26 1>;
};
uart@f0008000 {
interrupts = <29 1>;
};
uart@f0009000 {
interrupts = <30 1>;
};
uart@f000a000 {
interrupts = <31 1>;
};
gpio@f0002000 {
interrupts = <24 1>;
};
creg_gpio: creg_gpio@f0000014 {
compatible = "snps,creg-gpio";
reg = <0xf0000014 0x4>;
ngpios = <6>;
bit_per_gpio = <1>;
off_val = <0>;
on_val = <1>;
gpio-controller;
#gpio-cells = <2>;
status = "okay";
};
spi@f0006000 {
interrupts = <27 1>;
cs-gpios = <&creg_gpio 0 GPIO_ACTIVE_HIGH>,
<&creg_gpio 1 GPIO_ACTIVE_HIGH>,
<&creg_gpio 2 GPIO_ACTIVE_HIGH>,
<&creg_gpio 3 GPIO_ACTIVE_HIGH>,
<&creg_gpio 4 GPIO_ACTIVE_HIGH>,
<&creg_gpio 5 GPIO_ACTIVE_HIGH>;
w25q128bv: w25q128bv@0 {
compatible ="jedec,spi-nor";
size = <0x8000000>;
reg = <0>;
spi-max-frequency = <20000000>;
status = "okay";
jedec-id = [ef 40 18];
};
};
spi@f0007000 {
interrupts = <28 1>;
};
};
};