xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6sx-sdb.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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 RevB Board";
9};
10
11&i2c1 {
12	clock-frequency = <100000>;
13	pinctrl-names = "default";
14	pinctrl-0 = <&pinctrl_i2c1>;
15	status = "okay";
16
17	pmic: pmic@8 {
18		compatible = "fsl,pfuze200";
19		reg = <0x08>;
20
21		regulators {
22			sw1a_reg: sw1ab {
23				regulator-min-microvolt = <300000>;
24				regulator-max-microvolt = <1875000>;
25				regulator-boot-on;
26				regulator-always-on;
27				regulator-ramp-delay = <6250>;
28			};
29
30			sw2_reg: sw2 {
31				regulator-min-microvolt = <800000>;
32				regulator-max-microvolt = <3300000>;
33				regulator-boot-on;
34				regulator-always-on;
35			};
36
37			sw3a_reg: sw3a {
38				regulator-min-microvolt = <400000>;
39				regulator-max-microvolt = <1975000>;
40				regulator-boot-on;
41				regulator-always-on;
42			};
43
44			sw3b_reg: sw3b {
45				regulator-min-microvolt = <400000>;
46				regulator-max-microvolt = <1975000>;
47				regulator-boot-on;
48				regulator-always-on;
49			};
50
51			swbst_reg: swbst {
52				regulator-min-microvolt = <5000000>;
53				regulator-max-microvolt = <5150000>;
54			};
55
56			snvs_reg: vsnvs {
57				regulator-min-microvolt = <1000000>;
58				regulator-max-microvolt = <3000000>;
59				regulator-boot-on;
60				regulator-always-on;
61			};
62
63			vref_reg: vrefddr {
64				regulator-boot-on;
65				regulator-always-on;
66			};
67
68			vgen1_reg: vgen1 {
69				regulator-min-microvolt = <800000>;
70				regulator-max-microvolt = <1550000>;
71				regulator-always-on;
72			};
73
74			vgen2_reg: vgen2 {
75				regulator-min-microvolt = <800000>;
76				regulator-max-microvolt = <1550000>;
77			};
78
79			vgen3_reg: vgen3 {
80				regulator-min-microvolt = <1800000>;
81				regulator-max-microvolt = <3300000>;
82				regulator-always-on;
83			};
84
85			vgen4_reg: vgen4 {
86				regulator-min-microvolt = <1800000>;
87				regulator-max-microvolt = <3300000>;
88				regulator-always-on;
89			};
90
91			vgen5_reg: vgen5 {
92				regulator-min-microvolt = <1800000>;
93				regulator-max-microvolt = <3300000>;
94				regulator-always-on;
95			};
96
97			vgen6_reg: vgen6 {
98				regulator-min-microvolt = <1800000>;
99				regulator-max-microvolt = <3300000>;
100				regulator-always-on;
101			};
102		};
103	};
104};
105
106&qspi2 {
107	pinctrl-names = "default";
108	pinctrl-0 = <&pinctrl_qspi2>;
109	status = "okay";
110
111	flash0: flash@0 {
112		#address-cells = <1>;
113		#size-cells = <1>;
114		compatible = "micron,n25q256a", "jedec,spi-nor";
115		spi-max-frequency = <29000000>;
116		spi-rx-bus-width = <4>;
117		spi-tx-bus-width = <1>;
118		reg = <0>;
119	};
120
121	flash1: flash@2 {
122		#address-cells = <1>;
123		#size-cells = <1>;
124		compatible = "micron,n25q256a", "jedec,spi-nor";
125		spi-max-frequency = <29000000>;
126		spi-rx-bus-width = <4>;
127		spi-tx-bus-width = <1>;
128		reg = <2>;
129	};
130};
131
132&reg_arm {
133	vin-supply = <&sw1a_reg>;
134};
135
136&reg_soc {
137	vin-supply = <&sw1a_reg>;
138};
139
140&reg_vdd1p1 {
141	vin-supply = <&vgen6_reg>;
142};
143
144&reg_vdd2p5 {
145	vin-supply = <&vgen6_reg>;
146};
147
148&reg_can_stby {
149	/* Transceiver EN/STBY is active low on RevB board */
150	gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
151};
152
153&snvs_pwrkey {
154	status = "okay";
155};
156