lantiq: move partitions into partion table node
[openwrt/svn-archive/archive.git] / target / linux / lantiq / dts / P2812HNUF3.dts
index 5d25c3c4cbe11380a1676a48cab5d4172525c531..dabf5ed4729d98ff04b67e2dabc544941eda4dc7 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x0 0x50000>;
-                                       read-only;
-                               };
-                               partition@50000 {
-                                       label = "uboot-env";
-                                       reg = <0x50000 0x10000>;
-                               };
-                               partition@60000 {
-                                       label = "unused";
-                                       reg = <0x60000 0x7a0000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x0 0x50000>;
+                                               read-only;
+                                       };
+                                       partition@50000 {
+                                               label = "uboot-env";
+                                               reg = <0x50000 0x10000>;
+                                       };
+                                       partition@60000 {
+                                               label = "unused";
+                                               reg = <0x60000 0x7a0000>;
+                                       };
                                };
                        };
 
                compatible = "ralink,eeprom";
                ralink,eeprom = "RT3092.eeprom";
        };
-
-       gpio-leds {
-               compatible = "gpio-leds";
-
-               internet2 {
-                       label = "internet2";
-                       gpios = <&stp 16 1>;
-               };
-               internet {
-                       label = "internet";
-                       gpios = <&stp 17 1>;
-               };
-               dsl {
-                       label = "dsl";
-                       gpios = <&stp 18 1>;
-               };
-               dsl2 {
-                       label = "dsl2";
-                       gpios = <&stp 19 1>;
-               };
-               wireless_red {
-                       label = "wireless_red";
-                       gpios = <&stp 20 1>;
-               };
-               wireless_green {
-                       label = "wireless_green";
-                       gpios = <&stp 21 1>;
-               };
-               power2 {
-                       label = "power2";
-                       gpios = <&stp 22 1>;
-               };
-               power {
-                       label = "power";
-                       gpios = <&stp 23 1>;
-               };
-               phone1 {
-                       label = "phone1";
-                       gpios = <&gpio 11 1>;
-               };
-               phone1warn {
-                       label = "phone1warn";
-                       gpios = <&gpio 12 1>;
-               };
-               phone2 {
-                       label = "phone2";
-                       gpios = <&gpio 28 1>;
-               };
-               phone2warn {
-                       label = "phone2warn";
-                       gpios = <&gpio 26 1>;
-               };
-       };
 };