1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2019 Marek Vasut <marex@denx.de>
7 #include "imx53-m53.dtsi"
8 #include "imx53-m53menlo-u-boot.dtsi"
11 model = "MENLO M53 EMBEDDED DEVICE";
12 compatible = "menlo,m53menlo", "fsl,imx53";
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_led>;
21 gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
22 linux,default-trigger = "mmc0";
27 gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
28 linux,default-trigger = "heartbeat";
33 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "none";
39 compatible = "edt,etm070080dh6";
40 enable-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
44 remote-endpoint = <&lvds0_out>;
49 reg_usbh1_vbus: regulator-usbh1-vbus {
50 compatible = "regulator-fixed";
51 regulator-name = "vbus";
52 regulator-min-microvolt = <5000000>;
53 regulator-max-microvolt = <5000000>;
54 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_can1>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_can2>;
71 assigned-clocks = <&clks IMX5_CLK_CKO1_SEL>,
72 <&clks IMX5_CLK_CKO1_PODF>,
73 <&clks IMX5_CLK_CKO1>;
74 assigned-clock-parents = <&clks IMX5_CLK_AHB>;
75 assigned-clock-rates = <133333334>, <33333334>, <33333334>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_esdhc1>;
81 cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
82 wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_fec>;
89 phy-handle = <ðphy0>;
97 ethphy0: ethernet-phy@0 {
98 compatible = "ethernet-phy-ieee802.3-c22";
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_i2c1>;
110 compatible = "edt,edt-ft5x06";
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_edt_ft5x06>;
114 interrupt-parent = <&gpio6>;
115 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
116 reset-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
117 wake-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
121 compatible = "atmel,24c64";
127 compatible = "microchip,mcp4725";
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_i2c3>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_hog>;
151 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x1c4
152 MX53_PAD_EIM_EB3__GPIO2_31 0x1d5
153 MX53_PAD_PATA_DA_0__GPIO7_6 0x1d5
154 MX53_PAD_GPIO_19__CCM_CLKO 0x1d5
155 MX53_PAD_CSI0_MCLK__CCM_CSI0_MCLK 0x1d5
156 MX53_PAD_CSI0_DAT4__GPIO5_22 0x1d5
157 MX53_PAD_CSI0_DAT5__GPIO5_23 0x1d5
158 MX53_PAD_CSI0_DAT6__GPIO5_24 0x1d5
159 MX53_PAD_CSI0_DAT7__GPIO5_25 0x1d5
160 MX53_PAD_CSI0_DAT8__GPIO5_26 0x1d5
161 MX53_PAD_CSI0_DAT9__GPIO5_27 0x1d5
162 MX53_PAD_CSI0_DAT10__GPIO5_28 0x1d5
163 MX53_PAD_CSI0_DAT11__GPIO5_29 0x1d5
164 MX53_PAD_CSI0_DAT14__GPIO6_0 0x1d5
168 pinctrl_led: ledgrp {
170 MX53_PAD_CSI0_DAT15__GPIO6_1 0x1d5
171 MX53_PAD_CSI0_DAT16__GPIO6_2 0x1d5
175 pinctrl_can1: can1grp {
177 MX53_PAD_GPIO_7__CAN1_TXCAN 0x1c4
178 MX53_PAD_GPIO_8__CAN1_RXCAN 0x1c4
182 pinctrl_can2: can2grp {
184 MX53_PAD_KEY_COL4__CAN2_TXCAN 0x1c4
185 MX53_PAD_KEY_ROW4__CAN2_RXCAN 0x1c4
189 pinctrl_display_gpio: display-gpiogrp {
191 MX53_PAD_CSI0_DAT12__GPIO5_30 0x1d5 /* Reset */
192 MX53_PAD_CSI0_DAT13__GPIO5_31 0x1d5 /* Interrupt */
196 pinctrl_edt_ft5x06: edt-ft5x06grp {
198 MX53_PAD_PATA_DATA9__GPIO2_9 0x1d5 /* Reset */
199 MX53_PAD_CSI0_DAT19__GPIO6_5 0x1d5 /* Interrupt */
200 MX53_PAD_PATA_DATA10__GPIO2_10 0x1d5 /* Wake */
204 pinctrl_esdhc1: esdhc1grp {
206 MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5
207 MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5
208 MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5
209 MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5
210 MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5
211 MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5
215 pinctrl_fec: fecgrp {
217 MX53_PAD_FEC_MDC__FEC_MDC 0x4
218 MX53_PAD_FEC_MDIO__FEC_MDIO 0x1fc
219 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x180
220 MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x180
221 MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x180
222 MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x180
223 MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x180
224 MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x4
225 MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x4
226 MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x4
230 pinctrl_i2c1: i2c1grp {
232 MX53_PAD_EIM_D21__I2C1_SCL 0x400001e4
233 MX53_PAD_EIM_D28__I2C1_SDA 0x400001e4
237 pinctrl_i2c3: i2c3grp {
239 MX53_PAD_GPIO_6__I2C3_SDA 0x400001e4
240 MX53_PAD_GPIO_5__I2C3_SCL 0x400001e4
244 pinctrl_lvds0: lvds0grp {
245 /* LVDS pins only have pin mux configuration */
247 MX53_PAD_LVDS0_CLK_P__LDB_LVDS0_CLK 0x80000000
248 MX53_PAD_LVDS0_TX0_P__LDB_LVDS0_TX0 0x80000000
249 MX53_PAD_LVDS0_TX1_P__LDB_LVDS0_TX1 0x80000000
250 MX53_PAD_LVDS0_TX2_P__LDB_LVDS0_TX2 0x80000000
251 MX53_PAD_LVDS0_TX3_P__LDB_LVDS0_TX3 0x80000000
255 pinctrl_uart1: uart1grp {
257 MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4
258 MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4
262 pinctrl_uart2: uart2grp {
264 MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4
265 MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4
269 pinctrl_usb: usbgrp {
271 MX53_PAD_GPIO_2__GPIO1_2 0x1d5
272 MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x1d5
279 pinctrl-names = "default";
280 pinctrl-0 = <&pinctrl_lvds0>;
283 lvds0: lvds-channel@0 {
285 fsl,data-mapping = "spwg";
286 fsl,data-width = <18>;
292 lvds0_out: endpoint {
293 remote-endpoint = <&panel_in>;
300 pinctrl-names = "default";
301 pinctrl-0 = <&pinctrl_uart1>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_uart2>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_usb>;
314 vbus-supply = <®_usbh1_vbus>;
316 dr_mode = "peripheral";
321 dr_mode = "peripheral";