4 * SPDX-License-Identifier: GPL-2.0+
12 model = "Freescale i.MX7 SabreSD Board";
13 compatible = "fsl,imx7d-sdb", "fsl,imx7d";
16 reg = <0x80000000 0x80000000>;
20 compatible = "spi-gpio";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_spi1>;
24 gpio-sck = <&gpio1 13 0>;
25 gpio-mosi = <&gpio1 9 0>;
26 cs-gpios = <&gpio1 12 0>;
27 num-chipselects = <1>;
31 gpio_spi: gpio_spi@0 {
32 compatible = "fairchild,74hc595";
36 registers-number = <1>;
37 registers-default = /bits/ 8 <0x74>; /* Enable PERI_3V3, SENSOR_RST_B and HDMI_RST*/
38 spi-max-frequency = <100000>;
43 compatible = "simple-bus";
47 reg_usb_otg1_vbus: regulator@0 {
48 compatible = "regulator-fixed";
50 regulator-name = "usb_otg1_vbus";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
53 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
57 reg_usb_otg2_vbus: regulator@1 {
58 compatible = "regulator-fixed";
60 regulator-name = "usb_otg2_vbus";
61 regulator-min-microvolt = <5000000>;
62 regulator-max-microvolt = <5000000>;
63 gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
67 reg_sd1_vmmc: regulator@3 {
68 compatible = "regulator-fixed";
69 regulator-name = "VDD_SD1";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
73 startup-delay-us = <200000>;
81 pinctrl_spi1: spi1grp {
83 MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x59
84 MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x59
85 MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x59
89 pinctrl_i2c1: i2c1grp {
91 MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
92 MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
96 pinctrl_i2c2: i2c2grp {
98 MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
99 MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
103 pinctrl_i2c3: i2c3grp {
105 MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
106 MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f
110 pinctrl_i2c4: i2c4grp {
112 MX7D_PAD_SAI1_RX_BCLK__I2C4_SDA 0x4000007f
113 MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
117 pinctrl_usdhc1_gpio: usdhc1_gpiogrp {
119 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x59 /* CD */
120 MX7D_PAD_SD1_WP__GPIO5_IO1 0x59 /* WP */
121 MX7D_PAD_SD1_RESET_B__GPIO5_IO2 0x59 /* vmmc */
122 MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x59 /* VSELECT */
126 pinctrl_usdhc1: usdhc1grp {
128 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
129 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
130 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
131 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
132 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
133 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
137 pinctrl_usdhc2: usdhc2grp {
139 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
140 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
141 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
142 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
143 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
144 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
145 MX7D_PAD_ECSPI2_MOSI__GPIO4_IO21 0x19 /* WL_REG_ON */
146 MX7D_PAD_ECSPI2_SCLK__GPIO4_IO20 0x19 /* WL_HOST_WAKE */
150 pinctrl_usdhc3: usdhc3grp {
152 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
153 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
154 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
155 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
156 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
157 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
158 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
159 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
160 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
161 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
162 MX7D_PAD_SD3_STROBE__SD3_STROBE 0x19
169 clock-frequency = <100000>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_i2c1>;
175 compatible = "fsl,pfuze3000";
180 regulator-min-microvolt = <700000>;
181 regulator-max-microvolt = <3300000>;
184 regulator-ramp-delay = <6250>;
187 /* use sw1c_reg to align with pfuze100/pfuze200 */
189 regulator-min-microvolt = <700000>;
190 regulator-max-microvolt = <1475000>;
193 regulator-ramp-delay = <6250>;
197 regulator-min-microvolt = <1500000>;
198 regulator-max-microvolt = <1850000>;
204 regulator-min-microvolt = <900000>;
205 regulator-max-microvolt = <1650000>;
211 regulator-min-microvolt = <5000000>;
212 regulator-max-microvolt = <5150000>;
216 regulator-min-microvolt = <1000000>;
217 regulator-max-microvolt = <3000000>;
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <3300000>;
234 regulator-min-microvolt = <800000>;
235 regulator-max-microvolt = <1550000>;
240 regulator-min-microvolt = <2850000>;
241 regulator-max-microvolt = <3300000>;
246 regulator-min-microvolt = <2850000>;
247 regulator-max-microvolt = <3300000>;
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <3300000>;
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <3300000>;
267 clock-frequency = <100000>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&pinctrl_i2c2>;
274 clock-frequency = <100000>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&pinctrl_i2c3>;
281 clock-frequency = <100000>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_i2c4>;
288 pinctrl-names = "default", "state_100mhz", "state_200mhz";
289 pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>;
290 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
291 wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
292 vmmc-supply = <®_sd1_vmmc>;
297 pinctrl-names = "default", "state_100mhz", "state_200mhz";
298 pinctrl-0 = <&pinctrl_usdhc2>;
304 pinctrl-names = "default", "state_100mhz", "state_200mhz";
305 pinctrl-0 = <&pinctrl_usdhc3>;