X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Frt5350_omnima_miniembplug.dts;h=ca98ab3599f7973d13bbc5cb4a83786abba6bf8e;hb=5f479a4f343019bc9511ba841042d42d045f3fbf;hp=102132628ea190d288ceb31f07013d5e1c46dab9;hpb=c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2;p=openwrt%2Fstaging%2Fhauke.git diff --git a/target/linux/ramips/dts/rt5350_omnima_miniembplug.dts b/target/linux/ramips/dts/rt5350_omnima_miniembplug.dts index 102132628e..ca98ab3599 100644 --- a/target/linux/ramips/dts/rt5350_omnima_miniembplug.dts +++ b/target/linux/ramips/dts/rt5350_omnima_miniembplug.dts @@ -60,10 +60,6 @@ }; }; -&gpio0 { - status = "okay"; -}; - &spi0 { status = "okay"; @@ -93,6 +89,20 @@ label = "factory"; reg = <0x40000 0x10000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x200>; + }; + + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; + }; }; partition@50000 { @@ -105,7 +115,8 @@ }; ðernet { - mtd-mac-address = <&factory 0x4>; + nvmem-cells = <&macaddr_factory_4>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -113,13 +124,6 @@ }; &wmac { - ralink,mtd-eeprom = <&factory 0x0>; -}; - -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; + nvmem-cells = <&eeprom_factory_0>; + nvmem-cell-names = "eeprom"; };