484a2a6c0afc6e3353ae7235e213efbccf36ed03
[linux.git] / arch / arm / boot / dts / kirkwood-guruplug-server-plus.dts
1 /dts-v1/;
2
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6281.dtsi"
5
6 / {
7         model = "Globalscale Technologies Guruplug Server Plus";
8         compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x20000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17         };
18
19         ocp@f1000000 {
20                 pinctrl: pinctrl@10000 {
21
22                         pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
23                                       &pmx_led_wmode_r &pmx_led_wmode_g >;
24                         pinctrl-names = "default";
25
26                         pmx_led_health_r: pmx-led-health-r {
27                                 marvell,pins = "mpp46";
28                                 marvell,function = "gpio";
29                         };
30                         pmx_led_health_g: pmx-led-health-g {
31                                 marvell,pins = "mpp47";
32                                 marvell,function = "gpio";
33                         };
34                         pmx_led_wmode_r: pmx-led-wmode-r {
35                                 marvell,pins = "mpp48";
36                                 marvell,function = "gpio";
37                         };
38                         pmx_led_wmode_g: pmx-led-wmode-g {
39                                 marvell,pins = "mpp49";
40                                 marvell,function = "gpio";
41                         };
42                 };
43                 serial@12000 {
44                         clock-frequency = <200000000>;
45                         status = "ok";
46                 };
47
48                 nand@3000000 {
49                         status = "okay";
50
51                         partition@0 {
52                                 label = "u-boot";
53                                 reg = <0x00000000 0x00100000>;
54                                 read-only;
55                         };
56
57                         partition@100000 {
58                                 label = "uImage";
59                                 reg = <0x00100000 0x00400000>;
60                         };
61
62                         partition@500000 {
63                                 label = "data";
64                                 reg = <0x00500000 0x1fb00000>;
65                         };
66                 };
67
68                 sata@80000 {
69                         status = "okay";
70                         nr-ports = <1>;
71                 };
72
73                 mvsdio@90000 {
74                         status = "okay";
75                         /* No CD or WP GPIOs */
76                         broken-cd;
77                 };
78         };
79
80         gpio-leds {
81                 compatible = "gpio-leds";
82
83                 health-r {
84                         label = "guruplug:red:health";
85                         gpios = <&gpio1 14 1>;
86                 };
87                 health-g {
88                         label = "guruplug:green:health";
89                         gpios = <&gpio1 15 1>;
90                 };
91                 wmode-r {
92                         label = "guruplug:red:wmode";
93                         gpios = <&gpio1 16 1>;
94                 };
95                 wmode-g {
96                         label = "guruplug:green:wmode";
97                         gpios = <&gpio1 17 1>;
98                 };
99         };
100 };