arm64: dts: rockchip: give some life to the rk3328-roc-cc leds
Subsystems (2)
PATCH v3 1/1 arm64: dts: rockchip: give some life to the rk3328-roc-cc leds
Assign the LEDs to heartbeat and sdcard io, as in other RK boards.
https://github.com/armbian/build/commit/f1affad5c7be62d6e93832af3556c7609edd0858
Suggested-by Juan Cano <[email protected]>
Signed-off-by Leonidas P. Papadakos <[email protected]>
---
v2: Don't specify disabled IR led for now
v3: Add Suggested-by tag
--- .../arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +19 -0
@@ -81,6 +81,25 @@ regulator-always-on; regulator-boot-on; }; + + leds { + compatible = "gpio-leds"; + power { + label = "firefly:blue:power"; + linux,default-trigger = "heartbeat"; + gpios = <&rk805 1 GPIO_ACTIVE_LOW>; + default-state = "on"; + mode = <0x23>; + }; + + user { + label = "firefly:yellow:user"; + linux,default-trigger = "mmc1"; + gpios = <&rk805 0 GPIO_ACTIVE_LOW>; + default-state = "off"; + mode = <0x05>; + }; + }; }; &cpu0 {
Signature · 1 line
2.21.0
Am Sonntag, 3. März 2019, 00:18:33 CET schrieb Leonidas P. Papadakos:
Quoted 6 lines
Assign the LEDs to heartbeat and sdcard io, as in other RK boards.
https://github.com/armbian/build/commit/f1affad5c7be62d6e93832af3556c7609edd0858
Suggested-by Juan Cano <[email protected]>Signed-off-by Leonidas P. Papadakos <[email protected]>
applied for 5.2
Thanks
Heiko