projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: TP-Link Archer C5 v4: license and file formatting fixes
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_alfa-network_r36m-e4g.dts
diff --git
a/target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
b/target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
index 2325d53153daa76811309a9500bf8649a48a186f..1eefd4d396bb975b14590d3895deb25f2381b286 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
+++ b/
target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
@@
-4,6
+4,7
@@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "alfa-network,r36m-e4g", "ralink,mt7620a-soc";
/ {
compatible = "alfa-network,r36m-e4g", "ralink,mt7620a-soc";
@@
-86,7
+87,8
@@
};
lan {
};
lan {
- label = "green:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
@@
-109,12
+111,14
@@
};
wan {
};
wan {
- label = "green:wan";
+ function = LED_FUNCTION_WAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan {
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "orange:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
@@
-188,7
+192,7
@@
read-only;
};
read-only;
};
-
factory:
partition@40000 {
+ partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;