kirkwood-cloudbox.dts revision 284090
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		stdout-path = &uart0;
18	};
19
20	ocp@f1000000 {
21		pinctrl: pin-controller@10000 {
22			pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
23				marvell,pins = "mpp15";
24				marvell,function = "sata0";
25			};
26		};
27
28		serial@12000 {
29			status = "okay";
30		};
31
32		sata@80000 {
33			pinctrl-0 = <&pmx_cloudbox_sata0>;
34			pinctrl-names = "default";
35			status = "okay";
36			nr-ports = <1>;
37		};
38
39		spi@10600 {
40			status = "okay";
41
42			flash@0 {
43				#address-cells = <1>;
44				#size-cells = <1>;
45				compatible = "mxicy,mx25l4005a";
46				reg = <0>;
47				spi-max-frequency = <20000000>;
48				mode = <0>;
49
50				partition@0 {
51					reg = <0x0 0x80000>;
52					label = "u-boot";
53				};
54			};
55		};
56	};
57
58	gpio_keys {
59		compatible = "gpio-keys";
60		#address-cells = <1>;
61		#size-cells = <0>;
62
63		button@1 {
64			label = "Power push button";
65			linux,code = <KEY_POWER>;
66			gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
67		};
68	};
69
70	gpio-leds {
71		compatible = "gpio-leds";
72
73		red-fail {
74			label = "cloudbox:red:fail";
75			gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
76		};
77		blue-sata {
78			label = "cloudbox:blue:sata";
79			gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
80		};
81	};
82
83	gpio_poweroff {
84		compatible = "gpio-poweroff";
85		gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
86	};
87};
88
89&mdio {
90	status = "okay";
91
92	ethphy0: ethernet-phy@0 {
93		reg = <0>;
94	};
95};
96
97&eth0 {
98	status = "okay";
99	ethernet0-port@0 {
100		phy-handle = <&ethphy0>;
101	};
102};
103