diff options
author | Kevin Schmidt <kevin.patrick.schmidt@googlemail.com> | 2018-11-02 23:50:25 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-11-26 12:30:33 +0100 |
commit | bce555b09b532137c447944b897f0f709560c6b1 (patch) | |
tree | 216ce26564ad01b2d53671f78de0929dcaac0e79 /target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts | |
parent | 879f2ef7c0720c49f0911a6a3a7f8fe4111c2acb (diff) | |
download | upstream-bce555b09b532137c447944b897f0f709560c6b1.tar.gz upstream-bce555b09b532137c447944b897f0f709560c6b1.tar.bz2 upstream-bce555b09b532137c447944b897f0f709560c6b1.zip |
lantiq: enable FXS ports on VR200v
Disables SMP support.
Add VR200 target to keep SMP on FXS-less device variant.
Signed-off-by: Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts new file mode 100644 index 0000000000..74f666ddfd --- /dev/null +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts @@ -0,0 +1,94 @@ +/dts-v1/; + +#include "VR200.dtsi" + +/ { + compatible = "tplink,vr200", "lantiq,xway", "lantiq,vr9"; + model = "TP-LINK Archer VR200"; + + chosen { + bootargs = "console=ttyLTQ0,115200"; + }; + + aliases { + led-boot = &power; + led-failsafe = &power; + led-running = &power; + led-upgrade = &power; + + led-dsl = &dsl; + led-internet = &internet; + led-wifi = &wlan5g; + + led-usb = &led_usb; + led-usb2 = &led_usb; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <100>; + reset { + label = "reset"; + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; + linux,code = <KEY_RESTART>; + }; + + wifi { + label = "wifi"; + gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; + linux,code = <KEY_RFKILL>; + linux,input-type = <EV_SW>; + }; + + wps { + label = "wps"; + gpios = <&gpio 2 GPIO_ACTIVE_LOW>; + linux,code = <KEY_WPS_BUTTON>; + }; + + led { + label = "led"; + gpios = <&gpio 39 GPIO_ACTIVE_LOW>; + linux,code = <KEY_LIGHTS_TOGGLE>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + power: power { + label = "vr200:blue:power"; + gpios = <&gpio 46 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + dsl: dsl { + label = "vr200:blue:dsl"; + gpios = <&gpio 4 GPIO_ACTIVE_LOW>; + }; + internet: internet { + label = "vr200:blue:internet"; + gpios = <&gpio 5 GPIO_ACTIVE_LOW>; + }; + led_usb: usb { + label = "vr200:blue:usb"; + gpios = <&gpio 25 GPIO_ACTIVE_LOW>; + }; + eth { + label = "vr200:blue:lan"; + gpios = <&gpio 40 GPIO_ACTIVE_LOW>; + }; + wlan { + label = "vr200:blue:wlan"; + gpios = <&gpio 24 GPIO_ACTIVE_LOW>; + }; + wlan5g: wifi { + label = "vr200:blue:wlan5g"; + gpios = <&gpio 20 GPIO_ACTIVE_LOW>; + }; + led_wps { + label = "vr200:blue:wps"; + gpios = <&gpio 44 GPIO_ACTIVE_LOW>; + }; + }; +}; |