xref: /linux/scripts/dtc/include-prefixes/arm/marvell/armada-385-clearfog-gtr.dtsi (revision 0d390855f61b03db829783311a175b272d0ebc17)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2724ba675SRob Herring/*
3724ba675SRob Herring * Device Tree file for Clearfog GTR machines rev 1.0 (88F6825)
4724ba675SRob Herring *
5724ba675SRob Herring *  Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring/*
9724ba675SRob Herring	SERDES mapping -
10724ba675SRob Herring	0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0
11724ba675SRob Herring	1. 6141 switch (2.5Gbps capable)
12724ba675SRob Herring	2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1
13724ba675SRob Herring	3. USB 3.0 Host
14724ba675SRob Herring	4. mini PCIe CON2 - PCIe2
15724ba675SRob Herring	5. SFP connector, or optionally SGMII Ethernet 1512 PHY
16724ba675SRob Herring
17724ba675SRob Herring	USB 2.0 mapping -
18724ba675SRob Herring	0. USB 2.0 - 0 USB pins header CON12
19724ba675SRob Herring	1. USB 2.0 - 1 mini PCIe CON2
20724ba675SRob Herring	2. USB 2.0 - 2 to USB 3.0 connector (used with SERDES #3)
21724ba675SRob Herring
22724ba675SRob Herring	Pin mapping -
23724ba675SRob Herring	0,1 - console UART
24724ba675SRob Herring	2,3 - I2C0 - connected to I2C EEPROM, two temperature sensors,
25724ba675SRob Herring	      front panel and PSE controller
26724ba675SRob Herring	4,5 - MDC/MDIO
27724ba675SRob Herring	6..17 - RGMII
28724ba675SRob Herring	18 - Topaz switch reset (active low)
29724ba675SRob Herring	19 - 1512 phy reset
30724ba675SRob Herring	20 - 1512 phy reset (eth2, optional)
31724ba675SRob Herring	21,28,37,38,39,40 - SD0
32724ba675SRob Herring	22 - USB 3.0 current limiter enable (active high)
33724ba675SRob Herring	24 - SFP TX fault (input active high)
34724ba675SRob Herring	25 - SFP present (input active low)
35724ba675SRob Herring	26,27 - I2C1 - connected to SFP
36724ba675SRob Herring	29 - Fan PWM
37724ba675SRob Herring	30 - CON4 mini PCIe wifi disable
38724ba675SRob Herring	31 - CON3 mini PCIe wifi disable
39724ba675SRob Herring	32 - Fuse programming power toggle (1.8v)
40724ba675SRob Herring	33 - CON4 mini PCIe reset
41724ba675SRob Herring	34 - CON2 mini PCIe wifi disable
42724ba675SRob Herring	35 - CON3 mini PCIe reset
43724ba675SRob Herring	36 - Rear button (GPIO active low)
44724ba675SRob Herring	41 - CON1 front panel connector
45724ba675SRob Herring	42 - Front LED1, or front panel CON1
46724ba675SRob Herring	43 - Micron L-PBGA 24 ball SPI (1Gb) CS, or TPM SPI CS
47724ba675SRob Herring	44 - CON2 mini PCIe reset
48724ba675SRob Herring	45 - TPM PIRQ signal, or front panel CON1
49724ba675SRob Herring	46 - SFP TX disable
50724ba675SRob Herring	47 - Control isolation of boot sensitive SAR signals
51724ba675SRob Herring	48 - PSE reset
52724ba675SRob Herring	49 - PSE OSS signal
53724ba675SRob Herring	50 - PSE interrupt
54724ba675SRob Herring	52 - Front LED2, or front panel
55724ba675SRob Herring	53 - Front button
56724ba675SRob Herring	54 - SFP LOS (input active high)
57724ba675SRob Herring	55 - Fan sense
58724ba675SRob Herring	56(mosi),57(clk),58(miso) - SPI interface - 32Mb SPI, 1Gb SPI and TPM
59724ba675SRob Herring	59 - SPI 32Mb W25Q32BVZPIG CS0 chip select (bootable)
60724ba675SRob Herring*/
61724ba675SRob Herring
62724ba675SRob Herring/dts-v1/;
63724ba675SRob Herring#include <dt-bindings/input/input.h>
64724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
65724ba675SRob Herring#include <dt-bindings/leds/common.h>
66724ba675SRob Herring#include "armada-385.dtsi"
67724ba675SRob Herring
68724ba675SRob Herring/ {
69724ba675SRob Herring	compatible = "marvell,armada385", "marvell,armada380";
70724ba675SRob Herring
71724ba675SRob Herring	aliases {
72724ba675SRob Herring		/* So that mvebu u-boot can update the MAC addresses */
73724ba675SRob Herring		ethernet1 = &eth0;
74724ba675SRob Herring		ethernet2 = &eth1;
75724ba675SRob Herring		ethernet3 = &eth2;
76724ba675SRob Herring		i2c0 = &i2c0;
77724ba675SRob Herring		i2c1 = &i2c1;
78724ba675SRob Herring	};
79724ba675SRob Herring
80724ba675SRob Herring	chosen {
81724ba675SRob Herring		stdout-path = "serial0:115200n8";
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	memory {
85724ba675SRob Herring		device_type = "memory";
86724ba675SRob Herring		reg = <0x00000000 0x10000000>; /* 256 MB */
87724ba675SRob Herring	};
88724ba675SRob Herring
89724ba675SRob Herring	reg_3p3v: regulator-3p3v {
90724ba675SRob Herring		compatible = "regulator-fixed";
91724ba675SRob Herring		regulator-name = "3P3V";
92724ba675SRob Herring		regulator-min-microvolt = <3300000>;
93724ba675SRob Herring		regulator-max-microvolt = <3300000>;
94724ba675SRob Herring		regulator-always-on;
95724ba675SRob Herring	};
96724ba675SRob Herring
97724ba675SRob Herring	reg_5p0v: regulator-5p0v {
98724ba675SRob Herring		compatible = "regulator-fixed";
99724ba675SRob Herring		regulator-name = "5P0V";
100724ba675SRob Herring		regulator-min-microvolt = <5000000>;
101724ba675SRob Herring		regulator-max-microvolt = <5000000>;
102724ba675SRob Herring		regulator-always-on;
103724ba675SRob Herring	};
104724ba675SRob Herring
105724ba675SRob Herring	v_usb3_con: regulator-v-usb3-con {
106724ba675SRob Herring		compatible = "regulator-fixed";
107724ba675SRob Herring		gpio = <&gpio0 22 GPIO_ACTIVE_LOW>;
108724ba675SRob Herring		pinctrl-names = "default";
109724ba675SRob Herring		pinctrl-0 = <&cf_gtr_usb3_con_vbus>;
110724ba675SRob Herring		regulator-max-microvolt = <5000000>;
111724ba675SRob Herring		regulator-min-microvolt = <5000000>;
112724ba675SRob Herring		regulator-name = "v_usb3_con";
113724ba675SRob Herring		vin-supply = <&reg_5p0v>;
114724ba675SRob Herring		regulator-boot-on;
115724ba675SRob Herring		regulator-always-on;
116724ba675SRob Herring	};
117724ba675SRob Herring
118724ba675SRob Herring	soc {
119724ba675SRob Herring		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
120724ba675SRob Herring			  MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
121724ba675SRob Herring			  MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
122724ba675SRob Herring			  MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
123724ba675SRob Herring			  MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
124724ba675SRob Herring
125724ba675SRob Herring		internal-regs {
126724ba675SRob Herring
127724ba675SRob Herring			rtc@a3800 {
128724ba675SRob Herring				status = "okay";
129724ba675SRob Herring			};
130724ba675SRob Herring
131724ba675SRob Herring			i2c@11000 { /* ROM, temp sensor and front panel */
132724ba675SRob Herring				pinctrl-0 = <&i2c0_pins>;
133724ba675SRob Herring				pinctrl-names = "default";
134724ba675SRob Herring				status = "okay";
135724ba675SRob Herring			};
136724ba675SRob Herring
137724ba675SRob Herring			i2c@11100 { /* SFP (CON5/CON6) */
138724ba675SRob Herring				pinctrl-0 = <&cf_gtr_i2c1_pins>;
139724ba675SRob Herring				pinctrl-names = "default";
140724ba675SRob Herring				status = "okay";
141724ba675SRob Herring			};
142724ba675SRob Herring
143724ba675SRob Herring			pinctrl@18000 {
144724ba675SRob Herring				cf_gtr_fan_pwm: cf-gtr-fan-pwm {
145724ba675SRob Herring					marvell,pins = "mpp23";
146724ba675SRob Herring					marvell,function = "gpio";
147724ba675SRob Herring				};
148724ba675SRob Herring
149d265e1feSJosua Mayer				cf_gtr_front_button_pins: cf-gtr-front-button-pins {
150d265e1feSJosua Mayer					marvell,pins = "mpp53";
151d265e1feSJosua Mayer					marvell,function = "gpio";
152d265e1feSJosua Mayer				};
153d265e1feSJosua Mayer
154724ba675SRob Herring				cf_gtr_i2c1_pins: i2c1-pins {
155724ba675SRob Herring					/* SFP */
156724ba675SRob Herring					marvell,pins = "mpp26", "mpp27";
157724ba675SRob Herring					marvell,function = "i2c1";
158724ba675SRob Herring				};
159724ba675SRob Herring
160724ba675SRob Herring				cf_gtr_isolation_pins: cf-gtr-isolation-pins {
161724ba675SRob Herring					marvell,pins = "mpp47";
162724ba675SRob Herring					marvell,function = "gpio";
163724ba675SRob Herring				};
164724ba675SRob Herring
165*0d390855SJosua Mayer				cf_gtr_led_pins: led-pins {
166*0d390855SJosua Mayer					marvell,pins = "mpp42", "mpp52";
167*0d390855SJosua Mayer					marvell,function = "gpio";
168*0d390855SJosua Mayer				};
169*0d390855SJosua Mayer
170*0d390855SJosua Mayer				cf_gtr_lte_disable_pins: lte-disable-pins {
171*0d390855SJosua Mayer					marvell,pins = "mpp34";
172*0d390855SJosua Mayer					marvell,function = "gpio";
173*0d390855SJosua Mayer				};
174*0d390855SJosua Mayer
175*0d390855SJosua Mayer				cf_gtr_pci_pins: pci-pins {
176*0d390855SJosua Mayer					// pci reset
177*0d390855SJosua Mayer					marvell,pins = "mpp33", "mpp35", "mpp44";
178*0d390855SJosua Mayer					marvell,function = "gpio";
179*0d390855SJosua Mayer				};
180*0d390855SJosua Mayer
181724ba675SRob Herring				cf_gtr_poe_reset_pins: cf-gtr-poe-reset-pins {
182724ba675SRob Herring					marvell,pins = "mpp48";
183724ba675SRob Herring					marvell,function = "gpio";
184724ba675SRob Herring				};
185724ba675SRob Herring
186d265e1feSJosua Mayer				cf_gtr_rear_button_pins: cf-gtr-rear-button-pins {
187d265e1feSJosua Mayer					marvell,pins = "mpp36";
188d265e1feSJosua Mayer					marvell,function = "gpio";
189d265e1feSJosua Mayer				};
190d265e1feSJosua Mayer
191d265e1feSJosua Mayer				cf_gtr_sdhci_pins: cf-gtr-sdhci-pins {
192d265e1feSJosua Mayer					marvell,pins = "mpp21", "mpp28",
193d265e1feSJosua Mayer						       "mpp37", "mpp38",
194d265e1feSJosua Mayer						       "mpp39", "mpp40";
195d265e1feSJosua Mayer					marvell,function = "sd0";
196d265e1feSJosua Mayer				};
197d265e1feSJosua Mayer
198*0d390855SJosua Mayer				cf_gtr_sfp0_pins: sfp0-pins {
199*0d390855SJosua Mayer					/* sfp modabs, txdisable */
200*0d390855SJosua Mayer					marvell,pins = "mpp25", "mpp46";
201*0d390855SJosua Mayer					marvell,function = "gpio";
202*0d390855SJosua Mayer				};
203*0d390855SJosua Mayer
204724ba675SRob Herring				cf_gtr_spi1_cs_pins: spi1-cs-pins {
205724ba675SRob Herring					marvell,pins = "mpp59";
206724ba675SRob Herring					marvell,function = "spi1";
207724ba675SRob Herring				};
208724ba675SRob Herring
209d265e1feSJosua Mayer				cf_gtr_switch_reset_pins: cf-gtr-switch-reset-pins {
210d265e1feSJosua Mayer					marvell,pins = "mpp18";
211724ba675SRob Herring					marvell,function = "gpio";
212724ba675SRob Herring				};
213724ba675SRob Herring
214d265e1feSJosua Mayer				cf_gtr_usb3_con_vbus: cf-gtr-usb3-con-vbus {
215d265e1feSJosua Mayer					marvell,pins = "mpp22";
216724ba675SRob Herring					marvell,function = "gpio";
217724ba675SRob Herring				};
218*0d390855SJosua Mayer
219*0d390855SJosua Mayer				cf_gtr_wifi_disable_pins: wifi-disable-pins {
220*0d390855SJosua Mayer					marvell,pins = "mpp30", "mpp31";
221*0d390855SJosua Mayer					marvell,function = "gpio";
222*0d390855SJosua Mayer				};
223724ba675SRob Herring			};
224724ba675SRob Herring
225724ba675SRob Herring			sdhci@d8000 {
226724ba675SRob Herring				bus-width = <4>;
227724ba675SRob Herring				no-1-8-v;
228724ba675SRob Herring				non-removable;
229724ba675SRob Herring				pinctrl-0 = <&cf_gtr_sdhci_pins>;
230724ba675SRob Herring				pinctrl-names = "default";
231724ba675SRob Herring				status = "okay";
232724ba675SRob Herring				vmmc = <&reg_3p3v>;
233724ba675SRob Herring				wp-inverted;
234724ba675SRob Herring			};
235724ba675SRob Herring
236724ba675SRob Herring			usb@58000 {
237724ba675SRob Herring				status = "okay";
238724ba675SRob Herring			};
239724ba675SRob Herring
240724ba675SRob Herring			usb3@f0000 {
241724ba675SRob Herring				status = "okay";
242724ba675SRob Herring			};
243724ba675SRob Herring
244724ba675SRob Herring			usb3@f8000 {
245724ba675SRob Herring				vbus-supply = <&v_usb3_con>;
246724ba675SRob Herring				status = "okay";
247724ba675SRob Herring			};
248724ba675SRob Herring		};
249724ba675SRob Herring
250724ba675SRob Herring		pcie {
251*0d390855SJosua Mayer			pinctrl-0 = <&cf_gtr_pci_pins>;
252*0d390855SJosua Mayer			pinctrl-names = "default";
253724ba675SRob Herring			status = "okay";
254724ba675SRob Herring			/*
255724ba675SRob Herring			 * The PCIe units are accessible through
256724ba675SRob Herring			 * the mini-PCIe connectors on the board.
257724ba675SRob Herring			 */
258*0d390855SJosua Mayer			/* CON3 - serdes 0 */
259724ba675SRob Herring			pcie@1,0 {
260724ba675SRob Herring				reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
261724ba675SRob Herring				status = "okay";
262724ba675SRob Herring			};
263724ba675SRob Herring
264*0d390855SJosua Mayer			/* CON4 - serdes 2 */
265724ba675SRob Herring			pcie@2,0 {
266724ba675SRob Herring				reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
267724ba675SRob Herring				status = "okay";
268724ba675SRob Herring			};
269724ba675SRob Herring
270*0d390855SJosua Mayer			/* CON2 - serdes 4 */
271724ba675SRob Herring			pcie@3,0 {
272724ba675SRob Herring				reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
273724ba675SRob Herring				status = "okay";
274724ba675SRob Herring			};
275724ba675SRob Herring		};
276724ba675SRob Herring	};
277724ba675SRob Herring
278*0d390855SJosua Mayer	/* CON5 */
279724ba675SRob Herring	sfp0: sfp {
280724ba675SRob Herring		compatible = "sff,sfp";
281*0d390855SJosua Mayer		pinctrl-0 = <&cf_gtr_sfp0_pins>;
282*0d390855SJosua Mayer		pinctrl-names = "default";
283724ba675SRob Herring		i2c-bus = <&i2c1>;
284724ba675SRob Herring		mod-def0-gpio = <&gpio0 25 GPIO_ACTIVE_LOW>;
285724ba675SRob Herring		tx-disable-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
286724ba675SRob Herring	};
287724ba675SRob Herring
288724ba675SRob Herring	gpio-keys {
289724ba675SRob Herring		compatible = "gpio-keys";
290724ba675SRob Herring		pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>;
291724ba675SRob Herring		pinctrl-names = "default";
292724ba675SRob Herring
293724ba675SRob Herring		button-0 {
294724ba675SRob Herring			label = "Rear Button";
295724ba675SRob Herring			gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
296724ba675SRob Herring			linux,can-disable;
297724ba675SRob Herring			linux,code = <BTN_0>;
298724ba675SRob Herring		};
299724ba675SRob Herring
300724ba675SRob Herring		button-1 {
301724ba675SRob Herring			label = "Front Button";
302724ba675SRob Herring			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
303724ba675SRob Herring			linux,can-disable;
304724ba675SRob Herring			linux,code = <BTN_1>;
305724ba675SRob Herring		};
306724ba675SRob Herring	};
307724ba675SRob Herring
308724ba675SRob Herring	gpio-leds {
309724ba675SRob Herring		compatible = "gpio-leds";
310*0d390855SJosua Mayer		pinctrl-0 = <&cf_gtr_led_pins>;
311*0d390855SJosua Mayer		pinctrl-names = "default";
312724ba675SRob Herring
313724ba675SRob Herring		led1 {
314724ba675SRob Herring			function = LED_FUNCTION_CPU;
315724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
316724ba675SRob Herring			gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
317724ba675SRob Herring		};
318724ba675SRob Herring
319724ba675SRob Herring		led2 {
320724ba675SRob Herring			function = LED_FUNCTION_HEARTBEAT;
321724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
322724ba675SRob Herring			gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
323724ba675SRob Herring		};
324724ba675SRob Herring	};
325724ba675SRob Herring};
326724ba675SRob Herring
327724ba675SRob Herring&bm {
328724ba675SRob Herring	status = "okay";
329724ba675SRob Herring};
330724ba675SRob Herring
331724ba675SRob Herring&bm_bppi {
332724ba675SRob Herring	status = "okay";
333724ba675SRob Herring};
334724ba675SRob Herring
335724ba675SRob Herring&eth0 {
336724ba675SRob Herring	/* ethernet@70000 */
337724ba675SRob Herring	pinctrl-0 = <&ge0_rgmii_pins>;
338724ba675SRob Herring	pinctrl-names = "default";
339724ba675SRob Herring	phy = <&phy_dedicated>;
340724ba675SRob Herring	phy-mode = "rgmii-id";
341724ba675SRob Herring	buffer-manager = <&bm>;
342724ba675SRob Herring	bm,pool-long = <0>;
343724ba675SRob Herring	bm,pool-short = <1>;
344724ba675SRob Herring	status = "okay";
345724ba675SRob Herring};
346724ba675SRob Herring
347724ba675SRob Herring&eth1 {
348724ba675SRob Herring	/* ethernet@30000 */
349724ba675SRob Herring	bm,pool-long = <2>;
350724ba675SRob Herring	bm,pool-short = <1>;
351724ba675SRob Herring	buffer-manager = <&bm>;
352724ba675SRob Herring	phys = <&comphy1 1>;
353724ba675SRob Herring	phy-mode = "2500base-x";
354724ba675SRob Herring	status = "okay";
355724ba675SRob Herring
356724ba675SRob Herring	fixed-link {
357724ba675SRob Herring		speed = <2500>;
358724ba675SRob Herring		full-duplex;
359724ba675SRob Herring	};
360724ba675SRob Herring};
361724ba675SRob Herring
362724ba675SRob Herring&eth2 {
363724ba675SRob Herring	/* ethernet@34000 */
364724ba675SRob Herring	bm,pool-long = <3>;
365724ba675SRob Herring	bm,pool-short = <1>;
366724ba675SRob Herring	buffer-manager = <&bm>;
367724ba675SRob Herring	managed = "in-band-status";
368724ba675SRob Herring	phys = <&comphy5 1>;
369724ba675SRob Herring	phy-mode = "sgmii";
370724ba675SRob Herring	sfp = <&sfp0>;
371724ba675SRob Herring	status = "okay";
372724ba675SRob Herring};
373724ba675SRob Herring
374724ba675SRob Herring&mdio {
375724ba675SRob Herring	pinctrl-names = "default";
376724ba675SRob Herring	pinctrl-0 = <&mdio_pins>;
377724ba675SRob Herring	status = "okay";
378724ba675SRob Herring
379724ba675SRob Herring	phy_dedicated: ethernet-phy@0 {
380724ba675SRob Herring		/*
381724ba675SRob Herring		 * Annoyingly, the marvell phy driver configures the LED
382724ba675SRob Herring		 * register, rather than preserving reset-loaded setting.
383724ba675SRob Herring		 * We undo that rubbish here.
384724ba675SRob Herring		 */
385724ba675SRob Herring		marvell,reg-init = <3 16 0 0x1017>;
386724ba675SRob Herring		reg = <0>;
387724ba675SRob Herring	};
388724ba675SRob Herring};
389724ba675SRob Herring
390724ba675SRob Herring&uart0 {
391724ba675SRob Herring	pinctrl-0 = <&uart0_pins>;
392724ba675SRob Herring	pinctrl-names = "default";
393724ba675SRob Herring	status = "okay";
394724ba675SRob Herring};
395724ba675SRob Herring
396724ba675SRob Herring&spi1 {
397724ba675SRob Herring	/*
398724ba675SRob Herring	 * CS0: W25Q32 flash
399724ba675SRob Herring	 */
400724ba675SRob Herring	pinctrl-0 = <&spi1_pins &cf_gtr_spi1_cs_pins>;
401724ba675SRob Herring	pinctrl-names = "default";
402724ba675SRob Herring	status = "okay";
403724ba675SRob Herring
404724ba675SRob Herring	flash@0 {
405724ba675SRob Herring		#address-cells = <1>;
406724ba675SRob Herring		#size-cells = <0>;
407724ba675SRob Herring		compatible = "w25q32", "jedec,spi-nor";
408724ba675SRob Herring		reg = <0>; /* Chip select 0 */
409724ba675SRob Herring		spi-max-frequency = <3000000>;
410724ba675SRob Herring		status = "okay";
411724ba675SRob Herring	};
412724ba675SRob Herring};
413724ba675SRob Herring
414724ba675SRob Herring&i2c0 {
415724ba675SRob Herring	pinctrl-0 = <&i2c0_pins>;
416724ba675SRob Herring	pinctrl-names = "default";
417724ba675SRob Herring	status = "okay";
418724ba675SRob Herring
419724ba675SRob Herring	/* U26 temperature sensor placed near SoC */
420724ba675SRob Herring	temp1: nct75@4c {
421724ba675SRob Herring		compatible = "lm75";
422724ba675SRob Herring		reg = <0x4c>;
423724ba675SRob Herring	};
424724ba675SRob Herring
425724ba675SRob Herring	/* U27 temperature sensor placed near RTC battery */
426724ba675SRob Herring	temp2: nct75@4d {
427724ba675SRob Herring		compatible = "lm75";
428724ba675SRob Herring		reg = <0x4d>;
429724ba675SRob Herring	};
430724ba675SRob Herring
431724ba675SRob Herring	/* 2Kb eeprom */
432724ba675SRob Herring	eeprom@53 {
433724ba675SRob Herring		compatible = "atmel,24c02";
434724ba675SRob Herring		reg = <0x53>;
435724ba675SRob Herring	};
436724ba675SRob Herring};
437724ba675SRob Herring
438724ba675SRob Herring&ahci0 {
439724ba675SRob Herring	status = "okay";
440724ba675SRob Herring};
441724ba675SRob Herring
442724ba675SRob Herring&ahci1 {
443724ba675SRob Herring	status = "okay";
444724ba675SRob Herring};
445724ba675SRob Herring
446724ba675SRob Herring&gpio0 {
447*0d390855SJosua Mayer	pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>;
448724ba675SRob Herring	pinctrl-names = "default";
449724ba675SRob Herring
450724ba675SRob Herring	wifi-disable {
451724ba675SRob Herring		gpio-hog;
452724ba675SRob Herring		gpios = <30 GPIO_ACTIVE_LOW>, <31 GPIO_ACTIVE_LOW>;
453724ba675SRob Herring		output-low;
454724ba675SRob Herring		line-name = "wifi-disable";
455724ba675SRob Herring	};
456724ba675SRob Herring};
457724ba675SRob Herring
458724ba675SRob Herring&gpio1 {
459*0d390855SJosua Mayer	pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>;
460724ba675SRob Herring	pinctrl-names = "default";
461724ba675SRob Herring
462724ba675SRob Herring	lte-disable {
463724ba675SRob Herring		gpio-hog;
464724ba675SRob Herring		gpios = <2 GPIO_ACTIVE_LOW>;
465724ba675SRob Herring		output-low;
466724ba675SRob Herring		line-name = "lte-disable";
467724ba675SRob Herring	};
468724ba675SRob Herring
469724ba675SRob Herring	/*
470724ba675SRob Herring	 * This signal, when asserted, isolates Armada 38x sample at reset pins
471724ba675SRob Herring	 * from control of external devices. Should be de-asserted after reset.
472724ba675SRob Herring	 */
473724ba675SRob Herring	sar-isolation {
474724ba675SRob Herring		gpio-hog;
475724ba675SRob Herring		gpios = <15 GPIO_ACTIVE_LOW>;
476724ba675SRob Herring		output-low;
477724ba675SRob Herring		line-name = "sar-isolation";
478724ba675SRob Herring	};
479724ba675SRob Herring
480724ba675SRob Herring	poe-reset {
481724ba675SRob Herring		gpio-hog;
482724ba675SRob Herring		gpios = <16 GPIO_ACTIVE_LOW>;
483724ba675SRob Herring		output-low;
484724ba675SRob Herring		line-name = "poe-reset";
485724ba675SRob Herring	};
486724ba675SRob Herring};
487