Skip to content

Commit

Permalink
arm: dts: Fix Onlogic FR201 LEDs
Browse files Browse the repository at this point in the history
Fix configuration for PWR and ACT LEDs on Onlogic FR201 device:

* PWR should be turned ON and the associated GPIO high active
* ACT LED shouldn't have any default trigger mode

Signed-off-by: Renê de Souza Pinto <[email protected]>
  • Loading branch information
rene authored and rucoder committed Jan 8, 2025
1 parent cbd9b72 commit 3231dbf
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions arch/arm/boot/dts/bcm2711-rpi-cm4-fr201.dts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

/* Nodes for OnLogic FR201 device */

/* Power LED */
&leds {
led-pwr {
default-state = "off";
linux,default-trigger = "none";
/* LEDs */
/ {
leds {
act_led: led-act {
default-state = "off";
linux,default-trigger = "none";
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
};

pwr_led: led-pwr {
default-state = "off";
linux,default-trigger = "default-on";
gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
};
};
};

Expand Down

0 comments on commit 3231dbf

Please sign in to comment.