Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetoot...
[cascardo/linux.git] / arch / arm / boot / dts / kirkwood-dockstar.dts
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
22                         pinctrl-0 = < &pmx_usb_power_enable
23                                       &pmx_led_green &pmx_led_orange >;
24                         pinctrl-names = "default";
25
26                         pmx_usb_power_enable: pmx-usb-power-enable {
27                                 marvell,pins = "mpp29";
28                                 marvell,function = "gpio";
29                         };
30                         pmx_led_green: pmx-led-green {
31                                 marvell,pins = "mpp46";
32                                 marvell,function = "gpio";
33                         };
34                         pmx_led_orange: pmx-led-orange {
35                                 marvell,pins = "mpp47";
36                                 marvell,function = "gpio";
37                         };
38                 };
39                 serial@12000 {
40                         clock-frequency = <200000000>;
41                         status = "ok";
42                 };
43
44                 nand@3000000 {
45                         status = "okay";
46
47                         partition@0 {
48                                 label = "u-boot";
49                                 reg = <0x0000000 0x100000>;
50                                 read-only;
51                         };
52
53                         partition@100000 {
54                                 label = "uImage";
55                                 reg = <0x0100000 0x400000>;
56                         };
57
58                         partition@500000 {
59                                 label = "data";
60                                 reg = <0x0500000 0xfb00000>;
61                         };
62                 };
63         };
64         gpio-leds {
65                 compatible = "gpio-leds";
66
67                 health {
68                         label = "status:green:health";
69                         gpios = <&gpio1 14 1>;
70                         linux,default-trigger = "default-on";
71                 };
72                 fault {
73                         label = "status:orange:fault";
74                         gpios = <&gpio1 15 1>;
75                 };
76         };
77         regulators {
78                 compatible = "simple-bus";
79                 #address-cells = <1>;
80                 #size-cells = <0>;
81
82                 usb_power: regulator@1 {
83                         compatible = "regulator-fixed";
84                         reg = <1>;
85                         regulator-name = "USB Power";
86                         regulator-min-microvolt = <5000000>;
87                         regulator-max-microvolt = <5000000>;
88                         enable-active-high;
89                         regulator-always-on;
90                         regulator-boot-on;
91                         gpio = <&gpio0 29 0>;
92                 };
93         };
94 };