From f8c372697db6a1f83b7a5458a3c0f49e1729d71c Mon Sep 17 00:00:00 2001 From: amazingfate Date: Tue, 13 Feb 2024 17:17:54 +0800 Subject: [PATCH] arm64: dts: add missing led gpio --- .../dts/rockchip/rk3568-hinlink-h6xk.dtsi | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi index fdf130b99692e..893c2d7fac3f3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568-hinlink-h6xk.dtsi @@ -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"; }; }; @@ -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>;