Commit | Line | Data |
---|---|---|
2f865c35 SH |
1 | /dts-v1/; |
2 | ||
0ab6129c EG |
3 | #include "kirkwood.dtsi" |
4 | #include "kirkwood-6281.dtsi" | |
2f865c35 SH |
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"; | |
ab833614 | 17 | stdout-path = &uart0; |
2f865c35 SH |
18 | }; |
19 | ||
20 | ocp@f1000000 { | |
a9483969 | 21 | pinctrl: pin-controller@10000 { |
1bf370a8 AL |
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 | }; | |
2f865c35 | 35 | serial@12000 { |
2f865c35 SH |
36 | status = "ok"; |
37 | }; | |
2f865c35 SH |
38 | }; |
39 | gpio-leds { | |
40 | compatible = "gpio-leds"; | |
2d743922 TP |
41 | pinctrl-0 = <&pmx_led_green &pmx_led_orange>; |
42 | pinctrl-names = "default"; | |
2f865c35 SH |
43 | |
44 | health { | |
45 | label = "status:green:health"; | |
3a31f2d7 | 46 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
dcdf14c7 | 47 | default-state = "keep"; |
2f865c35 SH |
48 | }; |
49 | fault { | |
50 | label = "status:orange:fault"; | |
3a31f2d7 | 51 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
2f865c35 SH |
52 | }; |
53 | }; | |
c3ff813a AL |
54 | regulators { |
55 | compatible = "simple-bus"; | |
56 | #address-cells = <1>; | |
57 | #size-cells = <0>; | |
2d743922 TP |
58 | pinctrl-0 = <&pmx_usb_power_enable>; |
59 | pinctrl-names = "default"; | |
c3ff813a AL |
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 | }; | |
2f865c35 | 73 | }; |
876e2333 | 74 | |
7045ff5a JG |
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 | ||
876e2333 SH |
95 | &mdio { |
96 | status = "okay"; | |
97 | ||
98 | ethphy0: ethernet-phy@0 { | |
876e2333 SH |
99 | compatible = "marvell,88e1116"; |
100 | reg = <0>; | |
101 | }; | |
102 | }; | |
103 | ||
104 | ð0 { | |
105 | status = "okay"; | |
106 | ethernet0-port@0 { | |
107 | phy-handle = <ðphy0>; | |
108 | }; | |
109 | }; |