blob: 91a7548fdb8db4d4339f844214778fd80c0702d7 [file] [log] [blame]
Fabio Estevam07a4b462018-11-25 18:02:45 -02001// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright (C) 2015 Freescale Semiconductor, Inc.
Peter Chen1bb733f2015-02-26 16:28:29 +08004
5#include "imx6sx-sdb.dtsi"
6
7/ {
8 model = "Freescale i.MX6 SoloX SDB RevA Board";
9};
10
11&i2c1 {
12 clock-frequency = <100000>;
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_i2c1>;
15 status = "okay";
16
Rob Herring8dccafa2017-10-13 12:54:51 -050017 pmic: pfuze100@8 {
Peter Chen1bb733f2015-02-26 16:28:29 +080018 compatible = "fsl,pfuze100";
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 sw1c_reg: sw1c {
31 regulator-min-microvolt = <300000>;
32 regulator-max-microvolt = <1875000>;
33 regulator-boot-on;
34 regulator-always-on;
35 regulator-ramp-delay = <6250>;
36 };
37
38 sw2_reg: sw2 {
39 regulator-min-microvolt = <800000>;
40 regulator-max-microvolt = <3300000>;
41 regulator-boot-on;
42 regulator-always-on;
43 };
44
45 sw3a_reg: sw3a {
46 regulator-min-microvolt = <400000>;
47 regulator-max-microvolt = <1975000>;
48 regulator-boot-on;
49 regulator-always-on;
50 };
51
52 sw3b_reg: sw3b {
53 regulator-min-microvolt = <400000>;
54 regulator-max-microvolt = <1975000>;
55 regulator-boot-on;
56 regulator-always-on;
57 };
58
59 sw4_reg: sw4 {
60 regulator-min-microvolt = <800000>;
61 regulator-max-microvolt = <3300000>;
Anson Huang4de42382018-07-17 13:12:03 +080062 regulator-always-on;
Peter Chen1bb733f2015-02-26 16:28:29 +080063 };
64
65 swbst_reg: swbst {
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5150000>;
68 };
69
70 snvs_reg: vsnvs {
71 regulator-min-microvolt = <1000000>;
72 regulator-max-microvolt = <3000000>;
73 regulator-boot-on;
74 regulator-always-on;
75 };
76
77 vref_reg: vrefddr {
78 regulator-boot-on;
79 regulator-always-on;
80 };
81
82 vgen1_reg: vgen1 {
83 regulator-min-microvolt = <800000>;
84 regulator-max-microvolt = <1550000>;
85 regulator-always-on;
86 };
87
88 vgen2_reg: vgen2 {
89 regulator-min-microvolt = <800000>;
90 regulator-max-microvolt = <1550000>;
91 };
92
93 vgen3_reg: vgen3 {
94 regulator-min-microvolt = <1800000>;
95 regulator-max-microvolt = <3300000>;
96 regulator-always-on;
97 };
98
99 vgen4_reg: vgen4 {
100 regulator-min-microvolt = <1800000>;
101 regulator-max-microvolt = <3300000>;
102 regulator-always-on;
103 };
104
105 vgen5_reg: vgen5 {
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <3300000>;
108 regulator-always-on;
109 };
110
111 vgen6_reg: vgen6 {
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <3300000>;
114 regulator-always-on;
115 };
116 };
117 };
118};
119
120&qspi2 {
121 pinctrl-names = "default";
122 pinctrl-0 = <&pinctrl_qspi2>;
123 status = "okay";
124
125 flash0: s25fl128s@0 {
126 reg = <0>;
127 #address-cells = <1>;
128 #size-cells = <1>;
Rafał Miłecki79826ac2015-08-16 08:39:17 +0200129 compatible = "spansion,s25fl128s", "jedec,spi-nor";
Peter Chen1bb733f2015-02-26 16:28:29 +0800130 spi-max-frequency = <66000000>;
Frieder Schrempf4f15a4e2018-12-10 16:28:50 +0000131 spi-rx-bus-width = <4>;
132 spi-tx-bus-width = <4>;
Peter Chen1bb733f2015-02-26 16:28:29 +0800133 };
134
Frieder Schrempf00b79b02018-12-10 16:28:49 +0000135 flash1: s25fl128s@2 {
136 reg = <2>;
Peter Chen1bb733f2015-02-26 16:28:29 +0800137 #address-cells = <1>;
138 #size-cells = <1>;
Rafał Miłecki79826ac2015-08-16 08:39:17 +0200139 compatible = "spansion,s25fl128s", "jedec,spi-nor";
Peter Chen1bb733f2015-02-26 16:28:29 +0800140 spi-max-frequency = <66000000>;
Frieder Schrempf4f15a4e2018-12-10 16:28:50 +0000141 spi-rx-bus-width = <4>;
142 spi-tx-bus-width = <4>;
Peter Chen1bb733f2015-02-26 16:28:29 +0800143 };
144};
Aisheng Dong88dddae2018-11-28 11:03:48 +0000145
146&reg_can_en {
147 /* Transceiver EN/STBY is active high on RevA board */
148 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
149 enable-active-high;
150};
151
152&reg_can_stby {
153 gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
154 enable-active-high;
155 vin-supply = <&reg_can_en>;
156};
Anson Huang37a4bde2019-05-12 09:57:35 +0000157
158&reg_vdd1p1 {
159 vin-supply = <&vgen6_reg>;
160};
161
Anson Huang37a4bde2019-05-12 09:57:35 +0000162&reg_vdd2p5 {
163 vin-supply = <&vgen6_reg>;
164};
Anson Huangee279582019-06-13 11:35:23 +0800165
166&snvs_pwrkey {
167 status = "okay";
168};