Merge branch 'queue' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[firefly-linux-kernel-4.4.55.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                 };
76         };
77
78         gpio-leds {
79                 compatible = "gpio-leds";
80
81                 health-r {
82                         label = "guruplug:red:health";
83                         gpios = <&gpio1 14 1>;
84                 };
85                 health-g {
86                         label = "guruplug:green:health";
87                         gpios = <&gpio1 15 1>;
88                 };
89                 wmode-r {
90                         label = "guruplug:red:wmode";
91                         gpios = <&gpio1 16 1>;
92                 };
93                 wmode-g {
94                         label = "guruplug:green:wmode";
95                         gpios = <&gpio1 17 1>;
96                 };
97         };
98 };