提交 6ce12a74 编写于 作者: B Benjamin Gaignard 提交者: Alexandre Torgue

ARM: dts: stm32: Add leds support to stm32f469 Discovery board

Add nodes for the four user leds.
Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
上级 9137b849
...@@ -78,6 +78,23 @@ ...@@ -78,6 +78,23 @@
dma-ranges = <0xc0000000 0x0 0x10000000>; dma-ranges = <0xc0000000 0x0 0x10000000>;
}; };
leds {
compatible = "gpio-leds";
green {
gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
orange {
gpios = <&gpiod 4 GPIO_ACTIVE_LOW>;
};
red {
gpios = <&gpiod 5 GPIO_ACTIVE_LOW>;
};
blue {
gpios = <&gpiok 3 GPIO_ACTIVE_LOW>;
};
};
/* This turns on vbus for otg for host mode (dwc2) */ /* This turns on vbus for otg for host mode (dwc2) */
vcc5v_otg: vcc5v-otg-regulator { vcc5v_otg: vcc5v-otg-regulator {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册