Skip to content

Commit

Permalink
ARM: dts: bcm2712-rpi-5-b: Use common LED labels
Browse files Browse the repository at this point in the history
As of 6.6, the names of the labels on the Pi LEDs was swapped to match
the upstream code, i.e. led_act rather than act_led.

Apply the same change to Pi 5.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Jan 8, 2024
1 parent e59c0b8 commit b1ce6b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
leds: leds {
compatible = "gpio-leds";

pwr_led: led-pwr {
led_pwr: led-pwr {
label = "PWR";
gpios = <&rp1_gpio 44 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "none";
};

act_led: led-act {
led_act: led-act {
label = "ACT";
gpios = <&gio_aon 9 GPIO_ACTIVE_LOW>;
default-state = "off";
Expand Down Expand Up @@ -826,10 +826,10 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
uart0 = <&uart0>, "status";
wifiaddr = <&wifi>, "local-mac-address[";

act_led_activelow = <&act_led>, "active-low?";
act_led_trigger = <&act_led>, "linux,default-trigger";
pwr_led_activelow = <&pwr_led>, "gpios:8";
pwr_led_trigger = <&pwr_led>, "linux,default-trigger";
act_led_activelow = <&led_act>, "active-low?";
act_led_trigger = <&led_act>, "linux,default-trigger";
pwr_led_activelow = <&led_pwr>, "gpios:8";
pwr_led_trigger = <&led_pwr>, "linux,default-trigger";
eth_led0 = <&phy1>,"led-modes:0";
eth_led1 = <&phy1>,"led-modes:4";
drm_fb0_rp1_dsi0 = <&aliases>, "drm-fb0=",&dsi0;
Expand Down

0 comments on commit b1ce6b2

Please sign in to comment.