aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-11-10 23:13:09 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-11-10 23:13:09 +0000
commitfa137d51f5cbc678922950a6b06883c1d2141ac2 (patch)
tree410f5ff10ecb345af68628cf3e09703b624ea41e /target/linux/ar71xx/base-files/etc
parent1bfbf2de6df94a5e62f690bec9999702e3ad4c81 (diff)
downloadupstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.tar.gz
upstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.tar.bz2
upstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.zip
ar71xx: add Arduino Yun
This is based on patches from Federico Fissore <f.fissore@arduino.cc> especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47451
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network1
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 1db6ad0482..39f472a5bb 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -43,6 +43,11 @@ antminer-s3)
ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
;;
+arduino-yun)
+ ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
+ ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1"
+ ;;
+
ap113)
ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 2cba1558a6..2765adb112 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -388,6 +388,7 @@ wp543)
ucidef_set_interface_lan "eth0"
;;
+arduino-yun | \
dir-505-a1)
ucidef_set_interface_lan "eth1"
;;