1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013 Sascha Hauer, Pengutronix
4 * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
11 reg_3p3v: regulator-3p3v {
12 compatible = "regulator-fixed";
13 regulator-name = "supply-3p3v";
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_ecspi1>;
23 cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
27 compatible = "jedec,spi-nor";
28 spi-max-frequency = <50000000>;
37 pinctrl_ecspi1: ecspi1grp {
39 /* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */
40 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x1b099
41 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0xb099
42 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0xb099
44 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0xb099
48 pinctrl_i2c1: i2c1grp {
50 MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b899
51 MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b899
55 pinctrl_i2c3: i2c3grp {
57 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b899
58 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b899
62 pinctrl_pmic: pmicgrp {
64 MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x1b099 /* PMIC irq */
68 pinctrl_usdhc3: usdhc3grp {
70 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
71 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
72 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
73 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
74 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
75 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
76 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
77 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
78 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
79 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_pmic>;
87 interrupt-parent = <&gpio6>;
88 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
92 regulator-min-microvolt = <300000>;
93 regulator-max-microvolt = <1875000>;
98 regulator-min-microvolt = <300000>;
99 regulator-max-microvolt = <1875000>;
104 regulator-min-microvolt = <800000>;
105 regulator-max-microvolt = <3300000>;
110 regulator-min-microvolt = <400000>;
111 regulator-max-microvolt = <1975000>;
116 regulator-min-microvolt = <400000>;
117 regulator-max-microvolt = <1975000>;
122 regulator-min-microvolt = <800000>;
123 regulator-max-microvolt = <3300000>;
127 reg_5v_600mA: swbst {
128 regulator-min-microvolt = <5000000>;
129 regulator-max-microvolt = <5150000>;
134 regulator-min-microvolt = <1500000>;
135 regulator-max-microvolt = <3000000>;
139 reg_vrefddr: vrefddr {
144 reg_vgen1_1v5: vgen1 {
145 regulator-min-microvolt = <800000>;
146 regulator-max-microvolt = <1550000>;
150 reg_vgen2_1v2_eth: vgen2 {
151 regulator-min-microvolt = <800000>;
152 regulator-max-microvolt = <1550000>;
156 reg_vgen3_2v8: vgen3 {
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <3300000>;
162 reg_vgen4_1v8: vgen4 {
163 regulator-min-microvolt = <1800000>;
164 regulator-max-microvolt = <3300000>;
168 reg_vgen5_1v8_eth: vgen5 {
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <3300000>;
174 reg_vgen6_3v3: vgen6 {
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <3300000>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&pinctrl_usdhc3>;
186 vmmc-supply = <®_3p3v>;
192 #address-cells = <1>;
198 compatible = "mmc-card";