blob: 555b7e4c58a5750646515a30e72cb5f499a441d0 [file] [log] [blame]
Simon Guinot98d4f2ac2013-04-09 00:41:28 +02001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
Simon Guinot98d4f2ac2013-04-09 00:41:28 +02005
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";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020017 stdout-path = &uart0;
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020018 };
19
20 ocp@f1000000 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020021 pinctrl: pin-controller@10000 {
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020022 pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
23 marvell,pins = "mpp15";
24 marvell,function = "sata0";
25 };
26 };
27
28 serial@12000 {
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020029 status = "okay";
30 };
31
32 sata@80000 {
Thomas Petazzoni2dd432e2013-05-24 11:44:38 +020033 pinctrl-0 = <&pmx_cloudbox_sata0>;
34 pinctrl-names = "default";
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020035 status = "okay";
36 nr-ports = <1>;
37 };
38
39 spi@10600 {
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020040 status = "okay";
41
42 flash@0 {
43 #address-cells = <1>;
44 #size-cells = <1>;
Rafał Miłecki943d45a2015-05-19 13:40:16 +020045 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020046 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
Andrew Lunn395c7552016-04-03 04:03:43 +020063 power {
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020064 label = "Power push button";
Andrew Lunn23301192013-12-04 16:51:38 +010065 linux,code = <KEY_POWER>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010066 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020067 };
68 };
69
70 gpio-leds {
71 compatible = "gpio-leds";
72
73 red-fail {
74 label = "cloudbox:red:fail";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010075 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020076 };
77 blue-sata {
78 label = "cloudbox:blue:sata";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010079 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020080 };
81 };
82
83 gpio_poweroff {
84 compatible = "gpio-poweroff";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010085 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
Simon Guinot98d4f2ac2013-04-09 00:41:28 +020086 };
87};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020088
89&mdio {
90 status = "okay";
91
92 ethphy0: ethernet-phy@0 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020093 reg = <0>;
94 };
95};
96
97&eth0 {
98 status = "okay";
99 ethernet0-port@0 {
100 phy-handle = <&ethphy0>;
101 };
102};