diff options
author | Olof Johansson <olof@lixom.net> | 2013-04-18 01:34:14 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-18 01:34:22 -0400 |
commit | 392f9195646cf3bf3950537040eee04eea827c24 (patch) | |
tree | 4b934a75be7e019ca58fb4293fe774817acce726 | |
parent | e1b1655a58cc719992aa17b2527f83146954fc0f (diff) | |
parent | d3dde4df4483cefc614317a2ae550b20ef29f58c (diff) |
Merge tag 'boards-3.10' of git://git.infradead.org/users/jcooper/linux into next/boards
From Jason Cooper:
mvebu boards for v3.10
- kirkwood
- Netgear ReadyNAS Duo v2
- add guruplug dt to defconfig
- Lacie Cloudbox
* tag 'boards-3.10' of git://git.infradead.org/users/jcooper/linux:
ARM: Kirkwood: update Network Space Mini v2 description
ARM: Kirkwood: DT board setup for CloudBox
ARM: Kirkwood: sort board entries by ASCII-code order
ARM: kirkwood: add MACH_GURUPLUG_DT to defconfig
ARM: kirkwood: Add support for NETGEAR ReadyNAS Duo v2 using DT
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-cloudbox.dts | 89 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts | 180 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ns2mini.dts | 1 | ||||
-rw-r--r-- | arch/arm/configs/kirkwood_defconfig | 53 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/Kconfig | 334 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/Makefile | 42 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 18 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/board-ns2.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/board-readynas.c | 28 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/common.h | 12 |
11 files changed, 555 insertions, 209 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ee9fbe4d9912..c160215ab6d0 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -51,7 +51,8 @@ dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb \ | |||
51 | dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \ | 51 | dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \ |
52 | integratorcp.dtb | 52 | integratorcp.dtb |
53 | dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb | 53 | dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb |
54 | dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-dns320.dtb \ | 54 | dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \ |
55 | kirkwood-dns320.dtb \ | ||
55 | kirkwood-dns325.dtb \ | 56 | kirkwood-dns325.dtb \ |
56 | kirkwood-dockstar.dtb \ | 57 | kirkwood-dockstar.dtb \ |
57 | kirkwood-dreamplug.dtb \ | 58 | kirkwood-dreamplug.dtb \ |
@@ -65,6 +66,7 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-dns320.dtb \ | |||
65 | kirkwood-lschlv2.dtb \ | 66 | kirkwood-lschlv2.dtb \ |
66 | kirkwood-lsxhl.dtb \ | 67 | kirkwood-lsxhl.dtb \ |
67 | kirkwood-mplcec4.dtb \ | 68 | kirkwood-mplcec4.dtb \ |
69 | kirkwood-netgear_readynas_duo_v2.dtb \ | ||
68 | kirkwood-ns2.dtb \ | 70 | kirkwood-ns2.dtb \ |
69 | kirkwood-ns2lite.dtb \ | 71 | kirkwood-ns2lite.dtb \ |
70 | kirkwood-ns2max.dtb \ | 72 | kirkwood-ns2max.dtb \ |
diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts new file mode 100644 index 000000000000..5f21d4e427b0 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts | |||
@@ -0,0 +1,89 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "kirkwood.dtsi" | ||
4 | /include/ "kirkwood-6281.dtsi" | ||
5 | |||
6 | / { | ||
7 | model = "LaCie CloudBox"; | ||
8 | compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood"; | ||
9 | |||
10 | memory { | ||
11 | device_type = "memory"; | ||
12 | reg = <0x00000000 0x10000000>; | ||
13 | }; | ||
14 | |||
15 | chosen { | ||
16 | bootargs = "console=ttyS0,115200n8"; | ||
17 | }; | ||
18 | |||
19 | ocp@f1000000 { | ||
20 | pinctrl: pinctrl@10000 { | ||
21 | pinctrl-0 = < &pmx_spi &pmx_uart0 | ||
22 | &pmx_cloudbox_sata0 >; | ||
23 | pinctrl-names = "default"; | ||
24 | |||
25 | pmx_cloudbox_sata0: pmx-cloudbox-sata0 { | ||
26 | marvell,pins = "mpp15"; | ||
27 | marvell,function = "sata0"; | ||
28 | }; | ||
29 | }; | ||
30 | |||
31 | serial@12000 { | ||
32 | clock-frequency = <166666667>; | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | |||
36 | sata@80000 { | ||
37 | status = "okay"; | ||
38 | nr-ports = <1>; | ||
39 | }; | ||
40 | |||
41 | spi@10600 { | ||
42 | status = "okay"; | ||
43 | |||
44 | flash@0 { | ||
45 | #address-cells = <1>; | ||
46 | #size-cells = <1>; | ||
47 | compatible = "mx25l4005a"; | ||
48 | reg = <0>; | ||
49 | spi-max-frequency = <20000000>; | ||
50 | mode = <0>; | ||
51 | |||
52 | partition@0 { | ||
53 | reg = <0x0 0x80000>; | ||
54 | label = "u-boot"; | ||
55 | }; | ||
56 | }; | ||
57 | }; | ||
58 | }; | ||
59 | |||
60 | gpio_keys { | ||
61 | compatible = "gpio-keys"; | ||
62 | #address-cells = <1>; | ||
63 | #size-cells = <0>; | ||
64 | |||
65 | button@1 { | ||
66 | label = "Power push button"; | ||
67 | linux,code = <116>; | ||
68 | gpios = <&gpio0 16 1>; | ||
69 | }; | ||
70 | }; | ||
71 | |||
72 | gpio-leds { | ||
73 | compatible = "gpio-leds"; | ||
74 | |||
75 | red-fail { | ||
76 | label = "cloudbox:red:fail"; | ||
77 | gpios = <&gpio0 14 0>; | ||
78 | }; | ||
79 | blue-sata { | ||
80 | label = "cloudbox:blue:sata"; | ||
81 | gpios = <&gpio0 15 0>; | ||
82 | }; | ||
83 | }; | ||
84 | |||
85 | gpio_poweroff { | ||
86 | compatible = "gpio-poweroff"; | ||
87 | gpios = <&gpio0 17 0>; | ||
88 | }; | ||
89 | }; | ||
diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts new file mode 100644 index 000000000000..1ca66ab83ad6 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts | |||
@@ -0,0 +1,180 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "kirkwood.dtsi" | ||
4 | /include/ "kirkwood-6282.dtsi" | ||
5 | |||
6 | / { | ||
7 | model = "NETGEAR ReadyNAS Duo v2"; | ||
8 | compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,kirkwood"; | ||
9 | |||
10 | memory { /* 256 MB */ | ||
11 | device_type = "memory"; | ||
12 | reg = <0x00000000 0x10000000>; | ||
13 | }; | ||
14 | |||
15 | chosen { | ||
16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
17 | }; | ||
18 | |||
19 | ocp@f1000000 { | ||
20 | pinctrl: pinctrl@10000 { | ||
21 | |||
22 | pinctrl-0 = < &pmx_uart0 | ||
23 | &pmx_button_power | ||
24 | &pmx_button_backup | ||
25 | &pmx_button_reset | ||
26 | &pmx_led_blue_power | ||
27 | &pmx_led_blue_activity | ||
28 | &pmx_led_blue_disk1 | ||
29 | &pmx_led_blue_disk2 | ||
30 | &pmx_led_blue_backup >; | ||
31 | pinctrl-names = "default"; | ||
32 | |||
33 | pmx_button_power: pmx-button-power { | ||
34 | marvell,pins = "mpp47"; | ||
35 | marvell,function = "gpio"; | ||
36 | }; | ||
37 | pmx_button_backup: pmx-button-backup { | ||
38 | marvell,pins = "mpp45"; | ||
39 | marvell,function = "gpio"; | ||
40 | }; | ||
41 | pmx_button_reset: pmx-button-reset { | ||
42 | marvell,pins = "mpp13"; | ||
43 | marvell,function = "gpio"; | ||
44 | }; | ||
45 | pmx_led_blue_power: pmx-led-blue-power { | ||
46 | marvell,pins = "mpp31"; | ||
47 | marvell,function = "gpio"; | ||
48 | }; | ||
49 | pmx_led_blue_activity: pmx-led-blue-activity { | ||
50 | marvell,pins = "mpp38"; | ||
51 | marvell,function = "gpio"; | ||
52 | }; | ||
53 | pmx_led_blue_disk1: pmx-led-blue-disk1 { | ||
54 | marvell,pins = "mpp23"; | ||
55 | marvell,function = "gpio"; | ||
56 | }; | ||
57 | pmx_led_blue_disk2: pmx-led-blue-disk2 { | ||
58 | marvell,pins = "mpp22"; | ||
59 | marvell,function = "gpio"; | ||
60 | }; | ||
61 | pmx_led_blue_backup: pmx-led-blue-backup { | ||
62 | marvell,pins = "mpp29"; | ||
63 | marvell,function = "gpio"; | ||
64 | }; | ||
65 | }; | ||
66 | |||
67 | i2c@11000 { | ||
68 | status = "okay"; | ||
69 | |||
70 | rs5c372a: rs5c372a@32 { | ||
71 | compatible = "ricoh,rs5c372a"; | ||
72 | reg = <0x32>; | ||
73 | }; | ||
74 | }; | ||
75 | |||
76 | serial@12000 { | ||
77 | status = "okay"; | ||
78 | }; | ||
79 | |||
80 | nand@3000000 { | ||
81 | status = "okay"; | ||
82 | |||
83 | partition@0 { | ||
84 | label = "u-boot"; | ||
85 | reg = <0x0000000 0x180000>; | ||
86 | read-only; | ||
87 | }; | ||
88 | |||
89 | partition@180000 { | ||
90 | label = "u-boot-env"; | ||
91 | reg = <0x180000 0x20000>; | ||
92 | }; | ||
93 | |||
94 | partition@200000 { | ||
95 | label = "uImage"; | ||
96 | reg = <0x0200000 0x600000>; | ||
97 | }; | ||
98 | |||
99 | partition@800000 { | ||
100 | label = "minirootfs"; | ||
101 | reg = <0x0800000 0x1000000>; | ||
102 | }; | ||
103 | |||
104 | partition@1800000 { | ||
105 | label = "jffs2"; | ||
106 | reg = <0x1800000 0x6800000>; | ||
107 | }; | ||
108 | }; | ||
109 | |||
110 | sata@80000 { | ||
111 | status = "okay"; | ||
112 | nr-ports = <2>; | ||
113 | }; | ||
114 | }; | ||
115 | |||
116 | gpio-leds { | ||
117 | compatible = "gpio-leds"; | ||
118 | |||
119 | power_led { | ||
120 | label = "status:blue:power_led"; | ||
121 | gpios = <&gpio0 31 1>; /* GPIO 31 Active Low */ | ||
122 | linux,default-trigger = "default-on"; | ||
123 | }; | ||
124 | activity_led { | ||
125 | label = "status:blue:activity_led"; | ||
126 | gpios = <&gpio1 6 1>; /* GPIO 38 Active Low */ | ||
127 | }; | ||
128 | disk1_led { | ||
129 | label = "status:blue:disk1_led"; | ||
130 | gpios = <&gpio0 23 1>; /* GPIO 23 Active Low */ | ||
131 | }; | ||
132 | disk2_led { | ||
133 | label = "status:blue:disk2_led"; | ||
134 | gpios = <&gpio0 22 1>; /* GPIO 22 Active Low */ | ||
135 | }; | ||
136 | backup_led { | ||
137 | label = "status:blue:backup_led"; | ||
138 | gpios = <&gpio0 29 1>; /* GPIO 29 Active Low*/ | ||
139 | }; | ||
140 | }; | ||
141 | |||
142 | gpio_keys { | ||
143 | compatible = "gpio-keys"; | ||
144 | #address-cells = <1>; | ||
145 | #size-cells = <0>; | ||
146 | button@1 { | ||
147 | label = "Power Button"; | ||
148 | linux,code = <116>; /* KEY_POWER */ | ||
149 | gpios = <&gpio1 15 1>; | ||
150 | }; | ||
151 | button@2 { | ||
152 | label = "Reset Button"; | ||
153 | linux,code = <0x198>; /* KEY_RESTART */ | ||
154 | gpios = <&gpio0 13 1>; | ||
155 | }; | ||
156 | button@3 { | ||
157 | label = "Backup Button"; | ||
158 | linux,code = <133>; /* KEY_COPY */ | ||
159 | gpios = <&gpio1 13 1>; | ||
160 | }; | ||
161 | }; | ||
162 | |||
163 | regulators { | ||
164 | compatible = "simple-bus"; | ||
165 | #address-cells = <1>; | ||
166 | #size-cells = <0>; | ||
167 | |||
168 | usb_power: regulator@1 { | ||
169 | compatible = "regulator-fixed"; | ||
170 | reg = <1>; | ||
171 | regulator-name = "USB 3.0 Power"; | ||
172 | regulator-min-microvolt = <5000000>; | ||
173 | regulator-max-microvolt = <5000000>; | ||
174 | enable-active-high; | ||
175 | regulator-always-on; | ||
176 | regulator-boot-on; | ||
177 | gpio = <&gpio1 14 0>; | ||
178 | }; | ||
179 | }; | ||
180 | }; | ||
diff --git a/arch/arm/boot/dts/kirkwood-ns2mini.dts b/arch/arm/boot/dts/kirkwood-ns2mini.dts index b79f5eb25589..adab1ab25733 100644 --- a/arch/arm/boot/dts/kirkwood-ns2mini.dts +++ b/arch/arm/boot/dts/kirkwood-ns2mini.dts | |||
@@ -3,6 +3,7 @@ | |||
3 | /include/ "kirkwood-ns2-common.dtsi" | 3 | /include/ "kirkwood-ns2-common.dtsi" |
4 | 4 | ||
5 | / { | 5 | / { |
6 | /* This machine is embedded in the first LaCie CloudBox product. */ | ||
6 | model = "LaCie Network Space Mini v2"; | 7 | model = "LaCie Network Space Mini v2"; |
7 | compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; | 8 | compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; |
8 | 9 | ||
diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig index 13482ea58b09..7205a7a889a5 100644 --- a/arch/arm/configs/kirkwood_defconfig +++ b/arch/arm/configs/kirkwood_defconfig | |||
@@ -10,45 +10,48 @@ CONFIG_MODULES=y | |||
10 | CONFIG_MODULE_UNLOAD=y | 10 | CONFIG_MODULE_UNLOAD=y |
11 | # CONFIG_BLK_DEV_BSG is not set | 11 | # CONFIG_BLK_DEV_BSG is not set |
12 | CONFIG_ARCH_KIRKWOOD=y | 12 | CONFIG_ARCH_KIRKWOOD=y |
13 | CONFIG_MACH_D2NET_V2=y | ||
13 | CONFIG_MACH_DB88F6281_BP=y | 14 | CONFIG_MACH_DB88F6281_BP=y |
15 | CONFIG_MACH_DOCKSTAR=y | ||
16 | CONFIG_MACH_ESATA_SHEEVAPLUG=y | ||
17 | CONFIG_MACH_GURUPLUG=y | ||
18 | CONFIG_MACH_INETSPACE_V2=y | ||
19 | CONFIG_MACH_MV88F6281GTW_GE=y | ||
20 | CONFIG_MACH_NET2BIG_V2=y | ||
21 | CONFIG_MACH_NET5BIG_V2=y | ||
22 | CONFIG_MACH_NETSPACE_MAX_V2=y | ||
23 | CONFIG_MACH_NETSPACE_V2=y | ||
24 | CONFIG_MACH_OPENRD_BASE=y | ||
25 | CONFIG_MACH_OPENRD_CLIENT=y | ||
26 | CONFIG_MACH_OPENRD_ULTIMATE=y | ||
14 | CONFIG_MACH_RD88F6192_NAS=y | 27 | CONFIG_MACH_RD88F6192_NAS=y |
15 | CONFIG_MACH_RD88F6281=y | 28 | CONFIG_MACH_RD88F6281=y |
16 | CONFIG_MACH_MV88F6281GTW_GE=y | ||
17 | CONFIG_MACH_SHEEVAPLUG=y | 29 | CONFIG_MACH_SHEEVAPLUG=y |
18 | CONFIG_MACH_ESATA_SHEEVAPLUG=y | 30 | CONFIG_MACH_T5325=y |
19 | CONFIG_MACH_GURUPLUG=y | 31 | CONFIG_MACH_TS219=y |
20 | CONFIG_MACH_DREAMPLUG_DT=y | 32 | CONFIG_MACH_TS41X=y |
21 | CONFIG_MACH_ICONNECT_DT=y | 33 | CONFIG_MACH_CLOUDBOX_DT=y |
22 | CONFIG_MACH_DLINK_KIRKWOOD_DT=y | 34 | CONFIG_MACH_DLINK_KIRKWOOD_DT=y |
23 | CONFIG_MACH_IB62X0_DT=y | ||
24 | CONFIG_MACH_TS219_DT=y | ||
25 | CONFIG_MACH_DOCKSTAR_DT=y | 35 | CONFIG_MACH_DOCKSTAR_DT=y |
36 | CONFIG_MACH_DREAMPLUG_DT=y | ||
26 | CONFIG_MACH_GOFLEXNET_DT=y | 37 | CONFIG_MACH_GOFLEXNET_DT=y |
27 | CONFIG_MACH_LSXL_DT=y | 38 | CONFIG_MACH_GURUPLUG_DT=y |
39 | CONFIG_MACH_IB62X0_DT=y | ||
40 | CONFIG_MACH_ICONNECT_DT=y | ||
41 | CONFIG_MACH_INETSPACE_V2_DT=y | ||
28 | CONFIG_MACH_IOMEGA_IX2_200_DT=y | 42 | CONFIG_MACH_IOMEGA_IX2_200_DT=y |
29 | CONFIG_MACH_KM_KIRKWOOD_DT=y | 43 | CONFIG_MACH_KM_KIRKWOOD_DT=y |
30 | CONFIG_MACH_INETSPACE_V2_DT=y | 44 | CONFIG_MACH_LSXL_DT=y |
31 | CONFIG_MACH_MPLCEC4_DT=y | 45 | CONFIG_MACH_MPLCEC4_DT=y |
32 | CONFIG_MACH_NETSPACE_V2_DT=y | ||
33 | CONFIG_MACH_NETSPACE_MAX_V2_DT=y | ||
34 | CONFIG_MACH_NETSPACE_LITE_V2_DT=y | 46 | CONFIG_MACH_NETSPACE_LITE_V2_DT=y |
47 | CONFIG_MACH_NETSPACE_MAX_V2_DT=y | ||
35 | CONFIG_MACH_NETSPACE_MINI_V2_DT=y | 48 | CONFIG_MACH_NETSPACE_MINI_V2_DT=y |
49 | CONFIG_MACH_NETSPACE_V2_DT=y | ||
50 | CONFIG_MACH_NSA310_DT=y | ||
36 | CONFIG_MACH_OPENBLOCKS_A6_DT=y | 51 | CONFIG_MACH_OPENBLOCKS_A6_DT=y |
52 | CONFIG_MACH_READYNAS_DT=y | ||
37 | CONFIG_MACH_TOPKICK_DT=y | 53 | CONFIG_MACH_TOPKICK_DT=y |
38 | CONFIG_MACH_TS219=y | 54 | CONFIG_MACH_TS219_DT=y |
39 | CONFIG_MACH_TS41X=y | ||
40 | CONFIG_MACH_DOCKSTAR=y | ||
41 | CONFIG_MACH_OPENRD_BASE=y | ||
42 | CONFIG_MACH_OPENRD_CLIENT=y | ||
43 | CONFIG_MACH_OPENRD_ULTIMATE=y | ||
44 | CONFIG_MACH_NETSPACE_V2=y | ||
45 | CONFIG_MACH_INETSPACE_V2=y | ||
46 | CONFIG_MACH_NETSPACE_MAX_V2=y | ||
47 | CONFIG_MACH_D2NET_V2=y | ||
48 | CONFIG_MACH_NET2BIG_V2=y | ||
49 | CONFIG_MACH_NET5BIG_V2=y | ||
50 | CONFIG_MACH_T5325=y | ||
51 | CONFIG_MACH_NSA310_DT=y | ||
52 | # CONFIG_CPU_FEROCEON_OLD_ID is not set | 55 | # CONFIG_CPU_FEROCEON_OLD_ID is not set |
53 | CONFIG_PREEMPT=y | 56 | CONFIG_PREEMPT=y |
54 | CONFIG_AEABI=y | 57 | CONFIG_AEABI=y |
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig index 7b6a64bc5f40..7509a89af967 100644 --- a/arch/arm/mach-kirkwood/Kconfig +++ b/arch/arm/mach-kirkwood/Kconfig | |||
@@ -2,23 +2,41 @@ if ARCH_KIRKWOOD | |||
2 | 2 | ||
3 | menu "Marvell Kirkwood Implementations" | 3 | menu "Marvell Kirkwood Implementations" |
4 | 4 | ||
5 | config MACH_D2NET_V2 | ||
6 | bool "LaCie d2 Network v2 NAS Board" | ||
7 | help | ||
8 | Say 'Y' here if you want your kernel to support the | ||
9 | LaCie d2 Network v2 NAS. | ||
10 | |||
5 | config MACH_DB88F6281_BP | 11 | config MACH_DB88F6281_BP |
6 | bool "Marvell DB-88F6281-BP Development Board" | 12 | bool "Marvell DB-88F6281-BP Development Board" |
7 | help | 13 | help |
8 | Say 'Y' here if you want your kernel to support the | 14 | Say 'Y' here if you want your kernel to support the |
9 | Marvell DB-88F6281-BP Development Board. | 15 | Marvell DB-88F6281-BP Development Board. |
10 | 16 | ||
11 | config MACH_RD88F6192_NAS | 17 | config MACH_DOCKSTAR |
12 | bool "Marvell RD-88F6192-NAS Reference Board" | 18 | bool "Seagate FreeAgent DockStar" |
13 | help | 19 | help |
14 | Say 'Y' here if you want your kernel to support the | 20 | Say 'Y' here if you want your kernel to support the |
15 | Marvell RD-88F6192-NAS Reference Board. | 21 | Seagate FreeAgent DockStar. |
16 | 22 | ||
17 | config MACH_RD88F6281 | 23 | config MACH_ESATA_SHEEVAPLUG |
18 | bool "Marvell RD-88F6281 Reference Board" | 24 | bool "Marvell eSATA SheevaPlug Reference Board" |
19 | help | 25 | help |
20 | Say 'Y' here if you want your kernel to support the | 26 | Say 'Y' here if you want your kernel to support the |
21 | Marvell RD-88F6281 Reference Board. | 27 | Marvell eSATA SheevaPlug Reference Board. |
28 | |||
29 | config MACH_GURUPLUG | ||
30 | bool "Marvell GuruPlug Reference Board" | ||
31 | help | ||
32 | Say 'Y' here if you want your kernel to support the | ||
33 | Marvell GuruPlug Reference Board. | ||
34 | |||
35 | config MACH_INETSPACE_V2 | ||
36 | bool "LaCie Internet Space v2 NAS Board" | ||
37 | help | ||
38 | Say 'Y' here if you want your kernel to support the | ||
39 | LaCie Internet Space v2 NAS. | ||
22 | 40 | ||
23 | config MACH_MV88F6281GTW_GE | 41 | config MACH_MV88F6281GTW_GE |
24 | bool "Marvell 88F6281 GTW GE Board" | 42 | bool "Marvell 88F6281 GTW GE Board" |
@@ -26,23 +44,93 @@ config MACH_MV88F6281GTW_GE | |||
26 | Say 'Y' here if you want your kernel to support the | 44 | Say 'Y' here if you want your kernel to support the |
27 | Marvell 88F6281 GTW GE Board. | 45 | Marvell 88F6281 GTW GE Board. |
28 | 46 | ||
47 | config MACH_NET2BIG_V2 | ||
48 | bool "LaCie 2Big Network v2 NAS Board" | ||
49 | help | ||
50 | Say 'Y' here if you want your kernel to support the | ||
51 | LaCie 2Big Network v2 NAS. | ||
52 | |||
53 | config MACH_NET5BIG_V2 | ||
54 | bool "LaCie 5Big Network v2 NAS Board" | ||
55 | help | ||
56 | Say 'Y' here if you want your kernel to support the | ||
57 | LaCie 5Big Network v2 NAS. | ||
58 | |||
59 | config MACH_NETSPACE_MAX_V2 | ||
60 | bool "LaCie Network Space Max v2 NAS Board" | ||
61 | help | ||
62 | Say 'Y' here if you want your kernel to support the | ||
63 | LaCie Network Space Max v2 NAS. | ||
64 | |||
65 | config MACH_NETSPACE_V2 | ||
66 | bool "LaCie Network Space v2 NAS Board" | ||
67 | help | ||
68 | Say 'Y' here if you want your kernel to support the | ||
69 | LaCie Network Space v2 NAS. | ||
70 | |||
71 | config MACH_OPENRD | ||
72 | bool | ||
73 | |||
74 | config MACH_OPENRD_BASE | ||
75 | bool "Marvell OpenRD Base Board" | ||
76 | select MACH_OPENRD | ||
77 | help | ||
78 | Say 'Y' here if you want your kernel to support the | ||
79 | Marvell OpenRD Base Board. | ||
80 | |||
81 | config MACH_OPENRD_CLIENT | ||
82 | bool "Marvell OpenRD Client Board" | ||
83 | select MACH_OPENRD | ||
84 | help | ||
85 | Say 'Y' here if you want your kernel to support the | ||
86 | Marvell OpenRD Client Board. | ||
87 | |||
88 | config MACH_OPENRD_ULTIMATE | ||
89 | bool "Marvell OpenRD Ultimate Board" | ||
90 | select MACH_OPENRD | ||
91 | help | ||
92 | Say 'Y' here if you want your kernel to support the | ||
93 | Marvell OpenRD Ultimate Board. | ||
94 | |||
95 | config MACH_RD88F6192_NAS | ||
96 | bool "Marvell RD-88F6192-NAS Reference Board" | ||
97 | help | ||
98 | Say 'Y' here if you want your kernel to support the | ||
99 | Marvell RD-88F6192-NAS Reference Board. | ||
100 | |||
101 | config MACH_RD88F6281 | ||
102 | bool "Marvell RD-88F6281 Reference Board" | ||
103 | help | ||
104 | Say 'Y' here if you want your kernel to support the | ||
105 | Marvell RD-88F6281 Reference Board. | ||
106 | |||
29 | config MACH_SHEEVAPLUG | 107 | config MACH_SHEEVAPLUG |
30 | bool "Marvell SheevaPlug Reference Board" | 108 | bool "Marvell SheevaPlug Reference Board" |
31 | help | 109 | help |
32 | Say 'Y' here if you want your kernel to support the | 110 | Say 'Y' here if you want your kernel to support the |
33 | Marvell SheevaPlug Reference Board. | 111 | Marvell SheevaPlug Reference Board. |
34 | 112 | ||
35 | config MACH_ESATA_SHEEVAPLUG | 113 | config MACH_T5325 |
36 | bool "Marvell eSATA SheevaPlug Reference Board" | 114 | bool "HP t5325 Thin Client" |
37 | help | 115 | help |
38 | Say 'Y' here if you want your kernel to support the | 116 | Say 'Y' here if you want your kernel to support the |
39 | Marvell eSATA SheevaPlug Reference Board. | 117 | HP t5325 Thin Client. |
40 | 118 | ||
41 | config MACH_GURUPLUG | 119 | config MACH_TS219 |
42 | bool "Marvell GuruPlug Reference Board" | 120 | bool "QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS" |
43 | help | 121 | help |
44 | Say 'Y' here if you want your kernel to support the | 122 | Say 'Y' here if you want your kernel to support the |
45 | Marvell GuruPlug Reference Board. | 123 | QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and |
124 | TS-219P+ Turbo NAS devices. | ||
125 | |||
126 | config MACH_TS41X | ||
127 | bool "QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo NAS" | ||
128 | help | ||
129 | Say 'Y' here if you want your kernel to support the | ||
130 | QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo | ||
131 | NAS devices. | ||
132 | |||
133 | comment "Device tree entries" | ||
46 | 134 | ||
47 | config ARCH_KIRKWOOD_DT | 135 | config ARCH_KIRKWOOD_DT |
48 | bool "Marvell Kirkwood Flattened Device Tree" | 136 | bool "Marvell Kirkwood Flattened Device Tree" |
@@ -58,12 +146,27 @@ config ARCH_KIRKWOOD_DT | |||
58 | Say 'Y' here if you want your kernel to support the | 146 | Say 'Y' here if you want your kernel to support the |
59 | Marvell Kirkwood using flattened device tree. | 147 | Marvell Kirkwood using flattened device tree. |
60 | 148 | ||
61 | config MACH_GURUPLUG_DT | 149 | config MACH_CLOUDBOX_DT |
62 | bool "Marvell GuruPlug Reference Board (Flattened Device Tree)" | 150 | bool "LaCie CloudBox NAS (Flattened Device Tree)" |
151 | select ARCH_KIRKWOOD_DT | ||
152 | help | ||
153 | Say 'Y' here if you want your kernel to support the LaCie | ||
154 | CloudBox NAS, using Flattened Device Tree. | ||
155 | |||
156 | config MACH_DLINK_KIRKWOOD_DT | ||
157 | bool "D-Link Kirkwood-based NAS (Flattened Device Tree)" | ||
63 | select ARCH_KIRKWOOD_DT | 158 | select ARCH_KIRKWOOD_DT |
64 | help | 159 | help |
65 | Say 'Y' here if you want your kernel to support the | 160 | Say 'Y' here if you want your kernel to support the |
66 | Marvell GuruPlug Reference Board (Flattened Device Tree). | 161 | Kirkwood-based D-Link NASes such as DNS-320 & DNS-325, |
162 | using Flattened Device Tree. | ||
163 | |||
164 | config MACH_DOCKSTAR_DT | ||
165 | bool "Seagate FreeAgent Dockstar (Flattened Device Tree)" | ||
166 | select ARCH_KIRKWOOD_DT | ||
167 | help | ||
168 | Say 'Y' here if you want your kernel to support the | ||
169 | Seagate FreeAgent Dockstar (Flattened Device Tree). | ||
67 | 170 | ||
68 | config MACH_DREAMPLUG_DT | 171 | config MACH_DREAMPLUG_DT |
69 | bool "Marvell DreamPlug (Flattened Device Tree)" | 172 | bool "Marvell DreamPlug (Flattened Device Tree)" |
@@ -72,19 +175,19 @@ config MACH_DREAMPLUG_DT | |||
72 | Say 'Y' here if you want your kernel to support the | 175 | Say 'Y' here if you want your kernel to support the |
73 | Marvell DreamPlug (Flattened Device Tree). | 176 | Marvell DreamPlug (Flattened Device Tree). |
74 | 177 | ||
75 | config MACH_ICONNECT_DT | 178 | config MACH_GOFLEXNET_DT |
76 | bool "Iomega Iconnect (Flattened Device Tree)" | 179 | bool "Seagate GoFlex Net (Flattened Device Tree)" |
77 | select ARCH_KIRKWOOD_DT | 180 | select ARCH_KIRKWOOD_DT |
78 | help | 181 | help |
79 | Say 'Y' here to enable Iomega Iconnect support. | 182 | Say 'Y' here if you want your kernel to support the |
183 | Seagate GoFlex Net (Flattened Device Tree). | ||
80 | 184 | ||
81 | config MACH_DLINK_KIRKWOOD_DT | 185 | config MACH_GURUPLUG_DT |
82 | bool "D-Link Kirkwood-based NAS (Flattened Device Tree)" | 186 | bool "Marvell GuruPlug Reference Board (Flattened Device Tree)" |
83 | select ARCH_KIRKWOOD_DT | 187 | select ARCH_KIRKWOOD_DT |
84 | help | 188 | help |
85 | Say 'Y' here if you want your kernel to support the | 189 | Say 'Y' here if you want your kernel to support the |
86 | Kirkwood-based D-Link NASes such as DNS-320 & DNS-325, | 190 | Marvell GuruPlug Reference Board (Flattened Device Tree). |
87 | using Flattened Device Tree. | ||
88 | 191 | ||
89 | config MACH_IB62X0_DT | 192 | config MACH_IB62X0_DT |
90 | bool "RaidSonic IB-NAS6210, IB-NAS6220 (Flattened Device Tree)" | 193 | bool "RaidSonic IB-NAS6210, IB-NAS6220 (Flattened Device Tree)" |
@@ -94,41 +197,18 @@ config MACH_IB62X0_DT | |||
94 | RaidSonic IB-NAS6210 & IB-NAS6220 devices, using | 197 | RaidSonic IB-NAS6210 & IB-NAS6220 devices, using |
95 | Flattened Device Tree. | 198 | Flattened Device Tree. |
96 | 199 | ||
97 | config MACH_TS219_DT | 200 | config MACH_ICONNECT_DT |
98 | bool "Device Tree for QNAP TS-11X, TS-21X NAS" | 201 | bool "Iomega Iconnect (Flattened Device Tree)" |
99 | select ARCH_KIRKWOOD_DT | ||
100 | select ARM_APPENDED_DTB | ||
101 | select ARM_ATAG_DTB_COMPAT | ||
102 | help | ||
103 | Say 'Y' here if you want your kernel to support the QNAP | ||
104 | TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and | ||
105 | TS-219P+ Turbo NAS devices using Fattened Device Tree. | ||
106 | There are two different Device Tree descriptions, depending | ||
107 | on if the device is based on an if the board uses the MV6281 | ||
108 | or MV6282. If you have the wrong one, the buttons will not | ||
109 | work. | ||
110 | |||
111 | config MACH_DOCKSTAR_DT | ||
112 | bool "Seagate FreeAgent Dockstar (Flattened Device Tree)" | ||
113 | select ARCH_KIRKWOOD_DT | ||
114 | help | ||
115 | Say 'Y' here if you want your kernel to support the | ||
116 | Seagate FreeAgent Dockstar (Flattened Device Tree). | ||
117 | |||
118 | config MACH_GOFLEXNET_DT | ||
119 | bool "Seagate GoFlex Net (Flattened Device Tree)" | ||
120 | select ARCH_KIRKWOOD_DT | 202 | select ARCH_KIRKWOOD_DT |
121 | help | 203 | help |
122 | Say 'Y' here if you want your kernel to support the | 204 | Say 'Y' here to enable Iomega Iconnect support. |
123 | Seagate GoFlex Net (Flattened Device Tree). | ||
124 | 205 | ||
125 | config MACH_LSXL_DT | 206 | config MACH_INETSPACE_V2_DT |
126 | bool "Buffalo Linkstation LS-XHL, LS-CHLv2 (Flattened Device Tree)" | 207 | bool "LaCie Internet Space v2 NAS (Flattened Device Tree)" |
127 | select ARCH_KIRKWOOD_DT | 208 | select ARCH_KIRKWOOD_DT |
128 | help | 209 | help |
129 | Say 'Y' here if you want your kernel to support the | 210 | Say 'Y' here if you want your kernel to support the LaCie |
130 | Buffalo Linkstation LS-XHL & LS-CHLv2 devices, using | 211 | Internet Space v2 NAS, using Flattened Device Tree. |
131 | Flattened Device Tree. | ||
132 | 212 | ||
133 | config MACH_IOMEGA_IX2_200_DT | 213 | config MACH_IOMEGA_IX2_200_DT |
134 | bool "Iomega StorCenter ix2-200 (Flattened Device Tree)" | 214 | bool "Iomega StorCenter ix2-200 (Flattened Device Tree)" |
@@ -144,12 +224,13 @@ config MACH_KM_KIRKWOOD_DT | |||
144 | Say 'Y' here if you want your kernel to support the | 224 | Say 'Y' here if you want your kernel to support the |
145 | Keymile Kirkwood Reference Desgin, using Flattened Device Tree. | 225 | Keymile Kirkwood Reference Desgin, using Flattened Device Tree. |
146 | 226 | ||
147 | config MACH_INETSPACE_V2_DT | 227 | config MACH_LSXL_DT |
148 | bool "LaCie Internet Space v2 NAS (Flattened Device Tree)" | 228 | bool "Buffalo Linkstation LS-XHL, LS-CHLv2 (Flattened Device Tree)" |
149 | select ARCH_KIRKWOOD_DT | 229 | select ARCH_KIRKWOOD_DT |
150 | help | 230 | help |
151 | Say 'Y' here if you want your kernel to support the LaCie | 231 | Say 'Y' here if you want your kernel to support the |
152 | Internet Space v2 NAS, using Flattened Device Tree. | 232 | Buffalo Linkstation LS-XHL & LS-CHLv2 devices, using |
233 | Flattened Device Tree. | ||
153 | 234 | ||
154 | config MACH_MPLCEC4_DT | 235 | config MACH_MPLCEC4_DT |
155 | bool "MPL CEC4 (Flattened Device Tree)" | 236 | bool "MPL CEC4 (Flattened Device Tree)" |
@@ -158,12 +239,12 @@ config MACH_MPLCEC4_DT | |||
158 | Say 'Y' here if you want your kernel to support the | 239 | Say 'Y' here if you want your kernel to support the |
159 | MPL CEC4 (Flattened Device Tree). | 240 | MPL CEC4 (Flattened Device Tree). |
160 | 241 | ||
161 | config MACH_NETSPACE_V2_DT | 242 | config MACH_NETSPACE_LITE_V2_DT |
162 | bool "LaCie Network Space v2 NAS (Flattened Device Tree)" | 243 | bool "LaCie Network Space Lite v2 NAS (Flattened Device Tree)" |
163 | select ARCH_KIRKWOOD_DT | 244 | select ARCH_KIRKWOOD_DT |
164 | help | 245 | help |
165 | Say 'Y' here if you want your kernel to support the LaCie | 246 | Say 'Y' here if you want your kernel to support the LaCie |
166 | Network Space v2 NAS, using Flattened Device Tree. | 247 | Network Space Lite v2 NAS, using Flattened Device Tree. |
167 | 248 | ||
168 | config MACH_NETSPACE_MAX_V2_DT | 249 | config MACH_NETSPACE_MAX_V2_DT |
169 | bool "LaCie Network Space Max v2 NAS (Flattened Device Tree)" | 250 | bool "LaCie Network Space Max v2 NAS (Flattened Device Tree)" |
@@ -172,128 +253,69 @@ config MACH_NETSPACE_MAX_V2_DT | |||
172 | Say 'Y' here if you want your kernel to support the LaCie | 253 | Say 'Y' here if you want your kernel to support the LaCie |
173 | Network Space Max v2 NAS, using Flattened Device Tree. | 254 | Network Space Max v2 NAS, using Flattened Device Tree. |
174 | 255 | ||
175 | config MACH_NETSPACE_LITE_V2_DT | ||
176 | bool "LaCie Network Space Lite v2 NAS (Flattened Device Tree)" | ||
177 | select ARCH_KIRKWOOD_DT | ||
178 | help | ||
179 | Say 'Y' here if you want your kernel to support the LaCie | ||
180 | Network Space Lite v2 NAS, using Flattened Device Tree. | ||
181 | |||
182 | config MACH_NETSPACE_MINI_V2_DT | 256 | config MACH_NETSPACE_MINI_V2_DT |
183 | bool "LaCie Network Space Mini v2 NAS (Flattened Device Tree)" | 257 | bool "LaCie Network Space Mini v2 NAS (Flattened Device Tree)" |
184 | select ARCH_KIRKWOOD_DT | 258 | select ARCH_KIRKWOOD_DT |
185 | help | 259 | help |
186 | Say 'Y' here if you want your kernel to support the LaCie | 260 | Say 'Y' here if you want your kernel to support the LaCie |
187 | Network Space Mini v2 NAS (aka SafeBox), using Flattened | 261 | Network Space Mini v2 NAS using Flattened Device Tree. |
188 | Device Tree. | ||
189 | 262 | ||
190 | config MACH_OPENBLOCKS_A6_DT | 263 | This board is embedded in a product named CloudBox, which |
191 | bool "Plat'Home OpenBlocks A6 (Flattened Device Tree)" | 264 | provides automatic backup on a 100GB cloud storage. This |
192 | select ARCH_KIRKWOOD_DT | 265 | should not confused with a more recent LaCie NAS also named |
193 | help | 266 | CloudBox. For this last, the disk capacity is 1TB or above. |
194 | Say 'Y' here if you want your kernel to support the | ||
195 | Plat'Home OpenBlocks A6 (Flattened Device Tree). | ||
196 | 267 | ||
197 | config MACH_TOPKICK_DT | 268 | config MACH_NETSPACE_V2_DT |
198 | bool "USI Topkick (Flattened Device Tree)" | 269 | bool "LaCie Network Space v2 NAS (Flattened Device Tree)" |
199 | select ARCH_KIRKWOOD_DT | 270 | select ARCH_KIRKWOOD_DT |
200 | help | 271 | help |
201 | Say 'Y' here if you want your kernel to support the | 272 | Say 'Y' here if you want your kernel to support the LaCie |
202 | USI Topkick, using Flattened Device Tree | 273 | Network Space v2 NAS, using Flattened Device Tree. |
203 | |||
204 | config MACH_TS219 | ||
205 | bool "QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and TS-219P+ Turbo NAS" | ||
206 | help | ||
207 | Say 'Y' here if you want your kernel to support the | ||
208 | QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and | ||
209 | TS-219P+ Turbo NAS devices. | ||
210 | |||
211 | config MACH_TS41X | ||
212 | bool "QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo NAS" | ||
213 | help | ||
214 | Say 'Y' here if you want your kernel to support the | ||
215 | QNAP TS-410, TS-410U, TS-419P, TS-419P+ and TS-419U Turbo | ||
216 | NAS devices. | ||
217 | |||
218 | config MACH_DOCKSTAR | ||
219 | bool "Seagate FreeAgent DockStar" | ||
220 | help | ||
221 | Say 'Y' here if you want your kernel to support the | ||
222 | Seagate FreeAgent DockStar. | ||
223 | |||
224 | config MACH_OPENRD | ||
225 | bool | ||
226 | |||
227 | config MACH_OPENRD_BASE | ||
228 | bool "Marvell OpenRD Base Board" | ||
229 | select MACH_OPENRD | ||
230 | help | ||
231 | Say 'Y' here if you want your kernel to support the | ||
232 | Marvell OpenRD Base Board. | ||
233 | |||
234 | config MACH_OPENRD_CLIENT | ||
235 | bool "Marvell OpenRD Client Board" | ||
236 | select MACH_OPENRD | ||
237 | help | ||
238 | Say 'Y' here if you want your kernel to support the | ||
239 | Marvell OpenRD Client Board. | ||
240 | |||
241 | config MACH_OPENRD_ULTIMATE | ||
242 | bool "Marvell OpenRD Ultimate Board" | ||
243 | select MACH_OPENRD | ||
244 | help | ||
245 | Say 'Y' here if you want your kernel to support the | ||
246 | Marvell OpenRD Ultimate Board. | ||
247 | |||
248 | config MACH_NETSPACE_V2 | ||
249 | bool "LaCie Network Space v2 NAS Board" | ||
250 | help | ||
251 | Say 'Y' here if you want your kernel to support the | ||
252 | LaCie Network Space v2 NAS. | ||
253 | |||
254 | config MACH_INETSPACE_V2 | ||
255 | bool "LaCie Internet Space v2 NAS Board" | ||
256 | help | ||
257 | Say 'Y' here if you want your kernel to support the | ||
258 | LaCie Internet Space v2 NAS. | ||
259 | |||
260 | config MACH_NETSPACE_MAX_V2 | ||
261 | bool "LaCie Network Space Max v2 NAS Board" | ||
262 | help | ||
263 | Say 'Y' here if you want your kernel to support the | ||
264 | LaCie Network Space Max v2 NAS. | ||
265 | 274 | ||
266 | config MACH_D2NET_V2 | 275 | config MACH_NSA310_DT |
267 | bool "LaCie d2 Network v2 NAS Board" | 276 | bool "ZyXEL NSA-310 (Flattened Device Tree)" |
277 | select ARCH_KIRKWOOD_DT | ||
278 | select ARM_ATAG_DTB_COMPAT | ||
268 | help | 279 | help |
269 | Say 'Y' here if you want your kernel to support the | 280 | Say 'Y' here if you want your kernel to support the |
270 | LaCie d2 Network v2 NAS. | 281 | ZyXEL NSA-310 board (Flattened Device Tree). |
271 | 282 | ||
272 | config MACH_NET2BIG_V2 | 283 | config MACH_OPENBLOCKS_A6_DT |
273 | bool "LaCie 2Big Network v2 NAS Board" | 284 | bool "Plat'Home OpenBlocks A6 (Flattened Device Tree)" |
285 | select ARCH_KIRKWOOD_DT | ||
274 | help | 286 | help |
275 | Say 'Y' here if you want your kernel to support the | 287 | Say 'Y' here if you want your kernel to support the |
276 | LaCie 2Big Network v2 NAS. | 288 | Plat'Home OpenBlocks A6 (Flattened Device Tree). |
277 | 289 | ||
278 | config MACH_NET5BIG_V2 | 290 | config MACH_READYNAS_DT |
279 | bool "LaCie 5Big Network v2 NAS Board" | 291 | bool "NETGEAR ReadyNAS Duo v2 (Flattened Device Tree)" |
292 | select ARCH_KIRKWOOD_DT | ||
293 | select ARM_APPENDED_DTB | ||
294 | select ARM_ATAG_DTB_COMPAT | ||
280 | help | 295 | help |
281 | Say 'Y' here if you want your kernel to support the | 296 | Say 'Y' here if you want your kernel to support the |
282 | LaCie 5Big Network v2 NAS. | 297 | NETGEAR ReadyNAS Duo v2 using Fattened Device Tree. |
283 | 298 | ||
284 | config MACH_T5325 | 299 | config MACH_TOPKICK_DT |
285 | bool "HP t5325 Thin Client" | 300 | bool "USI Topkick (Flattened Device Tree)" |
301 | select ARCH_KIRKWOOD_DT | ||
286 | help | 302 | help |
287 | Say 'Y' here if you want your kernel to support the | 303 | Say 'Y' here if you want your kernel to support the |
288 | HP t5325 Thin Client. | 304 | USI Topkick, using Flattened Device Tree |
289 | 305 | ||
290 | config MACH_NSA310_DT | 306 | config MACH_TS219_DT |
291 | bool "ZyXEL NSA-310 (Flattened Device Tree)" | 307 | bool "Device Tree for QNAP TS-11X, TS-21X NAS" |
292 | select ARCH_KIRKWOOD_DT | 308 | select ARCH_KIRKWOOD_DT |
309 | select ARM_APPENDED_DTB | ||
293 | select ARM_ATAG_DTB_COMPAT | 310 | select ARM_ATAG_DTB_COMPAT |
294 | help | 311 | help |
295 | Say 'Y' here if you want your kernel to support the | 312 | Say 'Y' here if you want your kernel to support the QNAP |
296 | ZyXEL NSA-310 board (Flattened Device Tree). | 313 | TS-110, TS-119, TS-119P+, TS-210, TS-219, TS-219P and |
314 | TS-219P+ Turbo NAS devices using Fattened Device Tree. | ||
315 | There are two different Device Tree descriptions, depending | ||
316 | on if the device is based on an if the board uses the MV6281 | ||
317 | or MV6282. If you have the wrong one, the buttons will not | ||
318 | work. | ||
297 | 319 | ||
298 | endmenu | 320 | endmenu |
299 | 321 | ||
diff --git a/arch/arm/mach-kirkwood/Makefile b/arch/arm/mach-kirkwood/Makefile index 4cc4bee4d0cf..cdbca328a412 100644 --- a/arch/arm/mach-kirkwood/Makefile +++ b/arch/arm/mach-kirkwood/Makefile | |||
@@ -1,42 +1,44 @@ | |||
1 | obj-y += common.o addr-map.o irq.o pcie.o mpp.o | 1 | obj-y += common.o addr-map.o irq.o pcie.o mpp.o |
2 | 2 | ||
3 | obj-$(CONFIG_MACH_D2NET_V2) += d2net_v2-setup.o lacie_v2-common.o | ||
3 | obj-$(CONFIG_MACH_DB88F6281_BP) += db88f6281-bp-setup.o | 4 | obj-$(CONFIG_MACH_DB88F6281_BP) += db88f6281-bp-setup.o |
4 | obj-$(CONFIG_MACH_RD88F6192_NAS) += rd88f6192-nas-setup.o | 5 | obj-$(CONFIG_MACH_DOCKSTAR) += dockstar-setup.o |
5 | obj-$(CONFIG_MACH_RD88F6281) += rd88f6281-setup.o | ||
6 | obj-$(CONFIG_MACH_MV88F6281GTW_GE) += mv88f6281gtw_ge-setup.o | ||
7 | obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o | ||
8 | obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG) += sheevaplug-setup.o | 6 | obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG) += sheevaplug-setup.o |
9 | obj-$(CONFIG_MACH_GURUPLUG) += guruplug-setup.o | 7 | obj-$(CONFIG_MACH_GURUPLUG) += guruplug-setup.o |
10 | obj-$(CONFIG_MACH_DOCKSTAR) += dockstar-setup.o | ||
11 | obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o | ||
12 | obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o | ||
13 | obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o | ||
14 | obj-$(CONFIG_MACH_NETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o | ||
15 | obj-$(CONFIG_MACH_INETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o | 8 | obj-$(CONFIG_MACH_INETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o |
16 | obj-$(CONFIG_MACH_NETSPACE_MAX_V2) += netspace_v2-setup.o lacie_v2-common.o | 9 | obj-$(CONFIG_MACH_MV88F6281GTW_GE) += mv88f6281gtw_ge-setup.o |
17 | obj-$(CONFIG_MACH_D2NET_V2) += d2net_v2-setup.o lacie_v2-common.o | ||
18 | obj-$(CONFIG_MACH_NET2BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o | 10 | obj-$(CONFIG_MACH_NET2BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o |
19 | obj-$(CONFIG_MACH_NET5BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o | 11 | obj-$(CONFIG_MACH_NET5BIG_V2) += netxbig_v2-setup.o lacie_v2-common.o |
12 | obj-$(CONFIG_MACH_NETSPACE_MAX_V2) += netspace_v2-setup.o lacie_v2-common.o | ||
13 | obj-$(CONFIG_MACH_NETSPACE_V2) += netspace_v2-setup.o lacie_v2-common.o | ||
14 | obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o | ||
15 | obj-$(CONFIG_MACH_RD88F6192_NAS) += rd88f6192-nas-setup.o | ||
16 | obj-$(CONFIG_MACH_RD88F6281) += rd88f6281-setup.o | ||
17 | obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o | ||
20 | obj-$(CONFIG_MACH_T5325) += t5325-setup.o | 18 | obj-$(CONFIG_MACH_T5325) += t5325-setup.o |
19 | obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o | ||
20 | obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o | ||
21 | 21 | ||
22 | obj-$(CONFIG_ARCH_KIRKWOOD_DT) += board-dt.o | 22 | obj-$(CONFIG_ARCH_KIRKWOOD_DT) += board-dt.o |
23 | obj-$(CONFIG_MACH_DREAMPLUG_DT) += board-dreamplug.o | 23 | obj-$(CONFIG_MACH_CLOUDBOX_DT) += board-ns2.o |
24 | obj-$(CONFIG_MACH_GURUPLUG_DT) += board-guruplug.o | ||
25 | obj-$(CONFIG_MACH_ICONNECT_DT) += board-iconnect.o | ||
26 | obj-$(CONFIG_MACH_DLINK_KIRKWOOD_DT) += board-dnskw.o | 24 | obj-$(CONFIG_MACH_DLINK_KIRKWOOD_DT) += board-dnskw.o |
27 | obj-$(CONFIG_MACH_IB62X0_DT) += board-ib62x0.o | ||
28 | obj-$(CONFIG_MACH_TS219_DT) += board-ts219.o tsx1x-common.o | ||
29 | obj-$(CONFIG_MACH_DOCKSTAR_DT) += board-dockstar.o | 25 | obj-$(CONFIG_MACH_DOCKSTAR_DT) += board-dockstar.o |
26 | obj-$(CONFIG_MACH_DREAMPLUG_DT) += board-dreamplug.o | ||
30 | obj-$(CONFIG_MACH_GOFLEXNET_DT) += board-goflexnet.o | 27 | obj-$(CONFIG_MACH_GOFLEXNET_DT) += board-goflexnet.o |
31 | obj-$(CONFIG_MACH_LSXL_DT) += board-lsxl.o | 28 | obj-$(CONFIG_MACH_GURUPLUG_DT) += board-guruplug.o |
29 | obj-$(CONFIG_MACH_IB62X0_DT) += board-ib62x0.o | ||
30 | obj-$(CONFIG_MACH_ICONNECT_DT) += board-iconnect.o | ||
31 | obj-$(CONFIG_MACH_INETSPACE_V2_DT) += board-ns2.o | ||
32 | obj-$(CONFIG_MACH_IOMEGA_IX2_200_DT) += board-iomega_ix2_200.o | 32 | obj-$(CONFIG_MACH_IOMEGA_IX2_200_DT) += board-iomega_ix2_200.o |
33 | obj-$(CONFIG_MACH_KM_KIRKWOOD_DT) += board-km_kirkwood.o | 33 | obj-$(CONFIG_MACH_KM_KIRKWOOD_DT) += board-km_kirkwood.o |
34 | obj-$(CONFIG_MACH_INETSPACE_V2_DT) += board-ns2.o | 34 | obj-$(CONFIG_MACH_LSXL_DT) += board-lsxl.o |
35 | obj-$(CONFIG_MACH_MPLCEC4_DT) += board-mplcec4.o | 35 | obj-$(CONFIG_MACH_MPLCEC4_DT) += board-mplcec4.o |
36 | obj-$(CONFIG_MACH_NETSPACE_V2_DT) += board-ns2.o | ||
37 | obj-$(CONFIG_MACH_NETSPACE_MAX_V2_DT) += board-ns2.o | ||
38 | obj-$(CONFIG_MACH_NETSPACE_LITE_V2_DT) += board-ns2.o | 36 | obj-$(CONFIG_MACH_NETSPACE_LITE_V2_DT) += board-ns2.o |
37 | obj-$(CONFIG_MACH_NETSPACE_MAX_V2_DT) += board-ns2.o | ||
39 | obj-$(CONFIG_MACH_NETSPACE_MINI_V2_DT) += board-ns2.o | 38 | obj-$(CONFIG_MACH_NETSPACE_MINI_V2_DT) += board-ns2.o |
39 | obj-$(CONFIG_MACH_NETSPACE_V2_DT) += board-ns2.o | ||
40 | obj-$(CONFIG_MACH_NSA310_DT) += board-nsa310.o | 40 | obj-$(CONFIG_MACH_NSA310_DT) += board-nsa310.o |
41 | obj-$(CONFIG_MACH_OPENBLOCKS_A6_DT) += board-openblocks_a6.o | 41 | obj-$(CONFIG_MACH_OPENBLOCKS_A6_DT) += board-openblocks_a6.o |
42 | obj-$(CONFIG_MACH_READYNAS_DT) += board-readynas.o | ||
42 | obj-$(CONFIG_MACH_TOPKICK_DT) += board-usi_topkick.o | 43 | obj-$(CONFIG_MACH_TOPKICK_DT) += board-usi_topkick.o |
44 | obj-$(CONFIG_MACH_TS219_DT) += board-ts219.o tsx1x-common.o | ||
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index d367aa6b47bb..7904758e771f 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c | |||
@@ -139,16 +139,20 @@ static void __init kirkwood_dt_init(void) | |||
139 | if (of_machine_is_compatible("keymile,km_kirkwood")) | 139 | if (of_machine_is_compatible("keymile,km_kirkwood")) |
140 | km_kirkwood_init(); | 140 | km_kirkwood_init(); |
141 | 141 | ||
142 | if (of_machine_is_compatible("lacie,inetspace_v2") || | 142 | if (of_machine_is_compatible("lacie,cloudbox") || |
143 | of_machine_is_compatible("lacie,netspace_v2") || | 143 | of_machine_is_compatible("lacie,inetspace_v2") || |
144 | of_machine_is_compatible("lacie,netspace_max_v2") || | ||
145 | of_machine_is_compatible("lacie,netspace_lite_v2") || | 144 | of_machine_is_compatible("lacie,netspace_lite_v2") || |
146 | of_machine_is_compatible("lacie,netspace_mini_v2")) | 145 | of_machine_is_compatible("lacie,netspace_max_v2") || |
146 | of_machine_is_compatible("lacie,netspace_mini_v2") || | ||
147 | of_machine_is_compatible("lacie,netspace_v2")) | ||
147 | ns2_init(); | 148 | ns2_init(); |
148 | 149 | ||
149 | if (of_machine_is_compatible("mpl,cec4")) | 150 | if (of_machine_is_compatible("mpl,cec4")) |
150 | mplcec4_init(); | 151 | mplcec4_init(); |
151 | 152 | ||
153 | if (of_machine_is_compatible("netgear,readynas-duo-v2")) | ||
154 | netgear_readynas_init(); | ||
155 | |||
152 | if (of_machine_is_compatible("plathome,openblocks-a6")) | 156 | if (of_machine_is_compatible("plathome,openblocks-a6")) |
153 | openblocks_a6_init(); | 157 | openblocks_a6_init(); |
154 | 158 | ||
@@ -171,12 +175,14 @@ static const char * const kirkwood_dt_board_compat[] = { | |||
171 | "buffalo,lsxl", | 175 | "buffalo,lsxl", |
172 | "iom,ix2-200", | 176 | "iom,ix2-200", |
173 | "keymile,km_kirkwood", | 177 | "keymile,km_kirkwood", |
178 | "lacie,cloudbox", | ||
174 | "lacie,inetspace_v2", | 179 | "lacie,inetspace_v2", |
175 | "lacie,netspace_max_v2", | ||
176 | "lacie,netspace_v2", | ||
177 | "lacie,netspace_lite_v2", | 180 | "lacie,netspace_lite_v2", |
181 | "lacie,netspace_max_v2", | ||
178 | "lacie,netspace_mini_v2", | 182 | "lacie,netspace_mini_v2", |
183 | "lacie,netspace_v2", | ||
179 | "mpl,cec4", | 184 | "mpl,cec4", |
185 | "netgear,readynas-duo-v2", | ||
180 | "plathome,openblocks-a6", | 186 | "plathome,openblocks-a6", |
181 | "usi,topkick", | 187 | "usi,topkick", |
182 | "zyxel,nsa310", | 188 | "zyxel,nsa310", |
diff --git a/arch/arm/mach-kirkwood/board-ns2.c b/arch/arm/mach-kirkwood/board-ns2.c index f2ea3b7ad726..f8f660525ace 100644 --- a/arch/arm/mach-kirkwood/board-ns2.c +++ b/arch/arm/mach-kirkwood/board-ns2.c | |||
@@ -27,7 +27,8 @@ void __init ns2_init(void) | |||
27 | /* | 27 | /* |
28 | * Basic setup. Needs to be called early. | 28 | * Basic setup. Needs to be called early. |
29 | */ | 29 | */ |
30 | if (of_machine_is_compatible("lacie,netspace_lite_v2") || | 30 | if (of_machine_is_compatible("lacie,cloudbox") || |
31 | of_machine_is_compatible("lacie,netspace_lite_v2") || | ||
31 | of_machine_is_compatible("lacie,netspace_mini_v2")) | 32 | of_machine_is_compatible("lacie,netspace_mini_v2")) |
32 | ns2_ge00_data.phy_addr = MV643XX_ETH_PHY_ADDR(0); | 33 | ns2_ge00_data.phy_addr = MV643XX_ETH_PHY_ADDR(0); |
33 | kirkwood_ge00_init(&ns2_ge00_data); | 34 | kirkwood_ge00_init(&ns2_ge00_data); |
diff --git a/arch/arm/mach-kirkwood/board-readynas.c b/arch/arm/mach-kirkwood/board-readynas.c new file mode 100644 index 000000000000..fb42c20e273f --- /dev/null +++ b/arch/arm/mach-kirkwood/board-readynas.c | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * NETGEAR ReadyNAS Duo v2 Board setup for drivers not already | ||
3 | * converted to DT. | ||
4 | * | ||
5 | * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or | ||
8 | * modify it under the terms of the GNU General Public License | ||
9 | * as published by the Free Software Foundation; either version | ||
10 | * 2 of the License, or (at your option) any later version. | ||
11 | */ | ||
12 | |||
13 | #include <linux/kernel.h> | ||
14 | #include <linux/init.h> | ||
15 | #include <linux/platform_device.h> | ||
16 | #include <linux/mv643xx_eth.h> | ||
17 | #include <mach/kirkwood.h> | ||
18 | #include "common.h" | ||
19 | |||
20 | static struct mv643xx_eth_platform_data netgear_readynas_ge00_data = { | ||
21 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), | ||
22 | }; | ||
23 | |||
24 | void __init netgear_readynas_init(void) | ||
25 | { | ||
26 | kirkwood_ge00_init(&netgear_readynas_ge00_data); | ||
27 | kirkwood_pcie_init(KW_PCIE0); | ||
28 | } | ||
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h index 5ed70565c843..3147be2f34da 100644 --- a/arch/arm/mach-kirkwood/common.h +++ b/arch/arm/mach-kirkwood/common.h | |||
@@ -141,12 +141,24 @@ void openblocks_a6_init(void); | |||
141 | static inline void openblocks_a6_init(void) {}; | 141 | static inline void openblocks_a6_init(void) {}; |
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | #ifdef CONFIG_MACH_READYNAS_DT | ||
145 | void netgear_readynas_init(void); | ||
146 | #else | ||
147 | static inline void netgear_readynas_init(void) {}; | ||
148 | #endif | ||
149 | |||
144 | #ifdef CONFIG_MACH_TOPKICK_DT | 150 | #ifdef CONFIG_MACH_TOPKICK_DT |
145 | void usi_topkick_init(void); | 151 | void usi_topkick_init(void); |
146 | #else | 152 | #else |
147 | static inline void usi_topkick_init(void) {}; | 153 | static inline void usi_topkick_init(void) {}; |
148 | #endif | 154 | #endif |
149 | 155 | ||
156 | #ifdef CONFIG_MACH_CLOUDBOX_DT | ||
157 | void cloudbox_init(void); | ||
158 | #else | ||
159 | static inline void cloudbox_init(void) {}; | ||
160 | #endif | ||
161 | |||
150 | /* early init functions not converted to fdt yet */ | 162 | /* early init functions not converted to fdt yet */ |
151 | char *kirkwood_id(void); | 163 | char *kirkwood_id(void); |
152 | void kirkwood_l2_init(void); | 164 | void kirkwood_l2_init(void); |