Skip to content

Commit

Permalink
dts: rock 3a: turn on blue user led
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen <[email protected]>
  • Loading branch information
StephenInVamrs committed Dec 27, 2021
1 parent 5303764 commit f48bdfd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/dts/rk3568-rock-3-a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@
vin-supply = <&dc_12v>;
};

led_sys: led-sys {
u-boot,dm-pre-reloc;
compatible = "regulator-fixed";
regulator-name = "led_sys";
enable-active-high;
gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; // Turn on blue led
regulator-boot-on;
regulator-always-on;
vin-supply = <&vcc3v3_sys>;
};

vcc3v3_pcie: gpio-regulator {
u-boot,dm-pre-reloc;
compatible = "regulator-fixed";
Expand Down

0 comments on commit f48bdfd

Please sign in to comment.