projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: clean up useless dts partition labels
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_alfa-network_tube-e4g.dts
diff --git
a/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts
b/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts
index 42047390b0f5a456e00f53da4f1dc4752e6000f4..95ba2c7cdf5b1d74d78098bb2eef1f9b2512857c 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts
+++ b/
target/linux/ramips/dts/mt7620a_alfa-network_tube-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,tube-e4g", "ralink,mt7620a-soc";
/ {
compatible = "alfa-network,tube-e4g", "ralink,mt7620a-soc";
@@
-74,12
+75,14
@@
};
lan {
};
lan {
- label = "blue:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
power: power {
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
power: power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
@@
-103,11
+106,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
-};
-
-&gpio0 {
- status = "okay";
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
};
&gpio1 {
};
&gpio1 {
@@
-118,10
+118,6
@@
status = "okay";
};
status = "okay";
};
-&gsw {
- mediatek,port4 = "ephy";
-};
-
&ohci {
status = "okay";
};
&ohci {
status = "okay";
};
@@
-168,10
+164,20
@@
read-only;
};
read-only;
};
-
factory:
partition@40000 {
+ partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {