|
@@ -17,13 +17,13 @@
|
|
keys {
|
|
keys {
|
|
compatible = "gpio-keys";
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
- reset {
|
|
|
|
|
|
+ button-0 {
|
|
label = "reset";
|
|
label = "reset";
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_RESTART>;
|
|
linux,code = <KEY_RESTART>;
|
|
};
|
|
};
|
|
|
|
|
|
- wps {
|
|
|
|
|
|
+ button-1 {
|
|
label = "wps";
|
|
label = "wps";
|
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
@@ -34,33 +34,29 @@
|
|
compatible = "gpio-leds";
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
led-0 {
|
|
led-0 {
|
|
- label = "amber:lan4";
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <0>;
|
|
|
|
|
|
+ function-enumerator = <4>;
|
|
linux,default-trigger = "mt7530-0:00:1Gbps";
|
|
linux,default-trigger = "mt7530-0:00:1Gbps";
|
|
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-1 {
|
|
led-1 {
|
|
- label = "green:lan4";
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <1>;
|
|
|
|
|
|
+ function-enumerator = <4>;
|
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-2 {
|
|
led-2 {
|
|
- label = "amber:lan3";
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <2>;
|
|
|
|
|
|
+ function-enumerator = <3>;
|
|
linux,default-trigger = "mt7530-0:01:1Gbps";
|
|
linux,default-trigger = "mt7530-0:01:1Gbps";
|
|
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-3 {
|
|
led-3 {
|
|
- label = "green:lan3";
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
function-enumerator = <3>;
|
|
function-enumerator = <3>;
|
|
@@ -68,85 +64,72 @@
|
|
};
|
|
};
|
|
|
|
|
|
led-4 {
|
|
led-4 {
|
|
- label = "amber:lan2";
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <4>;
|
|
|
|
|
|
+ function-enumerator = <2>;
|
|
linux,default-trigger = "mt7530-0:02:1Gbps";
|
|
linux,default-trigger = "mt7530-0:02:1Gbps";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-5 {
|
|
led-5 {
|
|
- label = "amber:lan1";
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <5>;
|
|
|
|
|
|
+ function-enumerator = <1>;
|
|
linux,default-trigger = "mt7530-0:03:1Gbps";
|
|
linux,default-trigger = "mt7530-0:03:1Gbps";
|
|
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-6 {
|
|
led-6 {
|
|
- label = "green:lan1";
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <6>;
|
|
|
|
|
|
+ function-enumerator = <1>;
|
|
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-7 {
|
|
led-7 {
|
|
- label = "amber:wan";
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = LED_FUNCTION_WAN;
|
|
function = LED_FUNCTION_WAN;
|
|
- function-enumerator = <0>;
|
|
|
|
linux,default-trigger = "mt7530-0:04:1Gbps";
|
|
linux,default-trigger = "mt7530-0:04:1Gbps";
|
|
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-8 {
|
|
led-8 {
|
|
- label = "green:wan";
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = LED_FUNCTION_WAN;
|
|
function = LED_FUNCTION_WAN;
|
|
- function-enumerator = <1>;
|
|
|
|
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-9 {
|
|
led-9 {
|
|
- label = "green:lan2";
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = LED_FUNCTION_LAN;
|
|
function = LED_FUNCTION_LAN;
|
|
- function-enumerator = <7>;
|
|
|
|
|
|
+ function-enumerator = <2>;
|
|
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-10 {
|
|
led-10 {
|
|
- label = "white:wlan2g";
|
|
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
function = LED_FUNCTION_WLAN;
|
|
function = LED_FUNCTION_WLAN;
|
|
- function-enumerator = <0>;
|
|
|
|
|
|
+ function-enumerator = <24>;
|
|
linux,default-trigger = "phy1radio";
|
|
linux,default-trigger = "phy1radio";
|
|
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led_wps: led-11 {
|
|
led_wps: led-11 {
|
|
function = LED_FUNCTION_WPS;
|
|
function = LED_FUNCTION_WPS;
|
|
- function-enumerator = <0>;
|
|
|
|
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
|
|
panic-indicator;
|
|
panic-indicator;
|
|
};
|
|
};
|
|
|
|
|
|
led_status: led-12 {
|
|
led_status: led-12 {
|
|
- label = "white:status";
|
|
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
function = LED_FUNCTION_STATUS;
|
|
function = LED_FUNCTION_STATUS;
|
|
- function-enumerator = <0>;
|
|
|
|
gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
led-13 {
|
|
led-13 {
|
|
- label = "white:wlan5g";
|
|
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
function = LED_FUNCTION_WLAN;
|
|
function = LED_FUNCTION_WLAN;
|
|
- function-enumerator = <1>;
|
|
|
|
|
|
+ function-enumerator = <50>;
|
|
linux,default-trigger = "phy0radio";
|
|
linux,default-trigger = "phy0radio";
|
|
gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|