aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2016-06-16 18:08:03 +0200
committerJo-Philipp Wich <jo@mein.io>2016-07-13 20:03:10 +0200
commite767980eb897fbefc320f97b65944ce690ed1726 (patch)
treece2c26804d1b36d2b878d242b56b04666e5a2e69 /target/linux/ar71xx/base-files/etc/board.d
parent3c6b091b65da47286ba4fc81d409023bdcf42629 (diff)
downloadupstream-e767980eb897fbefc320f97b65944ce690ed1726.tar.gz
upstream-e767980eb897fbefc320f97b65944ce690ed1726.tar.bz2
upstream-e767980eb897fbefc320f97b65944ce690ed1726.zip
ar71xx: add support for Wallys DR531
Wallys DR531 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 550/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet - 64 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm - 2x MMCX connectors - mini-PCIe connector with PCIe/USB buses and SIM slot - 7x LED, 1x button, 1x optional buzzer - UART, (E)JTAG and LED headers Default configuration: - WAN on eth1 (RJ45 near DC jack) - LAN on eth0 (RJ45 near button) - S4 LED set to be status LED - all LEDs configurable form user space - button configured for reset Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-dr531-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 <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 6936b8c873..77bed5b73e 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -156,6 +156,11 @@ db120)
ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
;;
+dr531)
+ ucidef_set_led_netdev "lan" "LAN" "dr531:green:lan" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "dr531:green:wan" "eth1"
+ ;;
+
dragino2)
ucidef_set_led_wlan "wlan" "WLAN" "dragino2:red:wlan" "phy0tpt"
ucidef_set_led_netdev "lan" "LAN" "dragino2:red:lan" "eth0"
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 1ed593cc55..0922550017 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -426,6 +426,7 @@ unifiac-pro)
"0@eth0" "2:lan" "3:wan"
;;
+dr531 |\
wpj531)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;