mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 05:04:15 +07:00
ARM: dts: lpc4357-ea4357: add mmio-gpio leds
Hook up LEDs on the outputs from the D-type flip-flop found on the address/data bus. Note that the LEDx label in the schematics is reversed in regard to the bits on the data bus. Hence the reverse ordering used here. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
3c6abb97f3
commit
41a0dec916
@ -85,6 +85,75 @@ button@4 {
|
|||||||
gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
|
gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds_mmio {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
led1 {
|
||||||
|
gpios = <&mmio_leds 15 GPIO_ACTIVE_HIGH>;
|
||||||
|
linux,default-trigger = "heartbeat";
|
||||||
|
};
|
||||||
|
|
||||||
|
led2 {
|
||||||
|
gpios = <&mmio_leds 14 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led3 {
|
||||||
|
gpios = <&mmio_leds 13 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led4 {
|
||||||
|
gpios = <&mmio_leds 12 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led5 {
|
||||||
|
gpios = <&mmio_leds 11 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led6 {
|
||||||
|
gpios = <&mmio_leds 10 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led7 {
|
||||||
|
gpios = <&mmio_leds 9 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led8 {
|
||||||
|
gpios = <&mmio_leds 8 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led9 {
|
||||||
|
gpios = <&mmio_leds 7 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led10 {
|
||||||
|
gpios = <&mmio_leds 6 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led11 {
|
||||||
|
gpios = <&mmio_leds 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led12 {
|
||||||
|
gpios = <&mmio_leds 4 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led13 {
|
||||||
|
gpios = <&mmio_leds 3 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led14 {
|
||||||
|
gpios = <&mmio_leds 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led15 {
|
||||||
|
gpios = <&mmio_leds 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led16 {
|
||||||
|
gpios = <&mmio_leds 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
|
Loading…
Reference in New Issue
Block a user