提交 3b18d859 编写于 作者: S Simon Horman

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: NSimon Horman <horms+renesas@verge.net.au>
Tested-by: NMagnus Damm <damm+renesas@opensource.se>
上级 d7d5974b
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册