1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016 PHYTEC Messtechnik GmbH
4 * Author: Christian Hemp <c.hemp@phytec.de>
8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite";
9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul";
16 reg_sound_1v8: regulator-1v8 {
17 compatible = "regulator-fixed";
18 regulator-name = "i2s-audio-1v8";
19 regulator-min-microvolt = <1800000>;
20 regulator-max-microvolt = <1800000>;
24 reg_sound_3v3: regulator-3v3 {
25 compatible = "regulator-fixed";
26 regulator-name = "i2s-audio-3v3";
27 regulator-min-microvolt = <3300000>;
28 regulator-max-microvolt = <3300000>;
32 reg_can1_en: regulator-can1 {
33 compatible = "regulator-fixed";
34 pinctrl-names = "default";
35 pinctrl-0 = <&princtrl_flexcan1_en>;
36 regulator-name = "Can";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
39 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
44 reg_adc1_vref_3v3: regulator-vref-3v3 {
45 compatible = "regulator-fixed";
46 regulator-name = "vref-3v3";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
52 compatible = "simple-audio-card";
53 simple-audio-card,name = "phyBOARD-Segin-TLV320AIC3007";
54 simple-audio-card,format = "i2s";
55 simple-audio-card,bitclock-master = <&dailink_master>;
56 simple-audio-card,frame-master = <&dailink_master>;
57 simple-audio-card,widgets =
61 simple-audio-card,routing =
70 simple-audio-card,cpu {
74 dailink_master: simple-audio-card,codec {
75 sound-dai = <&tlv320>;
76 clocks = <&clks IMX6UL_CLK_SAI2>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_adc1>;
85 vref-supply = <®_adc1_vref_3v3>;
87 * driver can not separate a specific channel so we request 4 channels
88 * here - we need only the fourth channel
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_flexcan1>;
97 xceiver-supply = <®_can1_en>;
102 assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
103 assigned-clock-rates = <786432000>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_ecspi3>;
109 cs-gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_enet2>;
117 phy-handle = <ðphy2>;
123 compatible = "ti,tlv320aic3007";
124 #sound-dai-cells = <0>;
126 AVDD-supply = <®_sound_3v3>;
127 IOVDD-supply = <®_sound_3v3>;
128 DRVDD-supply = <®_sound_3v3>;
129 DVDD-supply = <®_sound_1v8>;
133 stmpe: touchscreen@44 {
134 compatible = "st,stmpe811";
136 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
137 interrupt-parent = <&gpio5>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_stmpe>;
143 compatible = "st,stmpe-ts";
144 st,sample-time = <4>;
149 st,touch-det-delay = <2>;
153 touchscreen-inverted-x = <1>;
154 touchscreen-inverted-y = <1>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_rtc_int>;
161 compatible = "microcrystal,rv4162";
163 interrupt-parent = <&gpio5>;
164 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
170 ethphy2: ethernet-phy@2 {
172 micrel,led-mode = <1>;
173 clocks = <&clks IMX6UL_CLK_ENET2_REF>;
174 clock-names = "rmii-ref";
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_pwm3>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_sai2>;
188 assigned-clocks = <&clks IMX6UL_CLK_SAI2_SEL>,
189 <&clks IMX6UL_CLK_SAI2>;
190 assigned-clock-parents = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
191 assigned-clock-rates = <0>, <19200000>;
192 fsl,sai-mclk-direction-output;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_uart5>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_usb_otg1_id>;
212 disable-over-current;
217 pinctrl-names = "default", "state_100mhz", "state_200mhz";
218 pinctrl-0 = <&pinctrl_usdhc1>;
219 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
220 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
221 cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
223 keep-power-in-suspend;
229 pinctrl_adc1: adc1grp {
231 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
235 pinctrl_ecspi3: ecspi3grp {
237 MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b0
238 MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b0
239 MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b0
240 MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x10b0
244 pinctrl_enet2: enet2grp {
246 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
247 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
248 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
249 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
250 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b010
251 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b010
252 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b010
253 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b010
257 pinctrl_flexcan1: flexcan1 {
259 MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x0b0b0
260 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x0b0b0
264 princtrl_flexcan1_en: flexcan1engrp {
266 MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x17059
270 pinctrl_pwm3: pwm3grp {
272 MX6UL_PAD_GPIO1_IO04__PWM3_OUT 0x0b0b0
276 pinctrl_rtc_int: rtcintgrp {
278 MX6UL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x17059
282 pinctrl_sai2: sai2grp {
284 MX6UL_PAD_JTAG_TDI__SAI2_TX_BCLK 0x17088
285 MX6UL_PAD_JTAG_TDO__SAI2_TX_SYNC 0x17088
286 MX6UL_PAD_JTAG_TRST_B__SAI2_TX_DATA 0x11088
287 MX6UL_PAD_JTAG_TCK__SAI2_RX_DATA 0x11088
288 MX6UL_PAD_JTAG_TMS__SAI2_MCLK 0x17088
292 pinctrl_stmpe: stmpegrp {
294 MX6UL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059
298 pinctrl_uart5: uart5grp {
300 MX6UL_PAD_UART5_TX_DATA__UART5_DCE_TX 0x1b0b1
301 MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX 0x1b0b1
302 MX6UL_PAD_GPIO1_IO08__UART5_DCE_RTS 0x1b0b1
303 MX6UL_PAD_GPIO1_IO09__UART5_DCE_CTS 0x1b0b1
307 pinctrl_usb_otg1_id: usbotg1idgrp {
309 MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059
313 pinctrl_usdhc1: usdhc1grp {
315 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
316 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10059
317 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
318 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
319 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
320 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
321 MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059
325 pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
327 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9
328 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9
329 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
330 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
331 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
332 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
336 pinctrl_usdhc1_200mhz: usdhc1grp200mhz {
338 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9
339 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9
340 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9
341 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9
342 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9
343 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9