zephyr/boards/arc/em_starterkit/em_starterkit_r22.dtsi
Kumar Gala 762eadc15d drivers: gpio: dw: rework init to use DT_INST_FOREACH_STATUS_OKAY
Use DT_INST_FOREACH_STATUS_OKAY to reduce duplicated code for each
instance.

We make interrupts optional since they aren't always available.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-14 10:31:42 +02:00

42 lines
484 B
Plaintext

/*
* Copyright (c) 2018 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
soc {
i2c@f0004000 {
interrupts = <23 1>;
};
i2c@f0005000 {
interrupts = <24 1>;
};
uart@f0008000 {
interrupts = <27 1>;
};
uart@f0009000 {
interrupts = <28 1>;
};
uart@f000a000 {
interrupts = <29 1>;
};
gpio@f0002000 {
interrupts = <22 1>;
};
spi@f0006000 {
interrupts = <25 1>;
};
spi@f0007000 {
interrupts = <26 1>;
};
};
};