mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-31 19:21:43 +00:00
46 lines
1.1 KiB
Diff
46 lines
1.1 KiB
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpi4b.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpi4b.dts
|
|
index 7f10da2a8..1d4721dcc 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpi4b.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpi4b.dts
|
|
@@ -140,20 +140,15 @@
|
|
};
|
|
|
|
leds {
|
|
+ status = "okay";
|
|
compatible = "gpio-leds";
|
|
pinctrl-names = "default";
|
|
- pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>;
|
|
-
|
|
- work-led {
|
|
- label = "work";
|
|
- default-state = "on";
|
|
- gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
|
- };
|
|
+ pinctrl-0 = <&status_led_gpio>;
|
|
|
|
- diy-led {
|
|
- label = "diy";
|
|
- default-state = "off";
|
|
- gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
|
|
+ system-status {
|
|
+ label = "status";
|
|
+ gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;
|
|
+ linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|
|
@@ -643,12 +638,8 @@
|
|
};
|
|
|
|
leds {
|
|
- work_led_gpio: work_led-gpio {
|
|
- rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
- };
|
|
-
|
|
- diy_led_gpio: diy_led-gpio {
|
|
- rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ status_led_gpio: status_led_gpio {
|
|
+ rockchip,pins = <3 28 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|