mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
mediatek: RAP630W-211G change ethernet label and led behavior
Fixes: WIFI-14519 Signed-off-by: Jack Tsai <jack.tsai@cybertan.com.tw>
This commit is contained in:
committed by
John Crispin
parent
cc5edd4446
commit
e9dcf3d953
@@ -9,6 +9,11 @@
|
|||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &uart0;
|
serial0 = &uart0;
|
||||||
|
|
||||||
|
led-boot = &led_power;
|
||||||
|
led-failsafe = &led_power;
|
||||||
|
led-running = &led_power;
|
||||||
|
led-upgrade = &led_power;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
@@ -39,31 +44,22 @@
|
|||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_blue {
|
led_power: led_blue {
|
||||||
label = "sys:blue";
|
label = "sys:blue";
|
||||||
gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
|
||||||
linux,default-trigger = "timer";
|
default-state="off";
|
||||||
active-delay = <500>;
|
|
||||||
inactive-delay = <500>;
|
|
||||||
default-state="on";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
led_green {
|
led_green {
|
||||||
label = "sys:green";
|
label = "sys:green";
|
||||||
gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
|
||||||
linux,default-trigger = "timer";
|
default-state="off";
|
||||||
active-delay = <500>;
|
|
||||||
inactive-delay = <500>;
|
|
||||||
default-state="on";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
led_red {
|
led_red {
|
||||||
label = "sys:red";
|
label = "sys:red";
|
||||||
gpios = <&pio 25 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 25 GPIO_ACTIVE_LOW>;
|
||||||
linux,default-trigger = "timer";
|
default-state="off";
|
||||||
active-delay = <500>;
|
|
||||||
inactive-delay = <500>;
|
|
||||||
default-state="on";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -113,7 +109,7 @@
|
|||||||
|
|
||||||
port@0 {
|
port@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
label = "lan1";
|
label = "lan3";
|
||||||
};
|
};
|
||||||
|
|
||||||
port@1 {
|
port@1 {
|
||||||
@@ -123,7 +119,7 @@
|
|||||||
|
|
||||||
port@2 {
|
port@2 {
|
||||||
reg = <2>;
|
reg = <2>;
|
||||||
label = "lan3";
|
label = "lan1";
|
||||||
};
|
};
|
||||||
|
|
||||||
port@6 {
|
port@6 {
|
||||||
|
|||||||
Reference in New Issue
Block a user