ramips: add support for SNR-CPE-ME2-SFP
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_hootoo_ht-tm02.dts
index 9d4de243aa723b9854addacf1b8c78a5afe3abfa..387e4adfdc170ca99ea41d4e9d12413d06c06ad4 100644 (file)
@@ -95,7 +95,8 @@
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x28>;
+       nvmem-cells = <&macaddr_factory_28>;
+       nvmem-cell-names = "mac-address";
 };
 
 &esw {
        ralink,mtd-eeprom = <&factory 0x0>;
 };
 
-&ehci {
-       status = "okay";
-};
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
 
-&ohci {
-       status = "okay";
+       macaddr_factory_28: macaddr@28 {
+               reg = <0x28 0x6>;
+       };
 };