X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FVR200v.dts;h=6eccc5bdd96f2b00e4462bd1d189b3a9e15337f4;hp=8715b89852a078d52a59d929c6125ba1be19aeba;hb=627a28eb09c0aa3471466850dfde6a063481a4f6;hpb=e07c80dfc881daed67c495d99885cc045f70d89a diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts index 8715b89852..6eccc5bdd9 100644 --- a/target/linux/lantiq/dts/VR200v.dts +++ b/target/linux/lantiq/dts/VR200v.dts @@ -1,12 +1,15 @@ /dts-v1/; -/include/ "vr9.dtsi" +#include "vr9.dtsi" + +#include / { - model = "VR200v - TP-LINK Archer VR200v"; + compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9"; + model = "TP-LINK Archer VR200v"; chosen { - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + bootargs = "console=ttyLTQ0,115200"; }; aliases { @@ -68,19 +71,24 @@ ifxhcd@E101000 { status = "okay"; - gpios = <&gpio 33 0>; + gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; lantiq,portmask = <0x3>; }; ifxhcd@E106000 { status = "okay"; - gpios = <&gpio 33 0>; + gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; + }; + + pci0: pci@E105400 { + status = "okay"; + gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; }; }; gphy-xrx200 { compatible = "lantiq,phy-xrx200"; - firmware = "lantiq/vr9_phy11g_a2x.bin"; + firmware = "lantiq/xrx200_phy11g_a22.bin"; phys = [ 00 01 ]; }; @@ -91,27 +99,27 @@ poll-interval = <100>; reset { label = "reset"; - gpios = <&gpio 22 1>; - linux,code = <0x198>; + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; + linux,code = ; }; wifi { label = "wifi"; - gpios = <&gpio 0 0>; - linux,code = <0xf7>; - linux,input-type = <5>; /* EV_SW */ + gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; + linux,code = ; + linux,input-type = ; }; wps { label = "wps"; - gpios = <&gpio 2 1>; - linux,code = <0x211>; + gpios = <&gpio 2 GPIO_ACTIVE_LOW>; + linux,code = ; }; dect_paging { label = "dect_paging"; - gpios = <&gpio 39 1>; - linux,code = <0x211>; + gpios = <&gpio 39 GPIO_ACTIVE_LOW>; + linux,code = ; }; }; @@ -119,35 +127,35 @@ compatible = "gpio-leds"; power: power { label = "vr200v:blue:power"; - gpios = <&gpio 46 1>; + gpios = <&gpio 46 GPIO_ACTIVE_LOW>; }; dsl: dsl { label = "vr200v:blue:dsl"; - gpios = <&gpio 4 1>; + gpios = <&gpio 4 GPIO_ACTIVE_LOW>; }; internet: internet { label = "vr200v:blue:internet"; - gpios = <&gpio 5 1>; + gpios = <&gpio 5 GPIO_ACTIVE_LOW>; }; usb: usb { label = "vr200v:blue:usb"; - gpios = <&gpio 25 1>; + gpios = <&gpio 25 GPIO_ACTIVE_LOW>; }; eth { label = "vr200v:blue:lan"; - gpios = <&gpio 40 1>; + gpios = <&gpio 40 GPIO_ACTIVE_LOW>; }; wlan { label = "vr200v:blue:wlan"; - gpios = <&gpio 24 1>; + gpios = <&gpio 24 GPIO_ACTIVE_LOW>; }; wlan5g { label = "vr200v:blue:wlan5g"; - gpios = <&gpio 20 1>; + gpios = <&gpio 20 GPIO_ACTIVE_LOW>; }; phone { label = "vr200v:blue:phone"; - gpios = <&gpio 44 1>; + gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; }; }; @@ -229,7 +237,7 @@ reg = <0>; phy-mode = "rgmii"; phy-handle = <&phy0>; - // gpios = <&gpio 42 1>; + // gpios = <&gpio 42 GPIO_ACTIVE_LOW>; }; ethernet@5 { compatible = "lantiq,xrx200-pdi-port";