xref: /linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-guruplug-server-plus.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include "kirkwood.dtsi"
5724ba675SRob Herring#include "kirkwood-6281.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Globalscale Technologies Guruplug Server Plus";
9724ba675SRob Herring	compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10724ba675SRob Herring
11724ba675SRob Herring	memory {
12724ba675SRob Herring		device_type = "memory";
13724ba675SRob Herring		reg = <0x00000000 0x20000000>;
14724ba675SRob Herring	};
15724ba675SRob Herring
16724ba675SRob Herring	chosen {
17724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
18724ba675SRob Herring		stdout-path = &uart0;
19724ba675SRob Herring	};
20724ba675SRob Herring
21724ba675SRob Herring	ocp@f1000000 {
22724ba675SRob Herring		pinctrl: pin-controller@10000 {
23724ba675SRob Herring			pmx_led_health_r: pmx-led-health-r {
24724ba675SRob Herring				marvell,pins = "mpp46";
25724ba675SRob Herring				marvell,function = "gpio";
26724ba675SRob Herring			};
27724ba675SRob Herring			pmx_led_health_g: pmx-led-health-g {
28724ba675SRob Herring				marvell,pins = "mpp47";
29724ba675SRob Herring				marvell,function = "gpio";
30724ba675SRob Herring			};
31724ba675SRob Herring			pmx_led_wmode_r: pmx-led-wmode-r {
32724ba675SRob Herring				marvell,pins = "mpp48";
33724ba675SRob Herring				marvell,function = "gpio";
34724ba675SRob Herring			};
35724ba675SRob Herring			pmx_led_wmode_g: pmx-led-wmode-g {
36724ba675SRob Herring				marvell,pins = "mpp49";
37724ba675SRob Herring				marvell,function = "gpio";
38724ba675SRob Herring			};
39724ba675SRob Herring		};
40724ba675SRob Herring		serial@12000 {
41724ba675SRob Herring			status = "okay";
42724ba675SRob Herring		};
43724ba675SRob Herring
44724ba675SRob Herring		sata@80000 {
45724ba675SRob Herring			status = "okay";
46724ba675SRob Herring			nr-ports = <1>;
47724ba675SRob Herring		};
48724ba675SRob Herring
49724ba675SRob Herring		/* AzureWave AW-GH381 WiFi/BT */
50724ba675SRob Herring		mvsdio@90000 {
51724ba675SRob Herring			status = "okay";
52724ba675SRob Herring			non-removable;
53724ba675SRob Herring		};
54724ba675SRob Herring	};
55724ba675SRob Herring
56724ba675SRob Herring	gpio-leds {
57724ba675SRob Herring		compatible = "gpio-leds";
58724ba675SRob Herring		pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
59724ba675SRob Herring			      &pmx_led_wmode_r &pmx_led_wmode_g >;
60724ba675SRob Herring		pinctrl-names = "default";
61724ba675SRob Herring
62*9d0120b7SKrzysztof Kozlowski		led-health-r {
63724ba675SRob Herring			label = "guruplug:red:health";
64724ba675SRob Herring			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
65724ba675SRob Herring		};
66*9d0120b7SKrzysztof Kozlowski		led-health-g {
67724ba675SRob Herring			label = "guruplug:green:health";
68724ba675SRob Herring			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
69724ba675SRob Herring		};
70*9d0120b7SKrzysztof Kozlowski		led-wmode-r {
71724ba675SRob Herring			label = "guruplug:red:wmode";
72724ba675SRob Herring			gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
73724ba675SRob Herring		};
74*9d0120b7SKrzysztof Kozlowski		led-wmode-g {
75724ba675SRob Herring			label = "guruplug:green:wmode";
76724ba675SRob Herring			gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
77724ba675SRob Herring		};
78724ba675SRob Herring	};
79724ba675SRob Herring};
80724ba675SRob Herring
81724ba675SRob Herring&nand {
82724ba675SRob Herring	status = "okay";
83724ba675SRob Herring
84724ba675SRob Herring	partition@0 {
85724ba675SRob Herring		label = "u-boot";
86724ba675SRob Herring		reg = <0x00000000 0x00100000>;
87724ba675SRob Herring		read-only;
88724ba675SRob Herring	};
89724ba675SRob Herring
90724ba675SRob Herring	partition@100000 {
91724ba675SRob Herring		label = "uImage";
92724ba675SRob Herring		reg = <0x00100000 0x00400000>;
93724ba675SRob Herring	};
94724ba675SRob Herring
95724ba675SRob Herring	partition@500000 {
96724ba675SRob Herring		label = "data";
97724ba675SRob Herring		reg = <0x00500000 0x1fb00000>;
98724ba675SRob Herring	};
99724ba675SRob Herring};
100724ba675SRob Herring
101724ba675SRob Herring&mdio {
102724ba675SRob Herring	status = "okay";
103724ba675SRob Herring
104724ba675SRob Herring	ethphy0: ethernet-phy@0 {
105724ba675SRob Herring		/* Marvell 88E1121R */
106724ba675SRob Herring		compatible = "ethernet-phy-id0141.0cb0",
107724ba675SRob Herring		             "ethernet-phy-ieee802.3-c22";
108724ba675SRob Herring		reg = <0>;
109724ba675SRob Herring	};
110724ba675SRob Herring
111724ba675SRob Herring	ethphy1: ethernet-phy@1 {
112724ba675SRob Herring		/* Marvell 88E1121R */
113724ba675SRob Herring		compatible = "ethernet-phy-id0141.0cb0",
114724ba675SRob Herring		             "ethernet-phy-ieee802.3-c22";
115724ba675SRob Herring		reg = <1>;
116724ba675SRob Herring	};
117724ba675SRob Herring};
118724ba675SRob Herring
119724ba675SRob Herring&eth0 {
120724ba675SRob Herring	status = "okay";
121724ba675SRob Herring	ethernet0-port@0 {
122724ba675SRob Herring		phy-handle = <&ethphy0>;
123724ba675SRob Herring		phy-connection-type = "rgmii-id";
124724ba675SRob Herring	};
125724ba675SRob Herring};
126724ba675SRob Herring
127724ba675SRob Herring&eth1 {
128724ba675SRob Herring	status = "okay";
129724ba675SRob Herring	ethernet1-port@0 {
130724ba675SRob Herring		phy-handle = <&ethphy1>;
131724ba675SRob Herring		phy-connection-type = "rgmii-id";
132724ba675SRob Herring	};
133724ba675SRob Herring};
134