xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-dfi-fs700-m60.dtsi (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
3724ba675SRob Herring
4724ba675SRob Herring/ {
5*ec20d468SFabio Estevam	dummy_reg: regulator-dummy {
6724ba675SRob Herring		compatible = "regulator-fixed";
7724ba675SRob Herring		regulator-name = "dummy-supply";
8724ba675SRob Herring	};
9724ba675SRob Herring
10*ec20d468SFabio Estevam	reg_usb_otg_vbus: regulator-usb-otg-vbus {
11724ba675SRob Herring		compatible = "regulator-fixed";
12724ba675SRob Herring		regulator-name = "usb_otg_vbus";
13724ba675SRob Herring		regulator-min-microvolt = <5000000>;
14724ba675SRob Herring		regulator-max-microvolt = <5000000>;
15724ba675SRob Herring		gpio = <&gpio3 22 0>;
16724ba675SRob Herring		enable-active-high;
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	chosen {
20724ba675SRob Herring		stdout-path = &uart1;
21724ba675SRob Herring	};
22724ba675SRob Herring};
23724ba675SRob Herring
24724ba675SRob Herring&ecspi3 {
25724ba675SRob Herring	cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
26724ba675SRob Herring	pinctrl-names = "default";
27724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi3>;
28724ba675SRob Herring	status = "okay";
29724ba675SRob Herring
30724ba675SRob Herring	flash: flash@0 {
31724ba675SRob Herring		#address-cells = <1>;
32724ba675SRob Herring		#size-cells = <1>;
33724ba675SRob Herring		compatible = "sst,sst25vf040b", "jedec,spi-nor";
34724ba675SRob Herring		spi-max-frequency = <20000000>;
35724ba675SRob Herring		reg = <0>;
36724ba675SRob Herring	};
37724ba675SRob Herring};
38724ba675SRob Herring
39724ba675SRob Herring&fec {
40724ba675SRob Herring	pinctrl-names = "default";
41724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
42724ba675SRob Herring	status = "okay";
43724ba675SRob Herring	phy-mode = "rgmii";
44724ba675SRob Herring};
45724ba675SRob Herring
46724ba675SRob Herring&iomuxc {
47724ba675SRob Herring	pinctrl-names = "default";
48724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
49724ba675SRob Herring
50724ba675SRob Herring	imx6qdl-dfi-fs700-m60 {
51724ba675SRob Herring		pinctrl_hog: hoggrp {
52724ba675SRob Herring			fsl,pins = <
53724ba675SRob Herring				MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x80000000
54724ba675SRob Herring				MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x80000000 /* PMIC irq */
55724ba675SRob Herring				MX6QDL_PAD_EIM_D26__GPIO3_IO26 0x80000000 /* MAX11801 irq */
56724ba675SRob Herring				MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x000030b0 /* Backlight enable */
57724ba675SRob Herring			>;
58724ba675SRob Herring		};
59724ba675SRob Herring
60724ba675SRob Herring		pinctrl_enet: enetgrp {
61724ba675SRob Herring			fsl,pins = <
62724ba675SRob Herring				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
63724ba675SRob Herring				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
64724ba675SRob Herring				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
65724ba675SRob Herring				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
66724ba675SRob Herring				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
67724ba675SRob Herring				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
68724ba675SRob Herring				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
69724ba675SRob Herring				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
70724ba675SRob Herring				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
71724ba675SRob Herring				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
72724ba675SRob Herring				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
73724ba675SRob Herring				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
74724ba675SRob Herring				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
75724ba675SRob Herring				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
76724ba675SRob Herring				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
77724ba675SRob Herring				MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
78724ba675SRob Herring			>;
79724ba675SRob Herring		};
80724ba675SRob Herring
81724ba675SRob Herring		pinctrl_i2c2: i2c2grp {
82724ba675SRob Herring			fsl,pins = <
83724ba675SRob Herring				MX6QDL_PAD_EIM_EB2__I2C2_SCL		0x4001b8b1
84724ba675SRob Herring				MX6QDL_PAD_EIM_D16__I2C2_SDA		0x4001b8b1
85724ba675SRob Herring			>;
86724ba675SRob Herring		};
87724ba675SRob Herring
88724ba675SRob Herring		pinctrl_uart1: uart1grp {
89724ba675SRob Herring			fsl,pins = <
90724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
91724ba675SRob Herring				MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0b1
92724ba675SRob Herring			>;
93724ba675SRob Herring		};
94724ba675SRob Herring
95724ba675SRob Herring		pinctrl_usbotg: usbotggrp {
96724ba675SRob Herring			fsl,pins = <
97724ba675SRob Herring				MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x17059
98724ba675SRob Herring			>;
99724ba675SRob Herring		};
100724ba675SRob Herring
101724ba675SRob Herring		pinctrl_usdhc2: usdhc2grp {
102724ba675SRob Herring			fsl,pins = <
103724ba675SRob Herring				MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
104724ba675SRob Herring				MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
105724ba675SRob Herring				MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
106724ba675SRob Herring				MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
107724ba675SRob Herring				MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
108724ba675SRob Herring				MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
109724ba675SRob Herring				MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x80000000 /* card detect */
110724ba675SRob Herring			>;
111724ba675SRob Herring		};
112724ba675SRob Herring
113724ba675SRob Herring		pinctrl_usdhc3: usdhc3grp {
114724ba675SRob Herring			fsl,pins = <
115724ba675SRob Herring				MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
116724ba675SRob Herring				MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
117724ba675SRob Herring				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
118724ba675SRob Herring				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
119724ba675SRob Herring				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
120724ba675SRob Herring				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
121724ba675SRob Herring			>;
122724ba675SRob Herring		};
123724ba675SRob Herring
124724ba675SRob Herring		pinctrl_usdhc4: usdhc4grp {
125724ba675SRob Herring			fsl,pins = <
126724ba675SRob Herring				MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
127724ba675SRob Herring				MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
128724ba675SRob Herring				MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
129724ba675SRob Herring				MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
130724ba675SRob Herring				MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
131724ba675SRob Herring				MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
132724ba675SRob Herring				MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
133724ba675SRob Herring				MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
134724ba675SRob Herring				MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
135724ba675SRob Herring				MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
136724ba675SRob Herring			>;
137724ba675SRob Herring		};
138724ba675SRob Herring
139724ba675SRob Herring		pinctrl_ecspi3: ecspi3grp {
140724ba675SRob Herring			fsl,pins = <
141724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO	0x100b1
142724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI	0x100b1
143724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK	0x100b1
144724ba675SRob Herring				MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
145724ba675SRob Herring			>;
146724ba675SRob Herring		};
147724ba675SRob Herring	};
148724ba675SRob Herring};
149724ba675SRob Herring
150724ba675SRob Herring&i2c2 {
151724ba675SRob Herring	pinctrl-names = "default";
152724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
153724ba675SRob Herring	status = "okay";
154724ba675SRob Herring};
155724ba675SRob Herring
156724ba675SRob Herring&uart1 {
157724ba675SRob Herring	pinctrl-names = "default";
158724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
159724ba675SRob Herring	status = "okay";
160724ba675SRob Herring};
161724ba675SRob Herring
162724ba675SRob Herring&usbh1 {
163724ba675SRob Herring	status = "okay";
164724ba675SRob Herring};
165724ba675SRob Herring
166724ba675SRob Herring&usbotg {
167724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
168724ba675SRob Herring	pinctrl-names = "default";
169724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
170724ba675SRob Herring	disable-over-current;
171724ba675SRob Herring	dr_mode = "host";
172724ba675SRob Herring	status = "okay";
173724ba675SRob Herring};
174724ba675SRob Herring
175724ba675SRob Herring&usdhc2 { /* module slot */
176724ba675SRob Herring	pinctrl-names = "default";
177724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
178724ba675SRob Herring	cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
179724ba675SRob Herring	status = "okay";
180724ba675SRob Herring};
181724ba675SRob Herring
182724ba675SRob Herring&usdhc3 { /* baseboard slot */
183724ba675SRob Herring	pinctrl-names = "default";
184724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
185724ba675SRob Herring};
186724ba675SRob Herring
187724ba675SRob Herring&usdhc4 { /* eMMC */
188724ba675SRob Herring	pinctrl-names = "default";
189724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc4>;
190724ba675SRob Herring	bus-width = <8>;
191724ba675SRob Herring	non-removable;
192724ba675SRob Herring	status = "okay";
193724ba675SRob Herring};
194