]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: bcm283x: Add missing properties to the PWR LED
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 23 Feb 2020 18:03:05 +0000 (19:03 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 27 Feb 2020 19:29:27 +0000 (11:29 -0800)
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>
arch/arm/boot/dts/bcm2711-rpi-4-b.dts
arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts
arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts

index 1b5a835f66bd3de475e8229cc2302576f3c57b45..b8c4b5bb265a9928c7bf35a99a7121ba51fe91a8 100644 (file)
@@ -31,6 +31,8 @@
                pwr {
                        label = "PWR";
                        gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
+                       default-state = "keep";
+                       linux,default-trigger = "default-on";
                };
        };
 
index 66ab35eccba7bbc0f753ac99ce0763a8b1f5af9c..28be0332c1c810e6fe727802ce7af4458f70029f 100644 (file)
@@ -26,6 +26,8 @@
                pwr {
                        label = "PWR";
                        gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
+                       default-state = "keep";
+                       linux,default-trigger = "default-on";
                };
        };
 };
index 74ed6d04780703d8c3197c39716baecad5cafcb5..37343148643dbfafb9d89d7eb091b401fafb4aa0 100644 (file)
@@ -27,6 +27,8 @@
                pwr {
                        label = "PWR";
                        gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
+                       default-state = "keep";
+                       linux,default-trigger = "default-on";
                };
        };