Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
arm64: dts: rock 5b: update user leds configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Wang <[email protected]>
  • Loading branch information
Ken-Vamrs authored and RadxaStephen committed Jul 3, 2023
1 parent 27984f4 commit 413ef65
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,14 @@
vin-supply = <&vcc5v0_sys>;
};

leds {
gpio-leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_rgb_b>;

led_rgb_b {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_BLUE>;
user-led2 {
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "on";
};
};

Expand Down Expand Up @@ -1052,12 +1050,6 @@
};

&pinctrl {
leds {
led_rgb_b: led-rgb-b {
rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

usb {
vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
Expand Down

0 comments on commit 413ef65

Please sign in to comment.