File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 68
68
leds {
69
69
compatible = "gpio-leds";
70
70
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
+
72
83
led_work: work {
73
84
gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
85
+ label = "green:work";
74
86
linux,default-trigger = "heartbeat";
75
87
};
76
88
};
588
600
};
589
601
590
602
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
+
591
613
led_work_en: led-work-en {
592
614
rockchip,pins =
593
615
<3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
You can’t perform that action at this time.
0 commit comments