aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d
diff options
context:
space:
mode:
authorAlberto Bursi <alberto.bursi@outlook.it>2017-02-06 11:40:52 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-11 21:16:28 +0100
commit4383c13aee8963ee93ca1950e7f0ea5a35309ab4 (patch)
tree08429fcda96d5beb22be21f7fa3380029155b0b7 /target/linux/kirkwood/base-files/etc/board.d
parentadd1dd00813ccccfe5f1ee8e6bf04db7822b9fd5 (diff)
downloadupstream-4383c13aee8963ee93ca1950e7f0ea5a35309ab4.tar.gz
upstream-4383c13aee8963ee93ca1950e7f0ea5a35309ab4.tar.bz2
upstream-4383c13aee8963ee93ca1950e7f0ea5a35309ab4.zip
kirkwood: add ZyXEL NSA325 device
This patch add ZyXEL NSA325 2-Bay Media Server The ZyXEL NSA325 device is a Kirkwood based NAS: - SoC: Marvell 88F6702 1600Mhz - SDRAM memory: 512MB DDR2 400Mhz - Gigabit ethernet: Marvell Alaska - Flash memory: 128MB - 1 Power button - 1 Power LED (blue) - 5 Status LED (green/red) - 1 Copy/Sync button - 1 Reset button - 2 SATA II ports (internal) - 2 USB 2.0 ports (back) - 1 USB 3.0 port (front) - Fan (fixed speed) - hardware watchdog in a mcu Basically a bigger, more powerful version of NSA310, installation is the same as they share the same flash layout. A notable difference is that there is a hardware watchdog in a mcu on the board, which is disabled by default in the LEDE u-boot. The watchdog is also disabled with a GPIO activation through raw register change when kwbooting or it would reset the board before the new uboot was transferred. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove dead code]
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/02_network2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds
index 4518fc4b64..e6da9fd49a 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -41,6 +41,9 @@ case "$board" in
"nsa310b")
ucidef_set_led_default "health" "health" "nsa310:green:sys" "1"
;;
+"nsa325")
+ ucidef_set_led_default "health" "health" "nsa325:green:sys" "1"
+ ;;
"sheevaplug" | \
"sheevaplug-esata")
ucidef_set_led_timer "health" "health" "sheevaplug:blue:health" "200" "800"
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network
index b5406b0e37..b82086ec3e 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/target/linux/kirkwood/base-files/etc/board.d/02_network
@@ -30,7 +30,7 @@ case "$board" in
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
;;
-"nsa310b")
+"nsa310b"|"nsa325")
ucidef_set_interface_lan "eth0" "dhcp"
ucidef_set_interface_macaddr "lan" $( mtd_get_mac_ascii uboot_env ethaddr )
;;