lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
[openwrt.git] / target / linux / lantiq / dts / VGV7519.dtsi
index 86b5741..7a7fddb 100644 (file)
@@ -1,6 +1,9 @@
 /include/ "vr9.dtsi"
 
 / {
+
+    model = "VGV7519 - KPN Experiabox V8";
+
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
        };
                        reg = <0xE100B10 0xA0>;
 
                        state_default: pinmux {
-                               exin3 {
-                                       lantiq,groups = "exin3";
-                                       lantiq,function = "exin";
-                               };
                                stp {
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";
                                };
                                spi {
-                                       lantiq,groups = "spi", "spi_cs4";
+                                       lantiq,groups = "spi";
                                        lantiq,function = "spi";
                                };
                                mdio {
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
-                               pci {
-                                       lantiq,groups = "gnt1", "req1";
-                                       lantiq,function = "pci";
-                               };
-                               conf_out {
-                                       lantiq,pins = "io4", "io5", "io6", /* stp */
-                                                       "io21",
-                                                       "io33",
-                                                       "io7", "io44"; /* Internal ethernet phy leds */
-                                       lantiq,open-drain;
+                               gphy-leds_out {
+                                       lantiq,pins = "io7", "io44";
                                        lantiq,pull = <0>;
                                        lantiq,output = <1>;
                                };
-                               pcie-rst {
-                                       lantiq,pins = "io38";
+                               stp_out {
+                                       lantiq,pins = "io4", "io5", "io6";
+                                       lantiq,open-drain = <0>;
+                                       lantiq,output = <1>;
+                                       lantiq,pull = <0>;
+                               };
+                               pci-rst {
+                                       lantiq,pins = "io21";
+                                       lantiq,open-drain = <0>;
                                        lantiq,pull = <0>;
                                        lantiq,output = <1>;
                                };
-                               conf_in {
-                                       lantiq,pins = "io39"; /* exin3 */
-                                       lantiq,pull = <2>;
+                               gphy-leds {
+                                       lantiq,groups = "gphy0 led1", "gphy1 led0";
+                                       lantiq,function = "gphy";
+                                       lantiq,open-drain = <0>;
+                                       lantiq,pull = <0>;
+                                       lantiq,output = <1>;
                                };
                        };
                };
                };
 
                pci@E105400 {
+                       status = "okay";
                        #address-cells = <3>;
                        #size-cells = <2>;
                        #interrupt-cells = <1>;
-                       compatible = "lantiq,pci-xway1";
+                       compatible = "lantiq,pci-xway";
                        bus-range = <0x0 0x0>;
                        ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000   /* pci memory */
                                0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
                        lantiq,delay-lo = <0>; /* 0.0ns delay */
                        interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
                        interrupt-map = <
-                               0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
+                               0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30
                                >;
-                       gpios-reset = <&gpio 21 0>;
+                       gpio-reset = <&gpio 21 0>;
                        req-mask = <0x1>;       /* GNT1 */
                };
+
+               pcie@d900000 {
+                       status = "disabled";
+               };
        };
 
        gphy-xrx200 {
                compatible = "lantiq,phy-xrx200";
-               firmware = "lantiq/vr9_phy11g_a1x.bin";
+               firmware1 = "lantiq/vr9_phy11g_a1x.bin";        /*VR9 1.1*/
+               firmware2 = "lantiq/vr9_phy11g_a2x.bin";        /*VR9 1.2*/
                phys = [ 00 01 ];
        };
 
+       ralink_eep {
+               compatible = "ralink,eeprom";
+               ralink,eeprom = "RT2860.eeprom";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;