fixed LED in rockpis device tree

This commit is contained in:
chwe17 2019-01-19 01:34:15 +01:00
parent a156fddf8f
commit bb63ed6d2a
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,22 @@
diff --git a/arch/arm/dts/rk3399-rockpi4b.dts b/arch/arm/dts/rk3399-rockpi4b.dts
index 5d73ce5..5574e9b 100644
--- a/arch/arm/dts/rk3399-rockpi4b.dts
+++ b/arch/arm/dts/rk3399-rockpi4b.dts
@@ -65,14 +65,9 @@
status = "okay";
compatible = "gpio-leds";
- power-led {
- label = "power";
- gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
- };
-
- standby-led {
- label = "standby";
- gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
+ system-status {
+ label = "status";
+ gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
};
};