X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FVGV7510KW22.dtsi;h=cb1707e1832aed39213632de8bc832e0902055bd;hb=254bf7961e57f65bad849dbab4b135d2a73b1f9b;hp=b8c5d883836be2bae2bf7faa940b819f1e90cb14;hpb=eba84bee4ce518dc509fe51f252c5307dccf3a1c;p=openwrt%2Fopenwrt.git diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi index b8c5d88383..cb1707e183 100644 --- a/target/linux/lantiq/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi @@ -1,10 +1,10 @@ #include "vr9.dtsi" -/ { - model = "VGV7510KW22 - o2 Box 6431"; +#include +/ { 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 { @@ -17,12 +17,17 @@ 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 { @@ -79,17 +84,6 @@ 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"; }; @@ -102,11 +96,6 @@ phys = [ 00 01 ]; }; - ralink_eep { - compatible = "ralink,eeprom"; - ralink,eeprom = "RT3062.eeprom"; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -177,6 +166,20 @@ }; }; +&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>; + }; +}; + ð0 { lan: interface@0 { compatible = "lantiq,xrx200-pdi"; @@ -186,6 +189,12 @@ 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>; @@ -212,23 +221,6 @@ }; }; - 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>;