DTS updates for the ARV4518PW and ARV7518PW. These additions make the previous patch work in these boards, and adds switch reset gpio and removes vmmc relay gpio in the ARV4518PW because it is not present. Also changes phy-mode to mii, which is the right configuration.
Signed off by: David Fernández <papijunkm...@yahoo.com> Signed off by: Bruno Rodríguez <bruno.rodriguez.1...@gmail.com> Signed off by: José Vázquez Fernández <ppvazquez...@gmail.com> Index: target/linux/lantiq/dts/ARV4518PWR01.dts =================================================================== --- target/linux/lantiq/dts/ARV4518PWR01.dts (revisión: 40772) +++ target/linux/lantiq/dts/ARV4518PWR01.dts (copia de trabajo) @@ -75,6 +75,7 @@ 0 0x3f0016 0x6>; ath,mac-increment = <1>; ath,eep-swap; + ath,arv-ath5k-fix; }; }; @@ -100,11 +101,31 @@ lantiq,pull = <0>; lantiq,output = <1>; }; + pci_rst { + lantiq,pins = "io21"; + lantiq,pull = <2>; + lantiq,output = <1>; + }; + leds { + lantiq,pins = "io3", "io4", "io5", "io6", "io7", "io8", "io19"; + lantiq,output = <1>; + }; + keys { + lantiq,pins = "io28", "io30"; + lantiq,output = <0>; + lantiq,pull = <2>; + lantiq,open-drain = <1>; + }; + switch_rst { + lantiq,pins = "io13"; + lantiq,pull = <2>; + lantiq,output = <1>; + }; }; }; etop@E180000 { - phy-mode = "rmii"; + phy-mode = "mii"; }; ifxhcd@E101000 { @@ -121,9 +142,6 @@ }; -/* -#define ARV4518PW_SWITCH_RESET 13 -*/ gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -146,7 +164,7 @@ compatible = "gpio-leds"; power { label = "power"; - gpios = <&gpio 3 0>; + gpios = <&gpio 3 1>; }; dsl { label = "dsl"; @@ -189,4 +207,15 @@ gpios = <&gpiomm 3 1>; }; }; + + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + + switch { + gpio-export,name = "switch"; + gpio-export,output = <1>; + gpios = <&gpio 13 0>; + }; + }; }; Index: target/linux/lantiq/dts/ARV4518PWR01A.dts =================================================================== --- target/linux/lantiq/dts/ARV4518PWR01A.dts (revisión: 40772) +++ target/linux/lantiq/dts/ARV4518PWR01A.dts (copia de trabajo) @@ -75,6 +75,7 @@ 0 0x3f0016 0x6>; ath,mac-increment = <1>; ath,eep-swap; + ath,arv-ath5k-fix; }; }; @@ -100,11 +101,31 @@ lantiq,pull = <0>; lantiq,output = <1>; }; + pci_rst { + lantiq,pins = "io21"; + lantiq,pull = <2>; + lantiq,output = <1>; + }; + leds { + lantiq,pins = "io3", "io4", "io5", "io6", "io7", "io8", "io19"; + lantiq,output = <1>; + }; + keys { + lantiq,pins = "io28", "io30"; + lantiq,output = <0>; + lantiq,pull = <2>; + lantiq,open-drain = <1>; + }; + switch_rst { + lantiq,pins = "io13"; + lantiq,pull = <2>; + lantiq,output = <1>; + }; }; }; etop@E180000 { - phy-mode = "rmii"; + phy-mode = "mii"; }; ifxhcd@E101000 { @@ -121,9 +142,6 @@ }; -/* -#define ARV4518PW_SWITCH_RESET 13 -*/ gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -146,7 +164,7 @@ compatible = "gpio-leds"; power { label = "power"; - gpios = <&gpio 3 0>; + gpios = <&gpio 3 1>; }; dsl { label = "dsl"; @@ -189,4 +207,15 @@ gpios = <&gpiomm 3 1>; }; }; + + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + + switch { + gpio-export,name = "switch"; + gpio-export,output = <1>; + gpios = <&gpio 13 0>; + }; + }; }; Index: target/linux/lantiq/dts/ARV7518PW.dts =================================================================== --- target/linux/lantiq/dts/ARV7518PW.dts (revisión: 40772) +++ target/linux/lantiq/dts/ARV7518PW.dts (copia de trabajo) @@ -74,6 +74,7 @@ ath,mac-increment = <1>; ath,pci-slot = <14>; ath,eep-endian; + ath,arv-ath9k-fix; }; }; _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel