From d2c9b169b3a3c43e66648590a9d0f1a12becebcf Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Fri, 8 Jul 2016 15:03:00 +0200 Subject: ar71xx: add support for jjPlus JWAP230 jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 2x 10/100/1000 Mbps Ethernet - 128 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm - 3x MMCX connectors - power input: 802.3at PoE or wide range DC (36-57 V) - optional 802.3af PSE - 1x mini-PCIe connector with PCIe, USB buses and SIM slot - 1x mini-PCIe connector with PCIe bus - 1x USB type-A connector - 6x LED, 1x button (hardware reset) - RS232 (MAX3223) and (E)JTAG headers Default configuration: - WAN on eth1 (RJ45 near LEDs with PoE input) - LAN on eth0 (RJ45 near DC jack) - left top LED set to be status LED - all LEDs configurable form user space Flash instruction (do it under U-Boot, using RS232): 1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/base-files/etc/board.d/02_network | 6 ++++++ target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ 2 files changed, 9 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 0922550..667d228 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -411,6 +411,12 @@ gl-ar300) "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; +jwap230) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "5:wan" "6@eth1" + ;; + wpj342) ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:wan" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 08e5fd0..f517f9ba 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -158,6 +158,9 @@ get_status_led() { ja76pf2) status_led="jjplus:green:led1" ;; + jwap230) + status_led="jwap230:green:led1" + ;; ls-sr71) status_led="ubnt:green:d22" ;; -- cgit v1.1