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