projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for ALFA Network AX1800RM
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_glinet_gl-mt300n.dts
diff --git
a/target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
b/target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
index 43dfa0d5f59dce2a7a25462e447057602332b152..70d0827ed2bbe23975b541ff316237c681174396 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
+++ b/
target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
@@
-57,10
+57,6
@@
};
};
};
};
-&gpio1 {
- status = "okay";
-};
-
&gpio2 {
status = "okay";
};
&gpio2 {
status = "okay";
};
@@
-122,7
+118,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x4000>;
+ nvmem-cells = <&macaddr_factory_4000>;
+ nvmem-cell-names = "mac-address";
mediatek,portmap = "wllll";
};
mediatek,portmap = "wllll";
};
@@
-137,3
+134,13
@@
function = "gpio";
};
};
function = "gpio";
};
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4000: macaddr@4000 {
+ reg = <0x4000 0x6>;
+ };
+};