1
0
Fork 0

ARM: dts: gose: Add GPIO leds to DT

Instantiate the GPIO leds in the gose device tree.

Based on similar work for the koelsch board by Magnus Damm.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Tested-by: Magnus Damm <damm+renesas@opensource.se>
hifive-unleashed-5.1
Simon Horman 2015-11-18 14:20:35 -08:00
parent d7d5974b15
commit 3b18d8593d
1 changed files with 16 additions and 0 deletions

View File

@ -113,6 +113,22 @@
debounce-interval = <20>;
};
};
leds {
compatible = "gpio-leds";
led6 {
gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
label = "LED6";
};
led7 {
gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
label = "LED7";
};
led8 {
gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
label = "LED8";
};
};
};
&extal_clk {