]>
Commit | Line | Data |
---|---|---|
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 | }; | |
18 | ||
19 | ocp@f1000000 { | |
20 | pinctrl: pinctrl@10000 { | |
21 | 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 | }; | |
34 | serial@12000 { | |
35 | status = "ok"; | |
36 | }; | |
37 | }; | |
38 | gpio-leds { | |
39 | compatible = "gpio-leds"; | |
40 | pinctrl-0 = <&pmx_led_green &pmx_led_orange>; | |
41 | pinctrl-names = "default"; | |
42 | ||
43 | health { | |
44 | label = "status:green:health"; | |
45 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; | |
46 | default-state = "keep"; | |
47 | }; | |
48 | fault { | |
49 | label = "status:orange:fault"; | |
50 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; | |
51 | }; | |
52 | }; | |
53 | regulators { | |
54 | compatible = "simple-bus"; | |
55 | #address-cells = <1>; | |
56 | #size-cells = <0>; | |
57 | pinctrl-0 = <&pmx_usb_power_enable>; | |
58 | pinctrl-names = "default"; | |
59 | ||
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 | }; | |
72 | }; | |
73 | ||
74 | &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 | ||
94 | &mdio { | |
95 | status = "okay"; | |
96 | ||
97 | ethphy0: ethernet-phy@0 { | |
98 | compatible = "marvell,88e1116"; | |
99 | reg = <0>; | |
100 | }; | |
101 | }; | |
102 | ||
103 | ð0 { | |
104 | status = "okay"; | |
105 | ethernet0-port@0 { | |
106 | phy-handle = <ðphy0>; | |
107 | }; | |
108 | }; |