Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <stefan.wahren@i2se.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Stefan Wahren and committed by
Florian Fainelli
bff211ba bb6d3fb3

+6
+2
arch/arm/boot/dts/bcm2711-rpi-4-b.dts
··· 31 31 pwr { 32 32 label = "PWR"; 33 33 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; 34 + default-state = "keep"; 35 + linux,default-trigger = "default-on"; 34 36 }; 35 37 }; 36 38
+2
arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts
··· 26 26 pwr { 27 27 label = "PWR"; 28 28 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; 29 + default-state = "keep"; 30 + linux,default-trigger = "default-on"; 29 31 }; 30 32 }; 31 33 };
+2
arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
··· 27 27 pwr { 28 28 label = "PWR"; 29 29 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; 30 + default-state = "keep"; 31 + linux,default-trigger = "default-on"; 30 32 }; 31 33 }; 32 34