xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-voipac-dmm-668.dtsi (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
4 */
5
6#include "imx53.dtsi"
7
8/ {
9	model = "Voipac i.MX53 X53-DMM-668";
10	compatible = "voipac,imx53-dmm-668", "fsl,imx53";
11
12	memory@70000000 {
13		device_type = "memory";
14		reg = <0x70000000 0x20000000>,
15		      <0xb0000000 0x20000000>;
16	};
17
18	reg_3p3v: regulator-3p3v {
19		compatible = "regulator-fixed";
20		regulator-name = "3P3V";
21		regulator-min-microvolt = <3300000>;
22		regulator-max-microvolt = <3300000>;
23		regulator-always-on;
24	};
25
26	reg_usb_vbus: regulator-usb-vbus {
27		compatible = "regulator-fixed";
28		regulator-name = "usb_vbus";
29		regulator-min-microvolt = <5000000>;
30		regulator-max-microvolt = <5000000>;
31		gpio = <&gpio3 31 0>; /* PEN */
32		enable-active-high;
33	};
34};
35
36&iomuxc {
37	pinctrl-names = "default";
38	pinctrl-0 = <&pinctrl_hog>;
39
40	pinctrl_hog: hoggrp {
41		fsl,pins = <
42			/* Make DA9053 regulator functional */
43			MX53_PAD_GPIO_16__GPIO7_11	0x80000000
44			/* FEC Power enable */
45			MX53_PAD_GPIO_11__GPIO4_1	0x80000000
46			/* FEC RST */
47			MX53_PAD_GPIO_12__GPIO4_2	0x80000000
48		>;
49	};
50
51	pinctrl_ecspi1: ecspi1grp {
52		fsl,pins = <
53			MX53_PAD_EIM_D16__ECSPI1_SCLK		0x80000000
54			MX53_PAD_EIM_D17__ECSPI1_MISO		0x80000000
55			MX53_PAD_EIM_D18__ECSPI1_MOSI		0x80000000
56		>;
57	};
58
59	pinctrl_fec: fecgrp {
60		fsl,pins = <
61			MX53_PAD_FEC_MDC__FEC_MDC		0x80000000
62			MX53_PAD_FEC_MDIO__FEC_MDIO		0x80000000
63			MX53_PAD_FEC_REF_CLK__FEC_TX_CLK	0x80000000
64			MX53_PAD_FEC_RX_ER__FEC_RX_ER		0x80000000
65			MX53_PAD_FEC_CRS_DV__FEC_RX_DV		0x80000000
66			MX53_PAD_FEC_RXD1__FEC_RDATA_1		0x80000000
67			MX53_PAD_FEC_RXD0__FEC_RDATA_0		0x80000000
68			MX53_PAD_FEC_TX_EN__FEC_TX_EN		0x80000000
69			MX53_PAD_FEC_TXD1__FEC_TDATA_1		0x80000000
70			MX53_PAD_FEC_TXD0__FEC_TDATA_0		0x80000000
71		>;
72	};
73
74	pinctrl_i2c1: i2c1grp {
75		fsl,pins = <
76			MX53_PAD_EIM_D21__I2C1_SCL		0xc0000000
77			MX53_PAD_EIM_D28__I2C1_SDA		0xc0000000
78		>;
79	};
80
81	pinctrl_uart1: uart1grp {
82		fsl,pins = <
83			MX53_PAD_PATA_DIOW__UART1_TXD_MUX	0x1e4
84			MX53_PAD_PATA_DMACK__UART1_RXD_MUX	0x1e4
85		>;
86	};
87
88	pinctrl_nand: nandgrp {
89		fsl,pins = <
90			MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B	0x4
91			MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B	0x4
92			MX53_PAD_NANDF_CLE__EMI_NANDF_CLE	0x4
93			MX53_PAD_NANDF_ALE__EMI_NANDF_ALE	0x4
94			MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B	0xe0
95			MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0	0xe0
96			MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0	0x4
97			MX53_PAD_PATA_DATA0__EMI_NANDF_D_0	0xa4
98			MX53_PAD_PATA_DATA1__EMI_NANDF_D_1	0xa4
99			MX53_PAD_PATA_DATA2__EMI_NANDF_D_2	0xa4
100			MX53_PAD_PATA_DATA3__EMI_NANDF_D_3	0xa4
101			MX53_PAD_PATA_DATA4__EMI_NANDF_D_4	0xa4
102			MX53_PAD_PATA_DATA5__EMI_NANDF_D_5	0xa4
103			MX53_PAD_PATA_DATA6__EMI_NANDF_D_6	0xa4
104			MX53_PAD_PATA_DATA7__EMI_NANDF_D_7	0xa4
105		>;
106	};
107};
108
109&ecspi1 {
110	pinctrl-names = "default";
111	pinctrl-0 = <&pinctrl_ecspi1>;
112	cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>,
113		   <&gpio2 16 GPIO_ACTIVE_LOW>, <&gpio2 17 GPIO_ACTIVE_LOW>;
114	status = "okay";
115};
116
117&fec {
118	pinctrl-names = "default";
119	pinctrl-0 = <&pinctrl_fec>;
120	phy-mode = "rmii";
121	phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
122	status = "okay";
123};
124
125&i2c1 {
126	pinctrl-names = "default";
127	pinctrl-0 = <&pinctrl_i2c1>;
128	status = "okay";
129
130	pmic: dialog@48 {
131		compatible = "dlg,da9053-aa", "dlg,da9052";
132		reg = <0x48>;
133		interrupt-parent = <&gpio7>;
134		interrupts = <11 IRQ_TYPE_LEVEL_LOW>; /* low-level active IRQ at GPIO7_11 */
135
136		regulators {
137			buck1_reg: buck1 {
138				regulator-name = "BUCKCORE";
139				regulator-min-microvolt = <1200000>;
140				regulator-max-microvolt = <1400000>;
141				regulator-always-on;
142			};
143
144			buck2_reg: buck2 {
145				regulator-name = "BUCKPRO";
146				regulator-min-microvolt = <900000>;
147				regulator-max-microvolt = <1350000>;
148				regulator-always-on;
149			};
150
151			buck3_reg: buck3 {
152				regulator-name = "BUCKMEM";
153				regulator-min-microvolt = <1420000>;
154				regulator-max-microvolt = <1580000>;
155				regulator-always-on;
156			};
157
158			buck4_reg: buck4 {
159				regulator-name = "BUCKPERI";
160				regulator-min-microvolt = <2370000>;
161				regulator-max-microvolt = <2630000>;
162				regulator-always-on;
163			};
164
165			ldo1_reg: ldo1 {
166				regulator-name = "ldo1_1v3";
167				regulator-min-microvolt = <1250000>;
168				regulator-max-microvolt = <1350000>;
169				regulator-boot-on;
170				regulator-always-on;
171			};
172
173			ldo2_reg: ldo2 {
174				regulator-name = "ldo2_1v3";
175				regulator-min-microvolt = <1250000>;
176				regulator-max-microvolt = <1350000>;
177				regulator-always-on;
178			};
179
180			ldo3_reg: ldo3 {
181				regulator-name = "ldo3_3v3";
182				regulator-min-microvolt = <3250000>;
183				regulator-max-microvolt = <3350000>;
184				regulator-always-on;
185			};
186
187			ldo4_reg: ldo4 {
188				regulator-name = "ldo4_2v775";
189				regulator-min-microvolt = <2770000>;
190				regulator-max-microvolt = <2780000>;
191				regulator-always-on;
192			};
193
194			ldo5_reg: ldo5 {
195				regulator-name = "ldo5_3v3";
196				regulator-min-microvolt = <3250000>;
197				regulator-max-microvolt = <3350000>;
198				regulator-always-on;
199			};
200
201			ldo6_reg: ldo6 {
202				regulator-name = "ldo6_1v3";
203				regulator-min-microvolt = <1250000>;
204				regulator-max-microvolt = <1350000>;
205				regulator-always-on;
206			};
207
208			ldo7_reg: ldo7 {
209				regulator-name = "ldo7_2v75";
210				regulator-min-microvolt = <2700000>;
211				regulator-max-microvolt = <2800000>;
212				regulator-always-on;
213			};
214
215			ldo8_reg: ldo8 {
216				regulator-name = "ldo8_1v8";
217				regulator-min-microvolt = <1750000>;
218				regulator-max-microvolt = <1850000>;
219				regulator-always-on;
220			};
221
222			ldo9_reg: ldo9 {
223				regulator-name = "ldo9_1v5";
224				regulator-min-microvolt = <1450000>;
225				regulator-max-microvolt = <1550000>;
226				regulator-always-on;
227			};
228
229			ldo10_reg: ldo10 {
230				regulator-name = "ldo10_1v3";
231				regulator-min-microvolt = <1250000>;
232				regulator-max-microvolt = <1350000>;
233				regulator-always-on;
234			};
235		};
236	};
237};
238
239&nfc {
240	pinctrl-names = "default";
241	pinctrl-0 = <&pinctrl_nand>;
242	nand-bus-width = <8>;
243	nand-ecc-mode = "hw";
244	status = "okay";
245};
246
247&uart1 {
248	pinctrl-names = "default";
249	pinctrl-0 = <&pinctrl_uart1>;
250	status = "okay";
251};
252
253&usbh1 {
254	vbus-supply = <&reg_usb_vbus>;
255	phy_type = "utmi";
256	status = "okay";
257};
258