X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FTDW8970.dts;h=006df1c3a8e610d9a2fac44bbdd1d90952f4a4c8;hp=0fcf8d8d2a6f4f833b2f3740e8eb8f8320121c70;hb=8b9d5c91fadfb5bd569ab0fa391d2c339bfe804a;hpb=034f41e48974cd622503c086b195a090dfae8576 diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts index 0fcf8d8d2a..006df1c3a8 100644 --- a/target/linux/lantiq/dts/TDW8970.dts +++ b/target/linux/lantiq/dts/TDW8970.dts @@ -6,7 +6,7 @@ model = "TDW8970 - TP-LINK TD-W8970"; chosen { - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit rootfstype=jffs2"; + bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; }; memory@0 { @@ -23,6 +23,13 @@ lantiq,groups = "mdio"; lantiq,function = "mdio"; }; + gphy-leds { + lantiq,groups = "gphy0 led1", "gphy1 led1"; + lantiq,function = "gphy"; + lantiq,pull = <2>; + lantiq,open-drain = <0>; + lantiq,output = <1>; + }; phy-rst { lantiq,pins = "io42"; lantiq,pull = <0>; @@ -198,14 +205,14 @@ wifi { label = "wifi"; gpios = <&gpio 9 0>; - linux,code = <0x101>; + linux,code = <0xf7>; linux,input-type = <5>; /* EV_SW */ }; wps { label = "wps"; gpios = <&gpio 39 1>; - linux,code = <0x102>; + linux,code = <0x211>; }; }; @@ -220,10 +227,6 @@ label = "internet"; gpios = <&gpio 5 0>; }; - lan3 { - label = "lan3"; - gpios = <&gpio 7 0>; - }; usb0 { label = "usb"; gpios = <&gpio 19 0>; @@ -236,9 +239,5 @@ label = "wps"; gpios = <&gpio 37 0>; }; - lan4 { - label = "lan4"; - gpios = <&gpio 45 0>; - }; }; };