projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: ar: convert to nvmem-layout
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
ar9331_8dev_carambola2.dts
diff --git
a/target/linux/ath79/dts/ar9331_8dev_carambola2.dts
b/target/linux/ath79/dts/ar9331_8dev_carambola2.dts
index d99e0a422a70471b6d360fd35e2b3c44e331d86b..f786f425f05abf1a7374bacb8df0743b40ded65d 100644
(file)
--- a/
target/linux/ath79/dts/ar9331_8dev_carambola2.dts
+++ b/
target/linux/ath79/dts/ar9331_8dev_carambola2.dts
@@
-92,6
+92,20
@@
label = "art";
reg = <0xff0000 0x010000>;
read-only;
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+ };
};
};
};
};
};
};
@@
-124,17
+138,3
@@
status = "okay";
mtd-cal-data = <&art 0x1000>;
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-
- macaddr_art_6: macaddr@6 {
- reg = <0x6 0x6>;
- };
-};