mediatek: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / mediatek / dts / mt7981b-zyxel-nwa50ax-pro.dts
index 6b50dde4e2ac7fee02bfde4aecd2c27ae641972f..54df8c054ace3a6b477074a7a38d70c7804bbc43 100644 (file)
                spi-cal-addrlen = <5>;
                spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
 
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                mediatek,nmbm;
                mediatek,bmt-max-ratio = <1>;
                mediatek,bmt-max-reserved-blocks = <64>;
 
-               mediatek,bmt-remap-range =
-                       <0x0 0x580000>,
-                       <0xef00000 0xef80000>;
-
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                                reg = <0x180000 0x0200000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               macaddr: macaddr@a {
-                                       reg = <0xa 0x6>;
+                                       macaddr: macaddr@a {
+                                               reg = <0xa 0x6>;
+                                       };
                                };
                        };
 
                                reg = <0xef80000 0x80000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               macaddr_mrd_1fff8: macaddr@1fff8 {
-                                       reg = <0x1fff8 0x6>;
+                                       macaddr_mrd_1fff8: macaddr@1fff8 {
+                                               reg = <0x1fff8 0x6>;
+                                       };
                                };
                        };
                };