lantiq: xrx200: use vlan for ethernet wan port
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7510KW22.dtsi
index b8c5d883836be2bae2bf7faa940b819f1e90cb14..cb1707e1832aed39213632de8bc832e0902055bd 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";
        };
 
        aliases {
                led-wifi = &wifi;
        };
 
-       memory@0 {
-               reg = <0x0 0x4000000>;
+       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?
+               };
        };
 
-       cputemp@0 {
-               compatible = "lantiq,cputemp";
+       memory@0 {
+               reg = <0x0 0x4000000>;
        };
 
        fpi@10000000 {
                        gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
                };
 
-               pci@E105400 {
-                       status = "okay";
-                       lantiq,bus-clock = <33333333>;
-                       interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
-                       interrupt-map = <
-                               0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
-                               >;
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-                       req-mask = <0x1>;       /* GNT1 */
-               };
-
                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>;