blob: 77e5ac423db32037bc5d145cb311e6ce56961cb2 [file] [log] [blame]
Tim Harvey0f5717f2022-04-13 11:31:09 -07001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2022 Gateworks Corporation
4 */
5
6/dts-v1/;
7
8#include "imx8mp.dtsi"
9
10/ {
11 model = "Gateworks Venice i.MX8MP board";
12 compatible = "gateworks,imx8mp-venice", "fsl,imx8mp";
13
14 chosen {
15 stdout-path = &uart2;
16 };
17
18 memory@40000000 {
19 device_type = "memory";
20 reg = <0x0 0x40000000 0 0x80000000>;
21 };
22};
23
24&i2c1 {
25 clock-frequency = <100000>;
Tim Harvey2ccf28d2022-11-11 08:03:07 -080026 pinctrl-names = "default", "gpio";
Tim Harvey0f5717f2022-04-13 11:31:09 -070027 pinctrl-0 = <&pinctrl_i2c1>;
Tim Harvey2ccf28d2022-11-11 08:03:07 -080028 pinctrl-1 = <&pinctrl_i2c1_gpio>;
29 scl-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>;
30 sda-gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
Tim Harvey0f5717f2022-04-13 11:31:09 -070031 status = "okay";
32
33 gsc: gsc@20 {
34 compatible = "gw,gsc";
35 reg = <0x20>;
36 #address-cells = <1>;
37 #size-cells = <0>;
38 };
39
40 eeprom@51 {
41 compatible = "atmel,24c02";
42 reg = <0x51>;
43 pagesize = <16>;
44 };
45};
46
47&i2c2 {
48 clock-frequency = <400000>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_i2c2>;
51 status = "okay";
52
53 eeprom@52 {
54 compatible = "atmel,24c32";
55 reg = <0x52>;
56 pagesize = <32>;
57 };
58};
59
60/* console */
61&uart2 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&pinctrl_uart2>;
64 status = "okay";
65};
66
67/* eMMC */
68&usdhc3 {
69 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
70 assigned-clock-rates = <400000000>;
71 pinctrl-names = "default", "state_100mhz", "state_200mhz";
72 pinctrl-0 = <&pinctrl_usdhc3>;
73 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
74 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
75 bus-width = <8>;
76 non-removable;
77 status = "okay";
78};
79
80&wdog1 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_wdog>;
83 fsl,ext-reset-output;
84 status = "okay";
85};
86
87&iomuxc {
88 pinctrl_i2c1: i2c1grp {
89 fsl,pins = <
90 MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c3
91 MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c3
92 >;
93 };
94
Tim Harvey2ccf28d2022-11-11 08:03:07 -080095 pinctrl_i2c1_gpio: i2c1grp-gpio-grp {
96 fsl,pins = <
97 MX8MP_IOMUXC_I2C1_SCL__GPIO5_IO14 0x400001c3
98 MX8MP_IOMUXC_I2C1_SDA__GPIO5_IO15 0x400001c3
99 >;
100 };
101
Tim Harvey0f5717f2022-04-13 11:31:09 -0700102 pinctrl_i2c2: i2c2grp {
103 fsl,pins = <
104 MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c3
105 MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c3
106 >;
107 };
108
109 pinctrl_uart2: uart2grp {
110 fsl,pins = <
111 MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49
112 MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49
113 >;
114 };
115
116 pinctrl_usdhc3: usdhc3grp {
117 fsl,pins = <
118 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190
119 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0
120 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0
121 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0
122 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0
123 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0
124 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0
125 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0
126 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0
127 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0
128 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190
129 >;
130 };
131
132 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
133 fsl,pins = <
134 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194
135 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4
136 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4
137 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4
138 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4
139 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4
140 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4
141 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4
142 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4
143 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4
144 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194
145 >;
146 };
147
148 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
149 fsl,pins = <
150 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196
151 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6
152 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6
153 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6
154 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6
155 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6
156 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6
157 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6
158 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6
159 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6
160 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196
161 >;
162 };
163
164 pinctrl_wdog: wdoggrp {
165 fsl,pins = <
166 MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0x166
167 >;
168 };
169};