projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: convert mtd-mac-address to nvmem implementation
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
ar9342_ubnt_xw.dtsi
diff --git
a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
index c5fbdb94c4d6a6c3b9ce8fc45f11eddc5a148d7d..ce49c10e5ccb5bc634444cd2dbbce1deb60ef73c 100644
(file)
--- a/
target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
+++ b/
target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@
-57,10
+57,6
@@
clock-frequency = <40000000>;
};
clock-frequency = <40000000>;
};
-&uart {
- status = "okay";
-};
-
&spi {
status = "okay";
&spi {
status = "okay";
@@
-114,5
+110,16
@@
};
ð0 {
};
ð0 {
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
};
};