blob: 849736349511433644dcf749633ff317737efb17 [file] [log] [blame]
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +02001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +02005
6/ {
7 model = "Seagate FreeAgent Dockstar";
8 compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x8000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020017 stdout-path = &uart0;
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020018 };
19
20 ocp@f1000000 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020021 pinctrl: pin-controller@10000 {
Andrew Lunn1bf370a2012-11-17 17:00:49 +010022 pmx_usb_power_enable: pmx-usb-power-enable {
23 marvell,pins = "mpp29";
24 marvell,function = "gpio";
25 };
26 pmx_led_green: pmx-led-green {
27 marvell,pins = "mpp46";
28 marvell,function = "gpio";
29 };
30 pmx_led_orange: pmx-led-orange {
31 marvell,pins = "mpp47";
32 marvell,function = "gpio";
33 };
34 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020035 serial@12000 {
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020036 status = "ok";
37 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020038 };
39 gpio-leds {
40 compatible = "gpio-leds";
Thomas Petazzoni2d743922013-05-24 11:44:40 +020041 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
42 pinctrl-names = "default";
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020043
44 health {
45 label = "status:green:health";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010046 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +000047 default-state = "keep";
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020048 };
49 fault {
50 label = "status:orange:fault";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010051 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020052 };
53 };
Andrew Lunnc3ff8132012-11-17 15:46:12 +010054 regulators {
55 compatible = "simple-bus";
56 #address-cells = <1>;
57 #size-cells = <0>;
Thomas Petazzoni2d743922013-05-24 11:44:40 +020058 pinctrl-0 = <&pmx_usb_power_enable>;
59 pinctrl-names = "default";
Andrew Lunnc3ff8132012-11-17 15:46:12 +010060
61 usb_power: regulator@1 {
62 compatible = "regulator-fixed";
63 reg = <1>;
64 regulator-name = "USB Power";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
67 enable-active-high;
68 regulator-always-on;
69 regulator-boot-on;
70 gpio = <&gpio0 29 0>;
71 };
72 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020073};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020074
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060075&nand {
76 status = "okay";
77
78 partition@0 {
79 label = "u-boot";
80 reg = <0x0000000 0x100000>;
81 read-only;
82 };
83
84 partition@100000 {
85 label = "uImage";
86 reg = <0x0100000 0x400000>;
87 };
88
89 partition@500000 {
90 label = "data";
91 reg = <0x0500000 0xfb00000>;
92 };
93};
94
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020095&mdio {
96 status = "okay";
97
98 ethphy0: ethernet-phy@0 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020099 compatible = "marvell,88e1116";
100 reg = <0>;
101 };
102};
103
104&eth0 {
105 status = "okay";
106 ethernet0-port@0 {
107 phy-handle = <&ethphy0>;
108 };
109};