GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx6ul-ccimx6ulsom.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Digi International's ConnectCore 6UL System-On-Module device tree source
4  *
5  * Copyright 2018 Digi International, Inc.
6  *
7  */
8
9 / {
10         reserved-memory {
11                 #address-cells = <1>;
12                 #size-cells = <1>;
13                 ranges;
14
15                 linux,cma {
16                         compatible = "shared-dma-pool";
17                         reusable;
18                         size = <0x4000000>;
19                         linux,cma-default;
20                 };
21         };
22 };
23
24 &adc1 {
25         vref-supply = <&vdda_adc_3v3>;
26 };
27
28 &gpmi {
29         pinctrl-names = "default";
30         pinctrl-0 = <&pinctrl_gpmi_nand>;
31         status = "okay";
32 };
33
34 &i2c1 {
35         clock-frequency = <100000>;
36         pinctrl-names = "default";
37         pinctrl-0 = <&pinctrl_i2c1>;
38         status = "okay";
39
40         pfuze3000: pmic@8 {
41                 compatible = "fsl,pfuze3000";
42                 reg = <0x08>;
43
44                 regulators {
45                         int_3v3: sw1a {
46                                 regulator-min-microvolt = <700000>;
47                                 regulator-max-microvolt = <3300000>;
48                                 regulator-ramp-delay = <6250>;
49                                 regulator-boot-on;
50                                 regulator-always-on;
51
52                                 regulator-state-mem {
53                                         regulator-off-in-suspend;
54                                 };
55                         };
56
57                         vdd_arm_soc_in: sw1b {
58                                 regulator-min-microvolt = <700000>;
59                                 regulator-max-microvolt = <1475000>;
60                                 regulator-ramp-delay = <6250>;
61                                 regulator-boot-on;
62                                 regulator-always-on;
63
64                                 regulator-state-mem {
65                                         regulator-on-in-suspend;
66                                         regulator-suspend-microvolt = <925000>;
67                                 };
68                         };
69
70                         ext_3v3: sw2 {
71                                 regulator-min-microvolt = <2500000>;
72                                 regulator-max-microvolt = <3300000>;
73                                 regulator-ramp-delay = <6250>;
74                                 regulator-always-on;
75                                 regulator-boot-on;
76
77                                 regulator-state-mem {
78                                         regulator-off-in-suspend;
79                                 };
80                         };
81
82                         vcc_ddr3: sw3 {
83                                 regulator-min-microvolt = <900000>;
84                                 regulator-max-microvolt = <1650000>;
85                                 regulator-always-on;
86                                 regulator-boot-on;
87
88                                 regulator-state-mem {
89                                         regulator-on-in-suspend;
90                                         regulator-suspend-microvolt = <1300000>;
91                                 };
92                         };
93
94                         swbst_reg: swbst {
95                                 regulator-min-microvolt = <5000000>;
96                                 regulator-max-microvolt = <5150000>;
97                         };
98
99                         vdd_snvs_3v3: vsnvs {
100                                 regulator-min-microvolt = <1000000>;
101                                 regulator-max-microvolt = <3000000>;
102                                 regulator-boot-on;
103                                 regulator-always-on;
104                         };
105
106                         vrefddr: vrefddr {
107                                 regulator-boot-on;
108                                 regulator-always-on;
109                         };
110
111                         vdda_adc_3v3: vldo1 {
112                                 compatible = "regulator-fixed";
113                                 regulator-name = "vref-adc-3v3";
114                                 regulator-min-microvolt = <3300000>;
115                                 regulator-max-microvolt = <3300000>;
116                                 regulator-always-on;
117
118                                 regulator-state-mem {
119                                         regulator-off-in-suspend;
120                                 };
121                         };
122
123                         ldo2_ext: vldo2 {
124                                 regulator-min-microvolt = <800000>;
125                                 regulator-max-microvolt = <1550000>;
126                         };
127
128                         vdda_wlan: vccsd {
129                                 regulator-min-microvolt = <2850000>;
130                                 regulator-max-microvolt = <3300000>;
131                                 regulator-always-on;
132                                 regulator-boot-on;
133
134                                 regulator-state-mem {
135                                         regulator-off-in-suspend;
136                                 };
137                         };
138
139                         vdd_high_in: v33 {
140                                 regulator-min-microvolt = <2850000>;
141                                 regulator-max-microvolt = <3300000>;
142                                 regulator-boot-on;
143                                 regulator-always-on;
144                         };
145
146                         ldo3_int: vldo3 {
147                                 regulator-min-microvolt = <1800000>;
148                                 regulator-max-microvolt = <3300000>;
149                         };
150
151                         ldo4_ext: vldo4 {
152                                 regulator-min-microvolt = <1800000>;
153                                 regulator-max-microvolt = <3300000>;
154                         };
155
156                         vcoin_chg: vcoin {
157                                 regulator-min-microvolt = <2500000>;
158                                 regulator-max-microvolt = <3300000>;
159                         };
160                 };
161         };
162 };
163
164 &iomuxc {
165         pinctrl_gpmi_nand: gpmigrp {
166                 fsl,pins = <
167                         MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B     0xb0b1
168                         MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B       0xb0b1
169                         MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B       0xb0b1
170                         MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B       0xb0b1
171                         MX6UL_PAD_NAND_ALE__RAWNAND_ALE         0xb0b1
172                         MX6UL_PAD_NAND_CLE__RAWNAND_CLE         0xb0b1
173                         MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00   0xb0b1
174                         MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01   0xb0b1
175                         MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02   0xb0b1
176                         MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03   0xb0b1
177                         MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04   0xb0b1
178                         MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05   0xb0b1
179                         MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06   0xb0b1
180                         MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07   0xb0b1
181                         MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0xb0b1
182                         >;
183                 };
184
185         pinctrl_i2c1: i2c1grp {
186                 fsl,pins = <
187                         MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
188                         MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
189                         >;
190                 };
191 };
192
193 &reg_arm {
194         vin-supply = <&vdd_arm_soc_in>;
195         regulator-allow-bypass;
196 };
197
198 &reg_soc {
199         vin-supply = <&vdd_arm_soc_in>;
200         regulator-allow-bypass;
201 };