mekotronics-r58x-4g: mainline: LEDs (v1)
This commit is contained in:
parent
1772efc16e
commit
1b53372e5b
@ -25,35 +25,37 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_led: power-led {
|
||||
label = "power";
|
||||
gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
wifi_led: wifi-led {
|
||||
label = "wifi";
|
||||
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&power_led_pin>;
|
||||
};
|
||||
|
||||
/* @TODO
|
||||
eth_led: eth-led {
|
||||
default-state = "off";
|
||||
gpios = <&gpio3 0x10 0x00>;
|
||||
pinctrl-0 = <&wifi_led_pin>;
|
||||
};
|
||||
|
||||
hdd_led: hdd-led {
|
||||
default-state = "off";
|
||||
gpios = <&gpio3 0x11 0x00>;
|
||||
label = "hdd";
|
||||
gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdd_led_pin>;
|
||||
};
|
||||
|
||||
wifi_led: wifi-led {
|
||||
default-state = "off";
|
||||
gpios = <&gpio3 0x15 0x00>;
|
||||
eth_led: eth-led {
|
||||
label = "eth";
|
||||
gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <ð_led_pin>;
|
||||
};
|
||||
|
||||
work_led: work-led {
|
||||
default-state = "on";
|
||||
gpios = <&gpio3 0x0f 0x00>;
|
||||
label = "work";
|
||||
gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&work_led_pin>;
|
||||
};
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
@ -423,9 +425,21 @@
|
||||
// @TODO: gmac1
|
||||
|
||||
gpio-leds {
|
||||
power_led_pin: power-led-pin {
|
||||
wifi_led_pin: wifi-led-pin {
|
||||
rockchip,pins = <3 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
hdd_led_pin: hdd-led-pin {
|
||||
rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
eth_led_pin: eth-led-pin {
|
||||
rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
work_led_pin: work-led-pin {
|
||||
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user