lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / GIGASX76X.dts
index d8287035373a3011a8c50a3ae16f80ea18309d57..a43e4d4f2950c7c18345eb08ad5db6662962d4d4 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x0 0x30000>;
-                               };
-
-                               partition@10000 {
-                                       label = "uboot_env";
-                                       reg = <0x30000 0x10000>;
-                               };
-
-                               partition@40000 {
-                                       label = "firmware";
-                                       reg = <0x40000 0x7c0000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x0 0x30000>;
+                                       };
+
+                                       partition@10000 {
+                                               label = "uboot_env";
+                                               reg = <0x30000 0x10000>;
+                                       };
+
+                                       partition@40000 {
+                                               label = "firmware";
+                                               reg = <0x40000 0x7c0000>;
+                                       };
                                };
                        };
 
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";
                                };
-                               pci {
-                                       lantiq,groups = "gnt1", "req1";
-                                       lantiq,function = "pci";
-                               };
                        };
                };
 
@@ -89,7 +91,7 @@
                        status = "okay";
                        lantiq,internal-clock;
                        gpio-reset = <&gpio 21 0>;
-                       req-mask = <0xf>;
+                       req-mask = <0x1>;
                };
        };