blob: b2d9834bf4584e651b442166568c59e8c981608b [file] [log] [blame]
Willy Tarreau9b47a4f2012-12-09 19:40:04 +01001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
Willy Tarreau9b47a4f2012-12-09 19:40:04 +01005
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";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020017 stdout-path = &uart0;
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010018 };
19
20 ocp@f1000000 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020021 pinctrl: pin-controller@10000 {
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010022 pmx_led_health_r: pmx-led-health-r {
23 marvell,pins = "mpp46";
24 marvell,function = "gpio";
25 };
26 pmx_led_health_g: pmx-led-health-g {
27 marvell,pins = "mpp47";
28 marvell,function = "gpio";
29 };
30 pmx_led_wmode_r: pmx-led-wmode-r {
31 marvell,pins = "mpp48";
32 marvell,function = "gpio";
33 };
34 pmx_led_wmode_g: pmx-led-wmode-g {
35 marvell,pins = "mpp49";
36 marvell,function = "gpio";
37 };
38 };
39 serial@12000 {
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010040 status = "ok";
41 };
42
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010043 sata@80000 {
44 status = "okay";
45 nr-ports = <1>;
46 };
Sebastian Hesselbarthc52b95c2013-03-23 13:58:09 +010047
Sebastian Hesselbarth0932f142013-11-15 15:20:25 +010048 /* AzureWave AW-GH381 WiFi/BT */
Sebastian Hesselbarthc52b95c2013-03-23 13:58:09 +010049 mvsdio@90000 {
50 status = "okay";
Sebastian Hesselbarth0932f142013-11-15 15:20:25 +010051 non-removable;
Sebastian Hesselbarthc52b95c2013-03-23 13:58:09 +010052 };
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010053 };
54
55 gpio-leds {
56 compatible = "gpio-leds";
Thomas Petazzonid1424322013-05-24 11:44:43 +020057 pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
58 &pmx_led_wmode_r &pmx_led_wmode_g >;
59 pinctrl-names = "default";
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010060
61 health-r {
62 label = "guruplug:red:health";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010063 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010064 };
65 health-g {
66 label = "guruplug:green:health";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010067 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010068 };
69 wmode-r {
70 label = "guruplug:red:wmode";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010071 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010072 };
73 wmode-g {
74 label = "guruplug:green:wmode";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010075 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
Willy Tarreau9b47a4f2012-12-09 19:40:04 +010076 };
77 };
78};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020079
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060080&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
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200100&mdio {
101 status = "okay";
102
103 ethphy0: ethernet-phy@0 {
Sebastian Hesselbarthe8627212014-04-30 14:56:41 +0200104 /* Marvell 88E1121R */
105 compatible = "ethernet-phy-id0141.0cb0",
106 "ethernet-phy-ieee802.3-c22";
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200107 reg = <0>;
108 };
109
110 ethphy1: ethernet-phy@1 {
Sebastian Hesselbarthe8627212014-04-30 14:56:41 +0200111 /* Marvell 88E1121R */
112 compatible = "ethernet-phy-id0141.0cb0",
113 "ethernet-phy-ieee802.3-c22";
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200114 reg = <1>;
115 };
116};
117
118&eth0 {
119 status = "okay";
120 ethernet0-port@0 {
121 phy-handle = <&ethphy0>;
Sebastian Hesselbarthb514fb22014-06-23 22:25:15 +0200122 phy-connection-type = "rgmii-id";
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200123 };
124};
125
126&eth1 {
127 status = "okay";
128 ethernet1-port@0 {
129 phy-handle = <&ethphy1>;
Sebastian Hesselbarthb514fb22014-06-23 22:25:15 +0200130 phy-connection-type = "rgmii-id";
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200131 };
132};