1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2018 PHYTEC Messtechnik GmbH
4 * Author: Christian Hemp <c.hemp@phytec.de>
7 #include <dt-bindings/gpio/gpio.h>
16 * Set the minimum memory size here and
17 * let the bootloader set the real size.
20 device_type = "memory";
21 reg = <0x10000000 0x8000000>;
24 gpio_leds_som: somleds {
25 compatible = "gpio-leds";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_gpioleds_som>;
30 label = "phycore:green";
31 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
32 linux,default-trigger = "heartbeat";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_ecspi1>;
40 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
44 compatible = "jedec,spi-nor";
45 spi-max-frequency = <20000000>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_enet>;
54 phy-handle = <ðphy>;
56 phy-supply = <&vdd_eth_io>;
57 phy-reset-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
64 ethphy: ethernet-phy@3 {
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_gpmi_nand>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_i2c3>;
82 clock-frequency = <400000>;
86 compatible = "atmel,24c32";
91 compatible = "dlg,da9062";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_pmic>;
95 interrupt-parent = <&gpio1>;
96 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
100 compatible = "dlg,da9062-rtc";
104 compatible = "dlg,da9062-watchdog";
109 regulator-name = "vdd_arm";
110 regulator-min-microvolt = <730000>;
111 regulator-max-microvolt = <1380000>;
116 regulator-name = "vdd_soc";
117 regulator-min-microvolt = <730000>;
118 regulator-max-microvolt = <1380000>;
122 vdd_ddr3_1p5: buck3 {
123 regulator-name = "vdd_ddr3";
124 regulator-min-microvolt = <1500000>;
125 regulator-max-microvolt = <1500000>;
130 regulator-name = "vdd_eth";
131 regulator-min-microvolt = <1200000>;
132 regulator-max-microvolt = <1200000>;
137 regulator-name = "vdd_snvs";
138 regulator-min-microvolt = <3000000>;
139 regulator-max-microvolt = <3000000>;
144 regulator-name = "vdd_high";
145 regulator-min-microvolt = <3000000>;
146 regulator-max-microvolt = <3000000>;
151 regulator-name = "vdd_eth_io";
152 regulator-min-microvolt = <2500000>;
153 regulator-max-microvolt = <2500000>;
157 regulator-name = "vdd_emmc";
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
166 vin-supply = <&vdd_arm>;
170 vin-supply = <&vdd_soc>;
174 vin-supply = <&vdd_soc>;
182 pinctrl-names = "default";
183 pinctrl-0 = <&pinctrl_usdhc4>;
186 vmmc-supply = <&vdd_emmc_1p8>;
191 pinctrl_enet: enetgrp {
193 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
194 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
195 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
196 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
197 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
198 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
199 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
200 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
201 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
202 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
203 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
204 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
205 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
206 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
207 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
208 MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
209 MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x1b0b0
213 pinctrl_gpioleds_som: gpioledssomgrp {
215 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
219 pinctrl_gpmi_nand: gpminandgrp {
221 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
222 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
223 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
224 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
225 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
226 MX6QDL_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1
227 MX6QDL_PAD_NANDF_CS2__NAND_CE2_B 0xb0b1
228 MX6QDL_PAD_NANDF_CS3__NAND_CE3_B 0xb0b1
229 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
230 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
231 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
232 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
233 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
234 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
235 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
236 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
237 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
238 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
239 MX6QDL_PAD_SD4_DAT0__NAND_DQS 0x00b1
243 pinctrl_i2c3: i2c3grp {
245 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
246 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
250 pinctrl_ecspi1: ecspi1grp {
252 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
253 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
254 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
255 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0
259 pinctrl_pmic: pmicgrp {
261 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
265 pinctrl_usdhc4: usdhc4grp {
267 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
268 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
269 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
270 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
271 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
272 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
273 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
274 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
275 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
276 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059