Skip to content

Commit bff211b

Browse files
lategoodbyeffainelli
authored andcommitted
ARM: dts: bcm283x: Add missing properties to the PWR LED
This adds the missing properties to the PWR LED for the RPi 3 & 4 boards, which are already set for the other boards. Without them we will lose the LED state after suspend. Signed-off-by: Stefan Wahren <[email protected]> Tested-by: Peter Robinson <[email protected]> Signed-off-by: Florian Fainelli <[email protected]>
1 parent bb6d3fb commit bff211b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

arch/arm/boot/dts/bcm2711-rpi-4-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
pwr {
3232
label = "PWR";
3333
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
34+
default-state = "keep";
35+
linux,default-trigger = "default-on";
3436
};
3537
};
3638

arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
pwr {
2727
label = "PWR";
2828
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
29+
default-state = "keep";
30+
linux,default-trigger = "default-on";
2931
};
3032
};
3133
};

arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
pwr {
2828
label = "PWR";
2929
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
30+
default-state = "keep";
31+
linux,default-trigger = "default-on";
3032
};
3133
};
3234

0 commit comments

Comments
 (0)