1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Digi International's ConnectCore6UL SBC Express board device tree source 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright 2018 Digi International, Inc. 6f126890aSEmmanuel Vadot * 7f126890aSEmmanuel Vadot */ 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot/dts-v1/; 10f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 12f126890aSEmmanuel Vadot#include "imx6ul.dtsi" 13f126890aSEmmanuel Vadot#include "imx6ul-ccimx6ulsom.dtsi" 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot model = "Digi International ConnectCore 6UL SBC Express."; 17f126890aSEmmanuel Vadot compatible = "digi,ccimx6ulsbcexpress", "digi,ccimx6ulsom", 18f126890aSEmmanuel Vadot "fsl,imx6ul"; 19f126890aSEmmanuel Vadot}; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot&adc1 { 22f126890aSEmmanuel Vadot pinctrl-names = "default"; 23f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_adc1>; 24f126890aSEmmanuel Vadot status = "okay"; 25f126890aSEmmanuel Vadot}; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot&can1 { 28f126890aSEmmanuel Vadot pinctrl-names = "default"; 29f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_flexcan1>; 30f126890aSEmmanuel Vadot xceiver-supply = <&ext_3v3>; 31f126890aSEmmanuel Vadot status = "okay"; 32f126890aSEmmanuel Vadot}; 33f126890aSEmmanuel Vadot 34f126890aSEmmanuel Vadot&ecspi3 { 35f126890aSEmmanuel Vadot cs-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; 36f126890aSEmmanuel Vadot pinctrl-names = "default"; 37f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi3_master>; 38f126890aSEmmanuel Vadot status = "okay"; 39f126890aSEmmanuel Vadot}; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot&fec1 { 42f126890aSEmmanuel Vadot pinctrl-names = "default"; 43f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet1>; 44f126890aSEmmanuel Vadot phy-mode = "rmii"; 45f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 46f126890aSEmmanuel Vadot status = "okay"; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot mdio { 49f126890aSEmmanuel Vadot #address-cells = <1>; 50f126890aSEmmanuel Vadot #size-cells = <0>; 51f126890aSEmmanuel Vadot 52f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 53f126890aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 54f126890aSEmmanuel Vadot smsc,disable-energy-detect; 55f126890aSEmmanuel Vadot reg = <0>; 56f126890aSEmmanuel Vadot }; 57f126890aSEmmanuel Vadot }; 58f126890aSEmmanuel Vadot}; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot&i2c2 { 61f126890aSEmmanuel Vadot pinctrl-names = "default"; 62f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 63f126890aSEmmanuel Vadot status = "okay"; 64f126890aSEmmanuel Vadot}; 65f126890aSEmmanuel Vadot 66f126890aSEmmanuel Vadot&pwm1 { 67f126890aSEmmanuel Vadot pinctrl-names = "default"; 68f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm1>; 69f126890aSEmmanuel Vadot status = "okay"; 70f126890aSEmmanuel Vadot}; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot&uart4 { 73f126890aSEmmanuel Vadot pinctrl-names = "default"; 74f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 75f126890aSEmmanuel Vadot status = "okay"; 76f126890aSEmmanuel Vadot}; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot&uart5 { 79f126890aSEmmanuel Vadot pinctrl-names = "default"; 80f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart5>; 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot}; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot&usbotg1 { 85f126890aSEmmanuel Vadot dr_mode = "host"; 86f126890aSEmmanuel Vadot disable-over-current; 87f126890aSEmmanuel Vadot status = "okay"; 88f126890aSEmmanuel Vadot}; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot&usbotg2 { 91f126890aSEmmanuel Vadot dr_mode = "host"; 92f126890aSEmmanuel Vadot disable-over-current; 93f126890aSEmmanuel Vadot status = "okay"; 94f126890aSEmmanuel Vadot}; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot&usdhc2 { 97f126890aSEmmanuel Vadot pinctrl-names = "default"; 98f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 99f126890aSEmmanuel Vadot broken-cd; /* no carrier detect line (use polling) */ 100f126890aSEmmanuel Vadot no-1-8-v; 101f126890aSEmmanuel Vadot status = "okay"; 102f126890aSEmmanuel Vadot}; 103f126890aSEmmanuel Vadot 104f126890aSEmmanuel Vadot&iomuxc { 105f126890aSEmmanuel Vadot pinctrl-names = "default"; 106f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 107f126890aSEmmanuel Vadot 108f126890aSEmmanuel Vadot pinctrl_adc1: adc1grp { 109f126890aSEmmanuel Vadot fsl,pins = < 110f126890aSEmmanuel Vadot /* GPIO1_4/ADC1_IN4 (pin 7 of the expansion header) */ 111f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0 112f126890aSEmmanuel Vadot >; 113f126890aSEmmanuel Vadot }; 114f126890aSEmmanuel Vadot 115*b2d2a78aSEmmanuel Vadot pinctrl_ecspi3_master: ecspi3-1-grp { 116f126890aSEmmanuel Vadot fsl,pins = < 117f126890aSEmmanuel Vadot MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b0 118f126890aSEmmanuel Vadot MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b0 119f126890aSEmmanuel Vadot MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b0 120f126890aSEmmanuel Vadot MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x10b0 /* Chip Select */ 121f126890aSEmmanuel Vadot >; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot 124*b2d2a78aSEmmanuel Vadot pinctrl_ecspi3_slave: ecspi3-2-grp { 125f126890aSEmmanuel Vadot fsl,pins = < 126f126890aSEmmanuel Vadot MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b0 127f126890aSEmmanuel Vadot MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b0 128f126890aSEmmanuel Vadot MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b0 129f126890aSEmmanuel Vadot MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0 0x10b0 /* Chip Select */ 130f126890aSEmmanuel Vadot >; 131f126890aSEmmanuel Vadot }; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot pinctrl_enet1: enet1grp { 134f126890aSEmmanuel Vadot fsl,pins = < 135f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0 136f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1b0b0 137f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 138f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 139f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 140f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 141f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 142f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 143f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 144f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x40017051 145f126890aSEmmanuel Vadot >; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot 148f126890aSEmmanuel Vadot pinctrl_flexcan1: flexcan1grp { 149f126890aSEmmanuel Vadot fsl,pins = < 150f126890aSEmmanuel Vadot MX6UL_PAD_LCD_DATA08__FLEXCAN1_TX 0x1b020 151f126890aSEmmanuel Vadot MX6UL_PAD_LCD_DATA09__FLEXCAN1_RX 0x1b020 152f126890aSEmmanuel Vadot >; 153f126890aSEmmanuel Vadot }; 154f126890aSEmmanuel Vadot 155f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 156f126890aSEmmanuel Vadot fsl,pins = < 157f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0x4001b8b0 158f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0x4001b8b0 159f126890aSEmmanuel Vadot >; 160f126890aSEmmanuel Vadot }; 161f126890aSEmmanuel Vadot 162f126890aSEmmanuel Vadot pinctrl_pwm1: pwm1grp { 163f126890aSEmmanuel Vadot fsl,pins = < 164f126890aSEmmanuel Vadot MX6UL_PAD_LCD_DATA00__PWM1_OUT 0x10b0 165f126890aSEmmanuel Vadot >; 166f126890aSEmmanuel Vadot }; 167f126890aSEmmanuel Vadot 168f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 169f126890aSEmmanuel Vadot fsl,pins = < 170f126890aSEmmanuel Vadot MX6UL_PAD_LCD_CLK__UART4_DCE_TX 0x1b0b1 171f126890aSEmmanuel Vadot MX6UL_PAD_LCD_ENABLE__UART4_DCE_RX 0x1b0b1 172f126890aSEmmanuel Vadot >; 173f126890aSEmmanuel Vadot }; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot pinctrl_uart5: uart5grp { 176f126890aSEmmanuel Vadot fsl,pins = < 177f126890aSEmmanuel Vadot MX6UL_PAD_UART5_TX_DATA__UART5_DCE_TX 0x1b0b1 178f126890aSEmmanuel Vadot MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX 0x1b0b1 179f126890aSEmmanuel Vadot >; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot 182f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 183f126890aSEmmanuel Vadot fsl,pins = < 184f126890aSEmmanuel Vadot MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x17059 185f126890aSEmmanuel Vadot MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x10071 186f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17059 187f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17059 188f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17059 189f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17059 190f126890aSEmmanuel Vadot >; 191f126890aSEmmanuel Vadot }; 192f126890aSEmmanuel Vadot 193f126890aSEmmanuel Vadot /* General purpose pinctrl */ 194f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 195f126890aSEmmanuel Vadot fsl,pins = < 196f126890aSEmmanuel Vadot /* GPIOs BANK 3 */ 197f126890aSEmmanuel Vadot MX6UL_PAD_LCD_RESET__GPIO3_IO04 0xf030 198f126890aSEmmanuel Vadot >; 199f126890aSEmmanuel Vadot }; 200f126890aSEmmanuel Vadot}; 201