projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: use fixed layout cell "mac-base" for Netgear R6220
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_edimax_br-6478ac-v2.dts
diff --git
a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
index e7af34aa8eb018832f5a7e8ac6b85686cdac1a02..cc902888baec5a1b8deee1e291a080c56496f94f 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
+++ b/
target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
@@
-132,7
+132,8
@@
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
mediatek,portmap = "wllll";
mediatek,portmap = "wllll";
@@
-178,7
+179,7
@@
};
&gsw {
};
&gsw {
- mediatek,
port4 = "gmac"
;
+ mediatek,
ephy-base = /bits/ 8 <12>
;
};
&wmac {
};
&wmac {
@@
-204,3
+205,13
@@
&ohci {
status = "okay";
};
&ohci {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+};