ath79: convert remaining mtd-mac-address cases to nvmem
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
index 287e8cc7db668e1c72a3cd8f7ac1ecd48206c509..e8d903b30580ffb7237f5cae9caf6f9035167c64 100644 (file)
        };
 };
 
+&eth0 {
+       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &eth1 {
        compatible = "syscon", "simple-mfd";
 };
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_art_0: macaddr@0 {
+               reg = <0x0 0x6>;
+       };
+};