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