projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: convert mtd-mac-address to nvmem implementation
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_wavlink_wl-wn579x3.dts
diff --git
a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
index 55ab939d157b2581388f6c6277a3eb633fa264bd..ce617198ce9f8dd6df20ea13606aaa0210d8bd44 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
+++ b/
target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
@@
-163,7
+163,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 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
mediatek,portmap = "llllw";
mediatek,portmap = "llllw";
@@
-196,6
+197,7
@@
&gsw {
mediatek,port4-gmac;
&gsw {
mediatek,port4-gmac;
+ mediatek,ephy-base = /bits/ 8 <8>;
};
&wmac {
};
&wmac {
@@
-208,3
+210,13
@@
function = "gpio";
};
};
function = "gpio";
};
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+};