From c3dc52e39ac83704b7a376d8d5610bdb91807e3f Mon Sep 17 00:00:00 2001 From: Ernst Spielmann Date: Thu, 16 Apr 2020 18:42:29 +0000 Subject: ramips: add support for Asus RT-N10P V3 / RT-N11P B1 / RT-N12 VP B1 Specifications: - MT7628NN @ 580 MHz - 32 MB RAM - 8 MB Flash - 5x 10/100 Mbps Ethernet (built-in switch) - 2.4 GHz WLAN - 2x external, non-detachable antennas (1x for RT-N10P V3) Flash instructions: 1. Set PC network interface to 192.168.1.75/24. 2. Connect PC to the router via LAN. 3. Turn router off, press and hold reset button, then turn it on. 4. Keep the button pressed till power led starts to blink. 5. Upload the firmware file via TFTP. (Any filename is accepted.) 6. Wait until the router reboots. Signed-off-by: Ernst Spielmann [fix node/property name for state_default] Signed-off-by: Adrian Schmutzler --- .../ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts (limited to 'target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts') diff --git a/target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts b/target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts new file mode 100644 index 0000000000..b6070d784f --- /dev/null +++ b/target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +#include "mt7628an_asus_rt-n1x.dtsi" + +/ { + compatible = "asus,rt-n12-vp-b1", "mediatek,mt7628an-soc"; + model = "Asus RT-N12 VP B1"; + + leds { + compatible = "gpio-leds"; + + led_power: power { + label = "rt-n12-vp-b1:green:power"; + gpios = <&gpio 37 GPIO_ACTIVE_LOW>; + }; + + wlan { + label = "rt-n12-vp-b1:green:wlan"; + gpios = <&gpio 44 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; + }; + + wan { + label = "rt-n12-vp-b1:green:wan"; + gpios = <&gpio 43 GPIO_ACTIVE_LOW>; + }; + + lan { + label = "rt-n12-vp-b1:green:lan"; + gpios = <&gpio 42 GPIO_ACTIVE_LOW>; + }; + }; +}; -- cgit v1.2.3