1// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright (C) 2015 Freescale Semiconductor, Inc.
4
5#include "imx6sx-sdb.dtsi"
6
7/ {
8	model = "Freescale i.MX6 SoloX SDB RevA Board";
9	compatible = "fsl,imx6sx-sdb-reva", "fsl,imx6sx";
10};
11
12&i2c1 {
13	clock-frequency = <100000>;
14	pinctrl-names = "default";
15	pinctrl-0 = <&pinctrl_i2c1>;
16	status = "okay";
17
18	pmic: pfuze100@8 {
19		compatible = "fsl,pfuze100";
20		reg = <0x08>;
21
22		regulators {
23			sw1a_reg: sw1ab {
24				regulator-min-microvolt = <300000>;
25				regulator-max-microvolt = <1875000>;
26				regulator-boot-on;
27				regulator-always-on;
28				regulator-ramp-delay = <6250>;
29			};
30
31			sw1c_reg: sw1c {
32				regulator-min-microvolt = <300000>;
33				regulator-max-microvolt = <1875000>;
34				regulator-boot-on;
35				regulator-always-on;
36				regulator-ramp-delay = <6250>;
37			};
38
39			sw2_reg: sw2 {
40				regulator-min-microvolt = <800000>;
41				regulator-max-microvolt = <3300000>;
42				regulator-boot-on;
43				regulator-always-on;
44			};
45
46			sw3a_reg: sw3a {
47				regulator-min-microvolt = <400000>;
48				regulator-max-microvolt = <1975000>;
49				regulator-boot-on;
50				regulator-always-on;
51			};
52
53			sw3b_reg: sw3b {
54				regulator-min-microvolt = <400000>;
55				regulator-max-microvolt = <1975000>;
56				regulator-boot-on;
57				regulator-always-on;
58			};
59
60			sw4_reg: sw4 {
61				regulator-min-microvolt = <800000>;
62				regulator-max-microvolt = <3300000>;
63				regulator-always-on;
64			};
65
66			swbst_reg: swbst {
67				regulator-min-microvolt = <5000000>;
68				regulator-max-microvolt = <5150000>;
69			};
70
71			snvs_reg: vsnvs {
72				regulator-min-microvolt = <1000000>;
73				regulator-max-microvolt = <3000000>;
74				regulator-boot-on;
75				regulator-always-on;
76			};
77
78			vref_reg: vrefddr {
79				regulator-boot-on;
80				regulator-always-on;
81			};
82
83			vgen1_reg: vgen1 {
84				regulator-min-microvolt = <800000>;
85				regulator-max-microvolt = <1550000>;
86				regulator-always-on;
87			};
88
89			vgen2_reg: vgen2 {
90				regulator-min-microvolt = <800000>;
91				regulator-max-microvolt = <1550000>;
92			};
93
94			vgen3_reg: vgen3 {
95				regulator-min-microvolt = <1800000>;
96				regulator-max-microvolt = <3300000>;
97				regulator-always-on;
98			};
99
100			vgen4_reg: vgen4 {
101				regulator-min-microvolt = <1800000>;
102				regulator-max-microvolt = <3300000>;
103				regulator-always-on;
104			};
105
106			vgen5_reg: vgen5 {
107				regulator-min-microvolt = <1800000>;
108				regulator-max-microvolt = <3300000>;
109				regulator-always-on;
110			};
111
112			vgen6_reg: vgen6 {
113				regulator-min-microvolt = <1800000>;
114				regulator-max-microvolt = <3300000>;
115				regulator-always-on;
116			};
117		};
118	};
119};
120
121&qspi2 {
122	pinctrl-names = "default";
123	pinctrl-0 = <&pinctrl_qspi2>;
124	status = "okay";
125
126	flash0: s25fl128s@0 {
127		reg = <0>;
128		#address-cells = <1>;
129		#size-cells = <1>;
130		compatible = "spansion,s25fl128s", "jedec,spi-nor";
131		spi-max-frequency = <66000000>;
132		spi-rx-bus-width = <4>;
133		spi-tx-bus-width = <4>;
134	};
135
136	flash1: s25fl128s@2 {
137		reg = <2>;
138		#address-cells = <1>;
139		#size-cells = <1>;
140		compatible = "spansion,s25fl128s", "jedec,spi-nor";
141		spi-max-frequency = <66000000>;
142		spi-rx-bus-width = <4>;
143		spi-tx-bus-width = <4>;
144	};
145};
146
147&reg_can_en {
148	/* Transceiver EN/STBY is active high on RevA board */
149	gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
150	enable-active-high;
151};
152
153&reg_can_stby {
154	gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
155	enable-active-high;
156	vin-supply = <&reg_can_en>;
157};
158
159&reg_vdd1p1 {
160	vin-supply = <&vgen6_reg>;
161};
162
163&reg_vdd2p5 {
164	vin-supply = <&vgen6_reg>;
165};
166
167&snvs_pwrkey {
168	status = "okay";
169};
170