Skip to content

Commit

Permalink
ARM: dts: bcm283x: Fix up GPIO LED node names
Browse files Browse the repository at this point in the history
[ Upstream commit 5f30dac ]

Fix the node names for the GPIO LEDs to conform to the standard node
name led-..

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1622981777-5023-6-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
lategoodbye authored and gregkh committed Jul 25, 2021
1 parent 4bc03e3 commit fc71d8d
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2711-rpi-4-b.dts
Expand Up @@ -28,11 +28,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
Expand Up @@ -14,11 +14,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-a.dts
Expand Up @@ -14,7 +14,7 @@
};

leds {
act {
led-act {
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
Expand Up @@ -15,11 +15,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
Expand Up @@ -15,7 +15,7 @@
};

leds {
act {
led-act {
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-b.dts
Expand Up @@ -15,7 +15,7 @@
};

leds {
act {
led-act {
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-cm1.dtsi
Expand Up @@ -5,7 +5,7 @@

/ {
leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
Expand Up @@ -23,7 +23,7 @@
};

leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi-zero.dts
Expand Up @@ -18,7 +18,7 @@
};

leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835-rpi.dtsi
Expand Up @@ -4,7 +4,7 @@
leds {
compatible = "gpio-leds";

act {
led-act {
label = "ACT";
default-state = "keep";
linux,default-trigger = "heartbeat";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2836-rpi-2-b.dts
Expand Up @@ -15,11 +15,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts
Expand Up @@ -19,11 +19,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
Expand Up @@ -20,11 +20,11 @@
};

leds {
act {
led-act {
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
};

pwr {
led-pwr {
label = "PWR";
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2837-rpi-3-b.dts
Expand Up @@ -20,7 +20,7 @@
};

leds {
act {
led-act {
gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
Expand Up @@ -14,7 +14,7 @@
* Since there is no upstream GPIO driver yet,
* remove the incomplete node.
*/
/delete-node/ act;
/delete-node/ led-act;
};

reg_3v3: fixed-regulator {
Expand Down

0 comments on commit fc71d8d

Please sign in to comment.