aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
diff options
context:
space:
mode:
authorDavy Hollevoet <github@natox.be>2020-06-22 14:45:14 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-06 16:56:07 +0200
commit394f54ee6201542cf0a69d307b13ffda233dd87a (patch)
tree87b6e91a8534f49ef661d51c50790a9a80f9e816 /target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
parenta673ac66fa52693410c2d97c9ad6ec9d628d6d8a (diff)
downloadupstream-394f54ee6201542cf0a69d307b13ffda233dd87a.tar.gz
upstream-394f54ee6201542cf0a69d307b13ffda233dd87a.tar.bz2
upstream-394f54ee6201542cf0a69d307b13ffda233dd87a.zip
ath79/nand: add support for Netgear WNDR4300TN
This patch adds support for the WNDR4300TN, marketed by Belgian ISP Telenet. The hardware is the same as the WNDR4300 v1, without the fifth ethernet port (WAN) and the USB port. The circuit board has the traces, but the components are missing. Specifications: * SoC: Atheros AR9344 * RAM: 128 MB * Flash: 128 MB NAND flash * WiFi: Atheros AR9580 (5 GHz) and AR9344 (2.4 GHz) * Ethernet: 4x 1000Base-T * LED: Power, LAN, WiFi 2.4GHz, WiFi 5GHz, WPS * UART: on board, to the right of the RF shield at the top of the board Installation: * Flashing through the OEM web interface: + Connect your computer to the router with an ethernet cable and browse to http://192.168.0.51/ + Log in with the default credentials are admin:password + Browse to Advanced > Administration > Firmware Upgrade in the Telenet interface + Upload the Openwrt firmware: openwrt-ath79-nand-netgear_wndr4300tn-squashfs-factory.img + Proceed with the firmware installation and give the device a few minutes to finish and reboot. * Flashing through TFTP: + Configure your wired client with a static IP in the 192.168.1.x range, e.g. 192.168.1.10 and netmask 255.255.255.0. + Power off the router. + Press and hold the RESET button (the factory reset button on the bottom of the device, with the gray circle around it, next to the Telenet logo) and turn the router on while keeping the button pressed. + The power LED will start flashing orange. You can release the button once it switches to flashing green. + Transfer the image over TFTP: $ tftp 192.168.1.1 -m binary -c put openwrt-ath79-nand-netgear_wndr4300tn-squashfs-factory.img Signed-off-by: Davy Hollevoet <github@natox.be> [use DT label reference for adding LEDs in DTSI files] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9344_netgear_wndr.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9344_netgear_wndr.dtsi41
1 files changed, 1 insertions, 40 deletions
diff --git a/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi b/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
index 90978fb99f..f2909061da 100644
--- a/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
@@ -40,7 +40,7 @@
};
};
- leds {
+ leds: leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -57,16 +57,6 @@
default-state = "keep";
};
- wan_green {
- label = "netgear:green:wan";
- gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- };
-
- wan_amber {
- label = "netgear:amber:wan";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
wlan2g_green {
label = "netgear:green:wlan2g";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
@@ -88,13 +78,6 @@
label = "netgear:amber:wps";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
-
- usb_green {
- label = "netgear:green:usb";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- trigger-sources = <&hub_port>;
- linux,default-trigger = "usbport";
- };
};
ubi-concat {
@@ -272,28 +255,6 @@
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
-
- usb_power {
- gpio-hog;
- line-name = "netgear:power:usb";
- gpios = <0 GPIO_ACTIVE_HIGH>;
- output-high;
- };
- };
-};
-
-&usb_phy {
- status = "okay";
-};
-
-&usb {
- status = "okay";
- #address-cells = <1>;
- #size-cells = <0>;
-
- hub_port: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
};
};