mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-06 04:58:40 +00:00
fixed LED in rockpis device tree
This commit is contained in:
parent
a156fddf8f
commit
bb63ed6d2a
2 changed files with 68 additions and 0 deletions
22
patch/u-boot/u-boot-rockchip64-dev/fix-rockpi4b-led.patch
Normal file
22
patch/u-boot/u-boot-rockchip64-dev/fix-rockpi4b-led.patch
Normal 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>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue