lantiq: xrx200: use vlan for ethernet wan port
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7510KW22.dtsi
index 181e852dee14565d9c0a994c76d0ac65596fbaa6..73240bf2bc3690d5dfe2984e082dd9889507a07a 100644 (file)
@@ -1,10 +1,10 @@
 #include "vr9.dtsi"
 
-/ {
-       model = "VGV7510KW22 - o2 Box 6431";
+#include <dt-bindings/input/input.h>
 
+/ {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
        };
 
        aliases {
                led-wifi = &wifi;
        };
 
+       sram@1F000000 {
+               vmmc@107000 {
+                       status = "okay";
+                       gpios = <&gpio 30 GPIO_ACTIVE_HIGH  //fxs relay
+                                        &gpio 31 GPIO_ACTIVE_HIGH  //still unknown
+                                        &gpio 3  GPIO_ACTIVE_HIGH>; //reset_slic?
+               };
+       };
+
        memory@0 {
                reg = <0x0 0x4000000>;
        };
                        gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
                };
 
-               pci@E105400 {
-                       status = "okay";
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-               };
-
                pcie@d900000 {
                        status = "disabled";
                };
                phys = [ 00 01 ];
        };
 
-       ralink_eep {
-               compatible = "ralink,eeprom";
-               ralink,eeprom = "RT3062.eeprom";
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
        };
 };
 
+&pci0 {
+       status = "okay";
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+
+       wifi@1814,3592 {
+               compatible = "pci1814,3592";
+               reg = <0x7000 0 0 0 0>;
+               ralink,mtd-eeprom = <&boardconfig 0x410>;
+               ralink,mtd-eeprom-swap;
+               mtd-mac-address = <&boardconfig 0x16>;
+               mtd-mac-address-increment = <1>;
+       };
+};
+
 &eth0 {
        lan: interface@0 {
                compatible = "lantiq,xrx200-pdi";
                mtd-mac-address = <&boardconfig 0x16>;
                lantiq,switch;
 
+               ethernet@0 {
+                       compatible = "lantiq,xrx200-pdi-port";
+                       reg = <0>;
+                       phy-mode = "mii";
+                       phy-handle = <&phy1>;
+               };
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <2>;
                };
        };
 
-       wan: interface@1 {
-               compatible = "lantiq,xrx200-pdi";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <1>;
-               mtd-mac-address = <&boardconfig 0x16>;
-               mtd-mac-address-increment = <2>;
-               lantiq,wan;
-
-               ethernet@0 {
-                       compatible = "lantiq,xrx200-pdi-port";
-                       reg = <0>;
-                       phy-mode = "mii";
-                       phy-handle = <&phy1>;
-               };
-       };
-
        mdio@0 {
                #address-cells = <1>;
                #size-cells = <0>;