1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017-2019 SoMLabs
4 * Copyright (C) 2016 Freescale Semiconductor, Inc.
9 #include <dt-bindings/input/input.h>
10 #include "imx6ull.dtsi"
13 model = "SoMLabs VisionSOM-6ULL";
14 compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull";
21 reg = <0x80000000 0x20000000>;
25 compatible = "gpio-leds";
29 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
30 linux,default-trigger = "heartbeat";
35 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "mmc0";
41 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "mmc1";
47 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
52 compatible = "simple-bus";
56 reg_usb_otg1_vbus: regulator@2 {
57 compatible = "regulator-fixed";
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_usb_otg1>;
61 regulator-name = "usb_otg1_vbus";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
64 gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
68 reg_usb_otg2_vbus: regulator@3 {
69 compatible = "regulator-fixed";
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_usb_otg2>;
73 regulator-name = "usb_otg2_vbus";
74 regulator-min-microvolt = <5000000>;
75 regulator-max-microvolt = <5000000>;
76 gpio = <&gpio2 8 GPIO_ACTIVE_HIGH>;
84 arm-supply = <®_arm>;
85 soc-supply = <®_soc>;
89 assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
90 assigned-clock-rates = <786432000>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_enet1>;
97 phy-handle = <ðphy0>;
101 #address-cells = <1>;
104 ethphy0: ethernet-phy@1 {
105 compatible = "ethernet-phy-ieee802.3-c22";
113 fsl,cpu_pupscr_sw2iso = <0x1>;
114 fsl,cpu_pupscr_sw = <0x0>;
115 fsl,cpu_pdnscr_iso2sw = <0x1>;
116 fsl,cpu_pdnscr_iso = <0x1>;
117 fsl,ldo-bypass = <0>; /* DCDC, ldo-enable */
121 clock-frequency = <100000>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_i2c1>;
128 clock_frequency = <100000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_i2c2>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_hog_1>;
137 pinctrl_hog_1: hoggrp-1 {
139 /* 32kHz low power reference clock for WiFi */
140 MX6UL_PAD_JTAG_TCK__OSC32K_32K_OUT 0x17099
142 MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x17099
143 MX6UL_PAD_JTAG_TMS__GPIO1_IO11 0x17099
144 MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x17099
145 MX6UL_PAD_JTAG_TDO__GPIO1_IO12 0x17099
149 pinctrl_enet1: enet1grp {
151 MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0
152 MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1F829
154 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
155 MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
156 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
157 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
158 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
159 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
160 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
161 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x400010a9
165 pinctrl_i2c1: i2c1grp {
167 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
168 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
172 pinctrl_i2c2: i2c2grp {
174 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
175 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
179 pinctrl_tsc: tscgrp {
181 MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
182 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
183 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
184 MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
188 pinctrl_uart1: uart1grp {
190 MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
191 MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
195 pinctrl_usdhc2: usdhc2grp {
197 MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
198 MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
199 MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
200 MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
201 MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
202 MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
206 pinctrl_wdog: wdoggrp {
208 MX6UL_PAD_ENET2_RX_ER__WDOG1_WDOG_ANY 0x30b0
212 pinctrl_usb_otg1: usbotg1grp {
214 MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059
215 MX6UL_PAD_ENET2_TX_DATA1__GPIO2_IO12 0x10b0
219 pinctrl_usb_otg2: usbotg2grp {
221 MX6UL_PAD_ENET2_RX_DATA0__GPIO2_IO08 0x10b0
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_tsc>;
229 xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
230 measure-delay-time = <0xffff>;
231 pre-charge-time = <0xfff>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_uart1>;
242 vbus-supply = <®_usb_otg1_vbus>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&pinctrl_usb_otg1>;
253 vbus-supply = <®_usb_otg2_vbus>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pinctrl_wdog>;