diff options
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-cloudbox.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-cloudbox.dts | 89 |
1 files changed, 89 insertions, 0 deletions
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 | }; | ||