lantiq: specify console using stdout-path instead of cmdline argument
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7519.dtsi
index 31b429ba0228bf2bc932fb5be9852367797781b9..2826dc2c47f9c32d88ede1fdf5434fe413bea525 100644 (file)
@@ -1,11 +1,10 @@
 #include "vr9.dtsi"
 
-/ {
-
-       model = "VGV7519 - KPN Experiabox V8";
+#include <dt-bindings/input/input.h>
 
+/ {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
        };
 
        aliases {
                led-wifi = &wireless_green;
        };
 
+       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 32 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 = "RT2860.eeprom";
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                eco {
                        label = "eco";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_RFKILL>;
+                       linux,code = <BTN_0>;
                };
                rfkill {
                        label = "rfkill";
        };
 };
 
+&pci0 {
+       status = "okay";
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+
+       wifi@1814,3091 {
+               compatible = "pci1814,3091";
+               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";
                #size-cells = <0>;
                reg = <0>;
                mtd-mac-address = <&boardconfig 0x16>;
+               mtd-mac-address-increment = <1>;
                lantiq,switch;
 
                ethernet@0 {
                #size-cells = <0>;
                reg = <1>;
                mtd-mac-address = <&boardconfig 0x16>;
-               mtd-mac-address-increment = <2>;
                lantiq,wan;
 
                ethernet@5 {