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
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>
  • Loading branch information
lategoodbye authored and vianpl committed Jun 8, 2021
1 parent 224bd59 commit 5f30dac
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 5f30dac

Please sign in to comment.