projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: convert mtd-mac-address to nvmem implementation
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
files
/
arch
/
mips
/
boot
/
dts
/
lantiq
/
danube_arcadyan_arv7519pw.dts
diff --git
a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7519pw.dts
b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7519pw.dts
index 839af437739bf336ba14e72e11723c1fd9bf5372..c48c9c0e7ba6716b0100048d52793e301ff87fc1 100644
(file)
--- a/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7519pw.dts
+++ b/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7519pw.dts
@@
-144,7
+144,8
@@
&gsw {
phy-mode = "mii";
&gsw {
phy-mode = "mii";
- mtd-mac-address = <&boardconfig 0x16>;
+ nvmem-cells = <&macaddr_boardconfig_16>;
+ nvmem-cell-names = "mac-address";
};
&localbus {
};
&localbus {
@@
-213,3
+214,13
@@
&vmmc {
status = "okay";
};
&vmmc {
status = "okay";
};
+
+&boardconfig {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_boardconfig_16: macaddr@16 {
+ reg = <0x16 0x6>;
+ };
+};