Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c9344b

Browse files
amazingfateHeyMeco
authored andcommitted
arm64: dts: hinlink-h6xk: add missing led gpio (torvalds#152)
1 parent c35b19b commit 0c9344b

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,21 @@
6868
leds {
6969
compatible = "gpio-leds";
7070
pinctrl-names = "default";
71-
pinctrl-0 = <&led_work_en>;
71+
pinctrl-0 = <&led_net_en>, <&led_sata_en>, <&led_work_en>;
72+
73+
led_net: net {
74+
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
75+
label = "blue:net";
76+
};
77+
78+
led_sata: sata {
79+
gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
80+
label = "amber:sata";
81+
};
82+
7283
led_work: work {
7384
gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
85+
label = "green:work";
7486
linux,default-trigger = "heartbeat";
7587
};
7688
};
@@ -588,6 +600,16 @@
588600
};
589601

590602
leds {
603+
led_net_en: led-net-en {
604+
rockchip,pins =
605+
<3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
606+
};
607+
608+
led_sata_en: led-sata-en {
609+
rockchip,pins =
610+
<3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
611+
};
612+
591613
led_work_en: led-work-en {
592614
rockchip,pins =
593615
<3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;

0 commit comments

Comments
 (0)