xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-wandboard-revd1.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Copyright 2013 Freescale Semiconductor, Inc.
4*f126890aSEmmanuel Vadot//
5*f126890aSEmmanuel Vadot// Author: Fabio Estevam <fabio.estevam@freescale.com>
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include "imx6qdl-wandboard.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	reg_eth_phy: regulator-eth-phy {
11*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
12*f126890aSEmmanuel Vadot		regulator-name = "ETH_PHY";
13*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
14*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
15*f126890aSEmmanuel Vadot		gpio = <&gpio7 13 GPIO_ACTIVE_LOW>;
16*f126890aSEmmanuel Vadot	};
17*f126890aSEmmanuel Vadot};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot&hdmi {
20*f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c2>;
21*f126890aSEmmanuel Vadot	status = "okay";
22*f126890aSEmmanuel Vadot};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot&i2c3 {
25*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
26*f126890aSEmmanuel Vadot	pinctrl-names = "default";
27*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
28*f126890aSEmmanuel Vadot	status = "okay";
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	pmic: pmic@8 {
31*f126890aSEmmanuel Vadot		compatible = "fsl,pfuze100";
32*f126890aSEmmanuel Vadot		reg = <0x08>;
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot		regulators {
35*f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
36*f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
37*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
38*f126890aSEmmanuel Vadot				regulator-boot-on;
39*f126890aSEmmanuel Vadot				regulator-always-on;
40*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
41*f126890aSEmmanuel Vadot			};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot			sw1c_reg: sw1c {
44*f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
45*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
46*f126890aSEmmanuel Vadot				regulator-boot-on;
47*f126890aSEmmanuel Vadot				regulator-always-on;
48*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
49*f126890aSEmmanuel Vadot			};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot			sw2_reg: sw2 {
52*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
53*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
54*f126890aSEmmanuel Vadot				regulator-boot-on;
55*f126890aSEmmanuel Vadot				regulator-always-on;
56*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
57*f126890aSEmmanuel Vadot			};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
60*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
61*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
62*f126890aSEmmanuel Vadot				regulator-boot-on;
63*f126890aSEmmanuel Vadot				regulator-always-on;
64*f126890aSEmmanuel Vadot			};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
67*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
68*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
69*f126890aSEmmanuel Vadot				regulator-boot-on;
70*f126890aSEmmanuel Vadot				regulator-always-on;
71*f126890aSEmmanuel Vadot			};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot			sw4_reg: sw4 {
74*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
75*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
76*f126890aSEmmanuel Vadot			};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot			swbst_reg: swbst {
79*f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
80*f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
81*f126890aSEmmanuel Vadot			};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot			snvs_reg: vsnvs {
84*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
85*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
86*f126890aSEmmanuel Vadot				regulator-boot-on;
87*f126890aSEmmanuel Vadot				regulator-always-on;
88*f126890aSEmmanuel Vadot			};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot			vref_reg: vrefddr {
91*f126890aSEmmanuel Vadot				regulator-boot-on;
92*f126890aSEmmanuel Vadot				regulator-always-on;
93*f126890aSEmmanuel Vadot			};
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
96*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
97*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
98*f126890aSEmmanuel Vadot			};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
101*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1500000>;
102*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
103*f126890aSEmmanuel Vadot				regulator-boot-on;
104*f126890aSEmmanuel Vadot				regulator-always-on;
105*f126890aSEmmanuel Vadot			};
106*f126890aSEmmanuel Vadot
107*f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
108*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
109*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
110*f126890aSEmmanuel Vadot				regulator-always-on;
111*f126890aSEmmanuel Vadot			};
112*f126890aSEmmanuel Vadot
113*f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
114*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
115*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
116*f126890aSEmmanuel Vadot				regulator-always-on;
117*f126890aSEmmanuel Vadot			};
118*f126890aSEmmanuel Vadot
119*f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
120*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
121*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
122*f126890aSEmmanuel Vadot				regulator-always-on;
123*f126890aSEmmanuel Vadot			};
124*f126890aSEmmanuel Vadot
125*f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
126*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
127*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
128*f126890aSEmmanuel Vadot				regulator-always-on;
129*f126890aSEmmanuel Vadot			};
130*f126890aSEmmanuel Vadot		};
131*f126890aSEmmanuel Vadot	};
132*f126890aSEmmanuel Vadot};
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot&fec {
135*f126890aSEmmanuel Vadot	phy-supply = <&reg_eth_phy>;
136*f126890aSEmmanuel Vadot	status = "okay";
137*f126890aSEmmanuel Vadot};
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot&iomuxc {
140*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hog>;
141*f126890aSEmmanuel Vadot
142*f126890aSEmmanuel Vadot	imx6qdl-wandboard {
143*f126890aSEmmanuel Vadot		pinctrl_hog: hoggrp {
144*f126890aSEmmanuel Vadot			fsl,pins = <
145*f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x80000000	/* USDHC1 CD */
146*f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_DA9__GPIO3_IO09		0x80000000	/* uSDHC3 CD */
147*f126890aSEmmanuel Vadot				MX6QDL_PAD_EIM_D29__GPIO3_IO29   	0x1f0b1		/* RGMII PHY reset */
148*f126890aSEmmanuel Vadot			>;
149*f126890aSEmmanuel Vadot		};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot		pinctrl_enet: enetgrp {
152*f126890aSEmmanuel Vadot			fsl,pins = <
153*f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
154*f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
155*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
156*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
157*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
158*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
159*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
160*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
161*f126890aSEmmanuel Vadot				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
162*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
163*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
164*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
165*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
166*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
167*f126890aSEmmanuel Vadot				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
168*f126890aSEmmanuel Vadot			>;
169*f126890aSEmmanuel Vadot		};
170*f126890aSEmmanuel Vadot
171*f126890aSEmmanuel Vadot		pinctrl_i2c3: i2c3grp {
172*f126890aSEmmanuel Vadot			fsl,pins = <
173*f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_5__I2C3_SCL		0x4001b8b1
174*f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_16__I2C3_SDA		0x4001b8b1
175*f126890aSEmmanuel Vadot			>;
176*f126890aSEmmanuel Vadot		};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot		pinctrl_spdif: spdifgrp {
179*f126890aSEmmanuel Vadot			fsl,pins = <
180*f126890aSEmmanuel Vadot				MX6QDL_PAD_GPIO_19__SPDIF_OUT		0x1b0b0
181*f126890aSEmmanuel Vadot			>;
182*f126890aSEmmanuel Vadot		};
183*f126890aSEmmanuel Vadot	};
184*f126890aSEmmanuel Vadot};
185*f126890aSEmmanuel Vadot
186*f126890aSEmmanuel Vadot&usdhc2 {
187*f126890aSEmmanuel Vadot	pinctrl-names = "default";
188*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
189*f126890aSEmmanuel Vadot	bus-width = <4>;
190*f126890aSEmmanuel Vadot	no-1-8-v;
191*f126890aSEmmanuel Vadot	non-removable;
192*f126890aSEmmanuel Vadot	status = "okay";
193*f126890aSEmmanuel Vadot};
194