kirkwood-dockstar.dts revision 284090
1/dts-v1/;
2
3#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
5
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		stdout-path = &uart0;
18	};
19
20	ocp@f1000000 {
21		pinctrl: pin-controller@10000 {
22			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		};
35		serial@12000 {
36			status = "ok";
37		};
38	};
39	gpio-leds {
40		compatible = "gpio-leds";
41		pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
42		pinctrl-names = "default";
43
44		health {
45			label = "status:green:health";
46			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
47			default-state = "keep";
48		};
49		fault {
50			label = "status:orange:fault";
51			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
52		};
53	};
54	regulators {
55		compatible = "simple-bus";
56		#address-cells = <1>;
57		#size-cells = <0>;
58		pinctrl-0 = <&pmx_usb_power_enable>;
59		pinctrl-names = "default";
60
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	};
73};
74
75&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
95&mdio {
96	status = "okay";
97
98	ethphy0: ethernet-phy@0 {
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};
110