xref: /linux/scripts/dtc/include-prefixes/arm/marvell/armada-385-clearfog-gtr.dtsi (revision 429cc56b8de40a51c2c08850ca717ef3e1c2bf3d)
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
1650d390855SJosua Mayer				cf_gtr_led_pins: led-pins {
1660d390855SJosua Mayer					marvell,pins = "mpp42", "mpp52";
1670d390855SJosua Mayer					marvell,function = "gpio";
1680d390855SJosua Mayer				};
1690d390855SJosua Mayer
1700d390855SJosua Mayer				cf_gtr_lte_disable_pins: lte-disable-pins {
1710d390855SJosua Mayer					marvell,pins = "mpp34";
1720d390855SJosua Mayer					marvell,function = "gpio";
1730d390855SJosua Mayer				};
1740d390855SJosua Mayer
1750d390855SJosua Mayer				cf_gtr_pci_pins: pci-pins {
1760d390855SJosua Mayer					// pci reset
1770d390855SJosua Mayer					marvell,pins = "mpp33", "mpp35", "mpp44";
1780d390855SJosua Mayer					marvell,function = "gpio";
1790d390855SJosua Mayer				};
1800d390855SJosua 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
1980d390855SJosua Mayer				cf_gtr_sfp0_pins: sfp0-pins {
1990d390855SJosua Mayer					/* sfp modabs, txdisable */
2000d390855SJosua Mayer					marvell,pins = "mpp25", "mpp46";
2010d390855SJosua Mayer					marvell,function = "gpio";
2020d390855SJosua Mayer				};
2030d390855SJosua Mayer
204*429cc56bSJosua Mayer				cf_gtr_sfp1_pins: sfp1-pins {
205*429cc56bSJosua Mayer					/* sfp modabs, txdisable */
206*429cc56bSJosua Mayer					marvell,pins = "mpp24", "mpp54";
207*429cc56bSJosua Mayer					marvell,function = "gpio";
208*429cc56bSJosua Mayer				};
209*429cc56bSJosua Mayer
210724ba675SRob Herring				cf_gtr_spi1_cs_pins: spi1-cs-pins {
211724ba675SRob Herring					marvell,pins = "mpp59";
212724ba675SRob Herring					marvell,function = "spi1";
213724ba675SRob Herring				};
214724ba675SRob Herring
215d265e1feSJosua Mayer				cf_gtr_switch_reset_pins: cf-gtr-switch-reset-pins {
216d265e1feSJosua Mayer					marvell,pins = "mpp18";
217724ba675SRob Herring					marvell,function = "gpio";
218724ba675SRob Herring				};
219724ba675SRob Herring
220d265e1feSJosua Mayer				cf_gtr_usb3_con_vbus: cf-gtr-usb3-con-vbus {
221d265e1feSJosua Mayer					marvell,pins = "mpp22";
222724ba675SRob Herring					marvell,function = "gpio";
223724ba675SRob Herring				};
2240d390855SJosua Mayer
2250d390855SJosua Mayer				cf_gtr_wifi_disable_pins: wifi-disable-pins {
2260d390855SJosua Mayer					marvell,pins = "mpp30", "mpp31";
2270d390855SJosua Mayer					marvell,function = "gpio";
2280d390855SJosua Mayer				};
229724ba675SRob Herring			};
230724ba675SRob Herring
231724ba675SRob Herring			sdhci@d8000 {
232724ba675SRob Herring				bus-width = <4>;
233724ba675SRob Herring				no-1-8-v;
234724ba675SRob Herring				non-removable;
235724ba675SRob Herring				pinctrl-0 = <&cf_gtr_sdhci_pins>;
236724ba675SRob Herring				pinctrl-names = "default";
237724ba675SRob Herring				status = "okay";
238724ba675SRob Herring				vmmc = <&reg_3p3v>;
239724ba675SRob Herring				wp-inverted;
240724ba675SRob Herring			};
241724ba675SRob Herring
242724ba675SRob Herring			usb@58000 {
243724ba675SRob Herring				status = "okay";
244724ba675SRob Herring			};
245724ba675SRob Herring
246724ba675SRob Herring			usb3@f0000 {
247724ba675SRob Herring				status = "okay";
248724ba675SRob Herring			};
249724ba675SRob Herring
250724ba675SRob Herring			usb3@f8000 {
251724ba675SRob Herring				vbus-supply = <&v_usb3_con>;
252724ba675SRob Herring				status = "okay";
253724ba675SRob Herring			};
254724ba675SRob Herring		};
255724ba675SRob Herring
256724ba675SRob Herring		pcie {
2570d390855SJosua Mayer			pinctrl-0 = <&cf_gtr_pci_pins>;
2580d390855SJosua Mayer			pinctrl-names = "default";
259724ba675SRob Herring			status = "okay";
260724ba675SRob Herring			/*
261724ba675SRob Herring			 * The PCIe units are accessible through
262724ba675SRob Herring			 * the mini-PCIe connectors on the board.
263724ba675SRob Herring			 */
2640d390855SJosua Mayer			/* CON3 - serdes 0 */
265724ba675SRob Herring			pcie@1,0 {
266724ba675SRob Herring				reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
267724ba675SRob Herring				status = "okay";
268724ba675SRob Herring			};
269724ba675SRob Herring
2700d390855SJosua Mayer			/* CON4 - serdes 2 */
271724ba675SRob Herring			pcie@2,0 {
272724ba675SRob Herring				reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
273724ba675SRob Herring				status = "okay";
274724ba675SRob Herring			};
275724ba675SRob Herring
2760d390855SJosua Mayer			/* CON2 - serdes 4 */
277724ba675SRob Herring			pcie@3,0 {
278724ba675SRob Herring				reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
279724ba675SRob Herring				status = "okay";
280724ba675SRob Herring			};
281724ba675SRob Herring		};
282724ba675SRob Herring	};
283724ba675SRob Herring
2840d390855SJosua Mayer	/* CON5 */
285*429cc56bSJosua Mayer	sfp0: sfp-0 {
286724ba675SRob Herring		compatible = "sff,sfp";
2870d390855SJosua Mayer		pinctrl-0 = <&cf_gtr_sfp0_pins>;
2880d390855SJosua Mayer		pinctrl-names = "default";
289724ba675SRob Herring		i2c-bus = <&i2c1>;
290724ba675SRob Herring		mod-def0-gpio = <&gpio0 25 GPIO_ACTIVE_LOW>;
291724ba675SRob Herring		tx-disable-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
292724ba675SRob Herring	};
293724ba675SRob Herring
294724ba675SRob Herring	gpio-keys {
295724ba675SRob Herring		compatible = "gpio-keys";
296724ba675SRob Herring		pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>;
297724ba675SRob Herring		pinctrl-names = "default";
298724ba675SRob Herring
299724ba675SRob Herring		button-0 {
300724ba675SRob Herring			label = "Rear Button";
301724ba675SRob Herring			gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
302724ba675SRob Herring			linux,can-disable;
303724ba675SRob Herring			linux,code = <BTN_0>;
304724ba675SRob Herring		};
305724ba675SRob Herring
306724ba675SRob Herring		button-1 {
307724ba675SRob Herring			label = "Front Button";
308724ba675SRob Herring			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
309724ba675SRob Herring			linux,can-disable;
310724ba675SRob Herring			linux,code = <BTN_1>;
311724ba675SRob Herring		};
312724ba675SRob Herring	};
313724ba675SRob Herring
314724ba675SRob Herring	gpio-leds {
315724ba675SRob Herring		compatible = "gpio-leds";
3160d390855SJosua Mayer		pinctrl-0 = <&cf_gtr_led_pins>;
3170d390855SJosua Mayer		pinctrl-names = "default";
318724ba675SRob Herring
319724ba675SRob Herring		led1 {
320724ba675SRob Herring			function = LED_FUNCTION_CPU;
321724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
322724ba675SRob Herring			gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
323724ba675SRob Herring		};
324724ba675SRob Herring
325724ba675SRob Herring		led2 {
326724ba675SRob Herring			function = LED_FUNCTION_HEARTBEAT;
327724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
328724ba675SRob Herring			gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
329724ba675SRob Herring		};
330724ba675SRob Herring	};
331724ba675SRob Herring};
332724ba675SRob Herring
333724ba675SRob Herring&bm {
334724ba675SRob Herring	status = "okay";
335724ba675SRob Herring};
336724ba675SRob Herring
337724ba675SRob Herring&bm_bppi {
338724ba675SRob Herring	status = "okay";
339724ba675SRob Herring};
340724ba675SRob Herring
341724ba675SRob Herring&eth0 {
342724ba675SRob Herring	/* ethernet@70000 */
343724ba675SRob Herring	pinctrl-0 = <&ge0_rgmii_pins>;
344724ba675SRob Herring	pinctrl-names = "default";
345724ba675SRob Herring	phy = <&phy_dedicated>;
346724ba675SRob Herring	phy-mode = "rgmii-id";
347724ba675SRob Herring	buffer-manager = <&bm>;
348724ba675SRob Herring	bm,pool-long = <0>;
349724ba675SRob Herring	bm,pool-short = <1>;
350724ba675SRob Herring	status = "okay";
351724ba675SRob Herring};
352724ba675SRob Herring
353724ba675SRob Herring&eth1 {
354724ba675SRob Herring	/* ethernet@30000 */
355724ba675SRob Herring	bm,pool-long = <2>;
356724ba675SRob Herring	bm,pool-short = <1>;
357724ba675SRob Herring	buffer-manager = <&bm>;
358724ba675SRob Herring	phys = <&comphy1 1>;
359724ba675SRob Herring	phy-mode = "2500base-x";
360724ba675SRob Herring	status = "okay";
361724ba675SRob Herring
362724ba675SRob Herring	fixed-link {
363724ba675SRob Herring		speed = <2500>;
364724ba675SRob Herring		full-duplex;
365724ba675SRob Herring	};
366724ba675SRob Herring};
367724ba675SRob Herring
368724ba675SRob Herring&eth2 {
369724ba675SRob Herring	/* ethernet@34000 */
370724ba675SRob Herring	bm,pool-long = <3>;
371724ba675SRob Herring	bm,pool-short = <1>;
372724ba675SRob Herring	buffer-manager = <&bm>;
373724ba675SRob Herring	managed = "in-band-status";
374724ba675SRob Herring	phys = <&comphy5 1>;
375724ba675SRob Herring	phy-mode = "sgmii";
376724ba675SRob Herring	sfp = <&sfp0>;
377724ba675SRob Herring	status = "okay";
378724ba675SRob Herring};
379724ba675SRob Herring
380724ba675SRob Herring&mdio {
381724ba675SRob Herring	pinctrl-names = "default";
382724ba675SRob Herring	pinctrl-0 = <&mdio_pins>;
383724ba675SRob Herring	status = "okay";
384724ba675SRob Herring
385724ba675SRob Herring	phy_dedicated: ethernet-phy@0 {
386724ba675SRob Herring		/*
387724ba675SRob Herring		 * Annoyingly, the marvell phy driver configures the LED
388724ba675SRob Herring		 * register, rather than preserving reset-loaded setting.
389724ba675SRob Herring		 * We undo that rubbish here.
390724ba675SRob Herring		 */
391724ba675SRob Herring		marvell,reg-init = <3 16 0 0x1017>;
392724ba675SRob Herring		reg = <0>;
393724ba675SRob Herring	};
394724ba675SRob Herring};
395724ba675SRob Herring
396724ba675SRob Herring&uart0 {
397724ba675SRob Herring	pinctrl-0 = <&uart0_pins>;
398724ba675SRob Herring	pinctrl-names = "default";
399724ba675SRob Herring	status = "okay";
400724ba675SRob Herring};
401724ba675SRob Herring
402724ba675SRob Herring&spi1 {
403724ba675SRob Herring	/*
404724ba675SRob Herring	 * CS0: W25Q32 flash
405724ba675SRob Herring	 */
406724ba675SRob Herring	pinctrl-0 = <&spi1_pins &cf_gtr_spi1_cs_pins>;
407724ba675SRob Herring	pinctrl-names = "default";
408724ba675SRob Herring	status = "okay";
409724ba675SRob Herring
410724ba675SRob Herring	flash@0 {
411724ba675SRob Herring		#address-cells = <1>;
412724ba675SRob Herring		#size-cells = <0>;
413724ba675SRob Herring		compatible = "w25q32", "jedec,spi-nor";
414724ba675SRob Herring		reg = <0>; /* Chip select 0 */
415724ba675SRob Herring		spi-max-frequency = <3000000>;
416724ba675SRob Herring		status = "okay";
417724ba675SRob Herring	};
418724ba675SRob Herring};
419724ba675SRob Herring
420724ba675SRob Herring&i2c0 {
421724ba675SRob Herring	pinctrl-0 = <&i2c0_pins>;
422724ba675SRob Herring	pinctrl-names = "default";
423724ba675SRob Herring	status = "okay";
424724ba675SRob Herring
425724ba675SRob Herring	/* U26 temperature sensor placed near SoC */
426724ba675SRob Herring	temp1: nct75@4c {
427724ba675SRob Herring		compatible = "lm75";
428724ba675SRob Herring		reg = <0x4c>;
429724ba675SRob Herring	};
430724ba675SRob Herring
431724ba675SRob Herring	/* U27 temperature sensor placed near RTC battery */
432724ba675SRob Herring	temp2: nct75@4d {
433724ba675SRob Herring		compatible = "lm75";
434724ba675SRob Herring		reg = <0x4d>;
435724ba675SRob Herring	};
436724ba675SRob Herring
437724ba675SRob Herring	/* 2Kb eeprom */
438724ba675SRob Herring	eeprom@53 {
439724ba675SRob Herring		compatible = "atmel,24c02";
440724ba675SRob Herring		reg = <0x53>;
441724ba675SRob Herring	};
442724ba675SRob Herring};
443724ba675SRob Herring
444724ba675SRob Herring&ahci0 {
445724ba675SRob Herring	status = "okay";
446724ba675SRob Herring};
447724ba675SRob Herring
448724ba675SRob Herring&ahci1 {
449724ba675SRob Herring	status = "okay";
450724ba675SRob Herring};
451724ba675SRob Herring
452724ba675SRob Herring&gpio0 {
4530d390855SJosua Mayer	pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>;
454724ba675SRob Herring	pinctrl-names = "default";
455724ba675SRob Herring
456724ba675SRob Herring	wifi-disable {
457724ba675SRob Herring		gpio-hog;
458724ba675SRob Herring		gpios = <30 GPIO_ACTIVE_LOW>, <31 GPIO_ACTIVE_LOW>;
459724ba675SRob Herring		output-low;
460724ba675SRob Herring		line-name = "wifi-disable";
461724ba675SRob Herring	};
462724ba675SRob Herring};
463724ba675SRob Herring
464724ba675SRob Herring&gpio1 {
4650d390855SJosua Mayer	pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>;
466724ba675SRob Herring	pinctrl-names = "default";
467724ba675SRob Herring
468724ba675SRob Herring	lte-disable {
469724ba675SRob Herring		gpio-hog;
470724ba675SRob Herring		gpios = <2 GPIO_ACTIVE_LOW>;
471724ba675SRob Herring		output-low;
472724ba675SRob Herring		line-name = "lte-disable";
473724ba675SRob Herring	};
474724ba675SRob Herring
475724ba675SRob Herring	/*
476724ba675SRob Herring	 * This signal, when asserted, isolates Armada 38x sample at reset pins
477724ba675SRob Herring	 * from control of external devices. Should be de-asserted after reset.
478724ba675SRob Herring	 */
479724ba675SRob Herring	sar-isolation {
480724ba675SRob Herring		gpio-hog;
481724ba675SRob Herring		gpios = <15 GPIO_ACTIVE_LOW>;
482724ba675SRob Herring		output-low;
483724ba675SRob Herring		line-name = "sar-isolation";
484724ba675SRob Herring	};
485724ba675SRob Herring
486724ba675SRob Herring	poe-reset {
487724ba675SRob Herring		gpio-hog;
488724ba675SRob Herring		gpios = <16 GPIO_ACTIVE_LOW>;
489724ba675SRob Herring		output-low;
490724ba675SRob Herring		line-name = "poe-reset";
491724ba675SRob Herring	};
492724ba675SRob Herring};
493