1 // SPDX-License-Identifier: GPL-2.0
3 * Digi International's ConnectCore6UL SBC Express board device tree source
5 * Copyright 2018 Digi International, Inc.
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "imx6ul.dtsi"
13 #include "imx6ul-ccimx6ulsom.dtsi"
16 model = "Digi International ConnectCore 6UL SBC Express.";
17 compatible = "digi,ccimx6ulsbcexpress", "digi,ccimx6ulsom",
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_adc1>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_flexcan1>;
30 xceiver-supply = <&ext_3v3>;
35 cs-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_ecspi3_master>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&pinctrl_enet1>;
45 phy-handle = <ðphy0>;
52 ethphy0: ethernet-phy@0 {
53 compatible = "ethernet-phy-ieee802.3-c22";
54 smsc,disable-energy-detect;
61 pinctrl-names = "default";
62 pinctrl-0 = <&pinctrl_i2c2>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_pwm1>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_uart4>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_uart5>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_usdhc2>;
99 broken-cd; /* no carrier detect line (use polling) */
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_hog>;
108 pinctrl_adc1: adc1grp {
110 /* GPIO1_4/ADC1_IN4 (pin 7 of the expansion header) */
111 MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
115 pinctrl_ecspi3_master: ecspi3grp1 {
117 MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b0
118 MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b0
119 MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b0
120 MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x10b0 /* Chip Select */
124 pinctrl_ecspi3_slave: ecspi3grp2 {
126 MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b0
127 MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b0
128 MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b0
129 MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0 0x10b0 /* Chip Select */
133 pinctrl_enet1: enet1grp {
135 MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0
136 MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1b0b0
137 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
138 MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
139 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
140 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
141 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
142 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
143 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
144 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x40017051
148 pinctrl_flexcan1: flexcan1grp{
150 MX6UL_PAD_LCD_DATA08__FLEXCAN1_TX 0x1b020
151 MX6UL_PAD_LCD_DATA09__FLEXCAN1_RX 0x1b020
155 pinctrl_i2c2: i2c2grp {
157 MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0x4001b8b0
158 MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0x4001b8b0
162 pinctrl_pwm1: pwm1grp {
164 MX6UL_PAD_LCD_DATA00__PWM1_OUT 0x10b0
168 pinctrl_uart4: uart4grp {
170 MX6UL_PAD_LCD_CLK__UART4_DCE_TX 0x1b0b1
171 MX6UL_PAD_LCD_ENABLE__UART4_DCE_RX 0x1b0b1
175 pinctrl_uart5: uart5grp {
177 MX6UL_PAD_UART5_TX_DATA__UART5_DCE_TX 0x1b0b1
178 MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX 0x1b0b1
182 pinctrl_usdhc2: usdhc2grp {
184 MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x17059
185 MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x10071
186 MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17059
187 MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17059
188 MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17059
189 MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17059
193 /* General purpose pinctrl */
194 pinctrl_hog: hoggrp {
197 MX6UL_PAD_LCD_RESET__GPIO3_IO04 0xf030