Skip to content

Commit

Permalink
Merge branch 'rk-5.10-rkr6' into cm3588
Browse files Browse the repository at this point in the history
  • Loading branch information
ColorfulRhino authored Feb 26, 2024
2 parents 65a7a7b + 03ef88f commit 522497a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,21 @@
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_work_en>;
pinctrl-0 = <&led_net_en>, <&led_sata_en>, <&led_work_en>;

led_net: net {
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
label = "blue:net";
};

led_sata: sata {
gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
label = "amber:sata";
};

led_work: work {
gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
label = "green:work";
linux,default-trigger = "heartbeat";
};
};
Expand Down Expand Up @@ -588,6 +600,16 @@
};

leds {
led_net_en: led-net-en {
rockchip,pins =
<3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
};

led_sata_en: led-sata-en {
rockchip,pins =
<3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
};

led_work_en: led-work-en {
rockchip,pins =
<3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
Expand Down

0 comments on commit 522497a

Please sign in to comment.