blob: 59a2117c35a7fe2dc68f2b5f7171810dd60532d1 [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 };
37
38 nand@3000000 {
39 status = "okay";
40
41 partition@0 {
42 label = "u-boot";
43 reg = <0x0000000 0x100000>;
44 read-only;
45 };
46
47 partition@100000 {
48 label = "uImage";
49 reg = <0x0100000 0x400000>;
50 };
51
52 partition@500000 {
53 label = "data";
54 reg = <0x0500000 0xfb00000>;
55 };
56 };
57 };
58 gpio-leds {
59 compatible = "gpio-leds";
Thomas Petazzoni2d743922013-05-24 11:44:40 +020060 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
61 pinctrl-names = "default";
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020062
63 health {
64 label = "status:green:health";
65 gpios = <&gpio1 14 1>;
66 linux,default-trigger = "default-on";
67 };
68 fault {
69 label = "status:orange:fault";
70 gpios = <&gpio1 15 1>;
71 };
72 };
Andrew Lunnc3ff8132012-11-17 15:46:12 +010073 regulators {
74 compatible = "simple-bus";
75 #address-cells = <1>;
76 #size-cells = <0>;
Thomas Petazzoni2d743922013-05-24 11:44:40 +020077 pinctrl-0 = <&pmx_usb_power_enable>;
78 pinctrl-names = "default";
Andrew Lunnc3ff8132012-11-17 15:46:12 +010079
80 usb_power: regulator@1 {
81 compatible = "regulator-fixed";
82 reg = <1>;
83 regulator-name = "USB Power";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 enable-active-high;
87 regulator-always-on;
88 regulator-boot-on;
89 gpio = <&gpio0 29 0>;
90 };
91 };
Sebastian Hesselbarth2f865c32012-08-14 22:43:42 +020092};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020093
94&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};