Merge branch 'for-linville' of git://github.com/kvalo/ath
[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                         pmx_led_health_r: pmx-led-health-r {
22                                 marvell,pins = "mpp46";
23                                 marvell,function = "gpio";
24                         };
25                         pmx_led_health_g: pmx-led-health-g {
26                                 marvell,pins = "mpp47";
27                                 marvell,function = "gpio";
28                         };
29                         pmx_led_wmode_r: pmx-led-wmode-r {
30                                 marvell,pins = "mpp48";
31                                 marvell,function = "gpio";
32                         };
33                         pmx_led_wmode_g: pmx-led-wmode-g {
34                                 marvell,pins = "mpp49";
35                                 marvell,function = "gpio";
36                         };
37                 };
38                 serial@12000 {
39                         clock-frequency = <200000000>;
40                         status = "ok";
41                 };
42
43                 sata@80000 {
44                         status = "okay";
45                         nr-ports = <1>;
46                 };
47
48                 /* AzureWave AW-GH381 WiFi/BT */
49                 mvsdio@90000 {
50                         status = "okay";
51                         non-removable;
52                 };
53         };
54
55         gpio-leds {
56                 compatible = "gpio-leds";
57                 pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
58                               &pmx_led_wmode_r &pmx_led_wmode_g >;
59                 pinctrl-names = "default";
60
61                 health-r {
62                         label = "guruplug:red:health";
63                         gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
64                 };
65                 health-g {
66                         label = "guruplug:green:health";
67                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
68                 };
69                 wmode-r {
70                         label = "guruplug:red:wmode";
71                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
72                 };
73                 wmode-g {
74                         label = "guruplug:green:wmode";
75                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
76                 };
77         };
78 };
79
80 &nand {
81         status = "okay";
82
83         partition@0 {
84                 label = "u-boot";
85                 reg = <0x00000000 0x00100000>;
86                 read-only;
87         };
88
89         partition@100000 {
90                 label = "uImage";
91                 reg = <0x00100000 0x00400000>;
92         };
93
94         partition@500000 {
95                 label = "data";
96                 reg = <0x00500000 0x1fb00000>;
97         };
98 };
99
100 &mdio {
101         status = "okay";
102
103         ethphy0: ethernet-phy@0 {
104                 compatible = "marvell,88e1121";
105                 reg = <0>;
106         };
107
108         ethphy1: ethernet-phy@1 {
109                 compatible = "marvell,88e1121";
110                 reg = <1>;
111         };
112 };
113
114 &eth0 {
115         status = "okay";
116         ethernet0-port@0 {
117                 phy-handle = <&ethphy0>;
118         };
119 };
120
121 &eth1 {
122         status = "okay";
123         ethernet1-port@0 {
124                 phy-handle = <&ethphy1>;
125         };
126 };