lantiq: add swconfig to the default packages
[oweals/openwrt.git] / target / linux / lantiq / dts / VG3503J.dts
index b8437ebd12cbe6f3c61e902f137b6d05eb70dae8..db25b8748843f3b68cfb18c77dac41b7a996bca5 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "vr9.dtsi"
+#include "vr9.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "VG3503J - BT OpenReach VDSL Modem";
                                        };
 
                                        partition@20000 {
-                                               label = "kernel";
-                                               reg = <0x20000 0x300000>;
-                                       };
-
-                                       partition@1a0000 {
-                                               label = "rootfs";
-                                               reg = <0x320000 0x420000>;
-                                       };
-
-                                       partition@740000 {
-                                               label = "btagent";
-                                               reg = <0x740000 0x80000>;
-                                       };
-
-                                       partition@7c0000 {
-                                               label = "pri_bfocus_cfg";
-                                               reg = <0x7c0000 0x10000>;
-                                       };
-
-                                       partition@7d0000 {
-                                               label = "sec_bfocus_cfg";
-                                               reg = <0x7d0000 0x10000>;
-                                       };
-
-                                       partition@7e0000 {
-                                               label = "sysconfig";
-                                               reg = <0x7e0000 0x10000>;
+                                               label = "firmware";
+                                               reg = <0x20000 0x7d0000>;
                                        };
 
                                        partition@7f0000 {
-                                               label = "misc_cfg";
+                                               label = "uboot-env";
                                                reg = <0x7f0000 0x10000>;
                                        };
                                };
                poll-interval = <100>;
                reset {
                        label = "reset";
-                       gpios = <&gpio 6 1>;
-                       linux,code = <0x198>;
+                       gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
 
                power_red: power2 {
                        label = "vg3503j:red:power";
-                       gpios = <&gpio 14 1>;
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
                dsl: dsl {
                        label = "vg3503j:green:dsl";
-                       gpios = <&gpio 19 1>;
+                       gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                };
                power_green: power {
                        label = "vg3503j:green:power";
-                       gpios = <&gpio 28 1>;
+                       gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0>;
-               mac-address = [ 00 11 22 33 44 55 ];
+
                lantiq,switch;
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";