xref: /linux/arch/arm/boot/dts/nxp/imx/imx6dl-colibri-aster.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2022 Toradex
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring
8*724ba675SRob Herring#include <dt-bindings/input/input.h>
9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
10*724ba675SRob Herring#include "imx6dl.dtsi"
11*724ba675SRob Herring#include "imx6qdl-colibri.dtsi"
12*724ba675SRob Herring
13*724ba675SRob Herring/ {
14*724ba675SRob Herring	model = "Toradex Colibri iMX6DL/S on Colibri Aster Board";
15*724ba675SRob Herring	compatible = "toradex,colibri_imx6dl-aster", "toradex,colibri_imx6dl",
16*724ba675SRob Herring		     "fsl,imx6dl";
17*724ba675SRob Herring
18*724ba675SRob Herring	aliases {
19*724ba675SRob Herring		i2c0 = &i2c2;
20*724ba675SRob Herring		i2c1 = &i2c3;
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	chosen {
24*724ba675SRob Herring		stdout-path = "serial0:115200n8";
25*724ba675SRob Herring	};
26*724ba675SRob Herring};
27*724ba675SRob Herring
28*724ba675SRob Herring/* Colibri SSP */
29*724ba675SRob Herring&ecspi4 {
30*724ba675SRob Herring	cs-gpios = <
31*724ba675SRob Herring		&gpio5 2 GPIO_ACTIVE_HIGH
32*724ba675SRob Herring		&gpio5 4 GPIO_ACTIVE_HIGH
33*724ba675SRob Herring	>;
34*724ba675SRob Herring	pinctrl-names = "default";
35*724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi4 &pinctrl_csi_gpio_2>;
36*724ba675SRob Herring	status = "okay";
37*724ba675SRob Herring};
38*724ba675SRob Herring
39*724ba675SRob Herring/* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
40*724ba675SRob Herring&i2c3 {
41*724ba675SRob Herring	status = "okay";
42*724ba675SRob Herring};
43*724ba675SRob Herring
44*724ba675SRob Herring&iomuxc {
45*724ba675SRob Herring	pinctrl-names = "default";
46*724ba675SRob Herring	pinctrl-0 = <
47*724ba675SRob Herring		&pinctrl_csi_gpio_1
48*724ba675SRob Herring		&pinctrl_gpio_2
49*724ba675SRob Herring		&pinctrl_gpio_aster
50*724ba675SRob Herring		&pinctrl_usbh_oc_1
51*724ba675SRob Herring		&pinctrl_usbc_id_1
52*724ba675SRob Herring		&pinctrl_weim_gpio_5
53*724ba675SRob Herring	>;
54*724ba675SRob Herring
55*724ba675SRob Herring	pinctrl_gpio_aster: gpioaster {
56*724ba675SRob Herring		fsl,pins = <
57*724ba675SRob Herring			MX6QDL_PAD_KEY_COL2__GPIO4_IO10		0x1b0b0
58*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__GPIO4_IO11		0x1b0b0
59*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x1b0b0
60*724ba675SRob Herring			MX6QDL_PAD_NANDF_D1__GPIO2_IO01		0x1b0b0
61*724ba675SRob Herring			MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x1b0b0
62*724ba675SRob Herring			MX6QDL_PAD_NANDF_D6__GPIO2_IO06		0x1b0b0
63*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT0__GPIO2_IO08		0x1b0b0
64*724ba675SRob Herring			MX6QDL_PAD_SD4_DAT3__GPIO2_IO11		0x1b0b0
65*724ba675SRob Herring		>;
66*724ba675SRob Herring	};
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&pwm1 {
70*724ba675SRob Herring	status = "okay";
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&pwm2 {
74*724ba675SRob Herring	status = "okay";
75*724ba675SRob Herring};
76*724ba675SRob Herring
77*724ba675SRob Herring&pwm3 {
78*724ba675SRob Herring	status = "okay";
79*724ba675SRob Herring};
80*724ba675SRob Herring
81*724ba675SRob Herring&pwm4 {
82*724ba675SRob Herring	status = "okay";
83*724ba675SRob Herring};
84*724ba675SRob Herring
85*724ba675SRob Herring&reg_usb_host_vbus {
86*724ba675SRob Herring	status = "okay";
87*724ba675SRob Herring};
88*724ba675SRob Herring
89*724ba675SRob Herring&uart1 {
90*724ba675SRob Herring	status = "okay";
91*724ba675SRob Herring};
92*724ba675SRob Herring
93*724ba675SRob Herring&uart2 {
94*724ba675SRob Herring	status = "okay";
95*724ba675SRob Herring};
96*724ba675SRob Herring
97*724ba675SRob Herring&uart3 {
98*724ba675SRob Herring	status = "okay";
99*724ba675SRob Herring};
100*724ba675SRob Herring
101*724ba675SRob Herring&usbh1 {
102*724ba675SRob Herring	disable-over-current;
103*724ba675SRob Herring	status = "okay";
104*724ba675SRob Herring};
105*724ba675SRob Herring
106*724ba675SRob Herring&usbotg {
107*724ba675SRob Herring	disable-over-current;
108*724ba675SRob Herring	status = "okay";
109*724ba675SRob Herring};
110*724ba675SRob Herring
111*724ba675SRob Herring/* Colibri MMC */
112*724ba675SRob Herring&usdhc1 {
113*724ba675SRob Herring	status = "okay";
114*724ba675SRob Herring};
115