blob: 33ff368fbfa5696353353fc5151b4fefd7cc6198 [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";
17 };
18
19 ocp@f1000000 {
Andrew Lunn1bf370a2012-11-17 17:00:49 +010020 pinctrl: pinctrl@10000 {
Andrew Lunn1bf370a2012-11-17 17:00:49 +010021 pmx_usb_power_enable: pmx-usb-power-enable {
22 marvell,pins = "mpp29";
23 marvell,function = "gpio";
24 };
25 pmx_led_green: pmx-led-green {
26 marvell,pins = "mpp46";
27 marvell,function = "gpio";
28 };
29 pmx_led_orange: pmx-led-orange {
30 marvell,pins = "mpp47";
31 marvell,function = "gpio";
32 };
33 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020034 serial@12000 {
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020035 status = "ok";
36 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020037 };
38 gpio-leds {
39 compatible = "gpio-leds";
Thomas Petazzoni2d743922013-05-24 11:44:40 +020040 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
41 pinctrl-names = "default";
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020042
43 health {
44 label = "status:green:health";
45 gpios = <&gpio1 14 1>;
46 linux,default-trigger = "default-on";
47 };
48 fault {
49 label = "status:orange:fault";
50 gpios = <&gpio1 15 1>;
51 };
52 };
Andrew Lunnc3ff8132012-11-17 15:46:12 +010053 regulators {
54 compatible = "simple-bus";
55 #address-cells = <1>;
56 #size-cells = <0>;
Thomas Petazzoni2d743922013-05-24 11:44:40 +020057 pinctrl-0 = <&pmx_usb_power_enable>;
58 pinctrl-names = "default";
Andrew Lunnc3ff8132012-11-17 15:46:12 +010059
60 usb_power: regulator@1 {
61 compatible = "regulator-fixed";
62 reg = <1>;
63 regulator-name = "USB Power";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
66 enable-active-high;
67 regulator-always-on;
68 regulator-boot-on;
69 gpio = <&gpio0 29 0>;
70 };
71 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020072};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020073
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060074&nand {
75 status = "okay";
76
77 partition@0 {
78 label = "u-boot";
79 reg = <0x0000000 0x100000>;
80 read-only;
81 };
82
83 partition@100000 {
84 label = "uImage";
85 reg = <0x0100000 0x400000>;
86 };
87
88 partition@500000 {
89 label = "data";
90 reg = <0x0500000 0xfb00000>;
91 };
92};
93
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020094&mdio {
95 status = "okay";
96
97 ethphy0: ethernet-phy@0 {
98 device_type = "ethernet-phy";
99 compatible = "marvell,88e1116";
100 reg = <0>;
101 };
102};
103
104&eth0 {
105 status = "okay";
106 ethernet0-port@0 {
107 phy-handle = <&ethphy0>;
108 };
109};