X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_ampedwireless_ally.dtsi;h=35274afbf3acf5757cd56439a5a8414a0f99ca64;hb=f4c33d098fdfccc741c33cfde134a2911347d17a;hp=4f06271239b0f4c13503fb7447ddcefd8954794a;hpb=3c1c3f468510857ca40023f134429917fe8cf0f8;p=openwrt%2Fstaging%2Fstintel.git diff --git a/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi b/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi index 4f06271239..35274afbf3 100644 --- a/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi +++ b/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi @@ -107,19 +107,22 @@ }; factory: partition@100000 { - compatible = "nvmem-cells"; label = "factory"; reg = <0x100000 0x40000>; - #address-cells = <1>; - #size-cells = <1>; read-only; - eeprom_factory_0: eeprom@0 { - reg = <0x0 0x4da8>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x4da8>; + }; - eeprom_factory_8000: eeprom@8000 { - reg = <0x8000 0x4da8>; + eeprom_factory_8000: eeprom@8000 { + reg = <0x8000 0x4da8>; + }; }; };