1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos3250 based ARTIK5 module device tree source
5 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Device tree source file for Samsung's ARTIK5 module which is based on
9 * Samsung Exynos3250 SoC.
12 #include "exynos3250.dtsi"
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 compatible = "samsung,artik5", "samsung,exynos3250", "samsung,exynos3";
21 stdout-path = &serial_2;
25 device_type = "memory";
26 reg = <0x40000000 0x1ff00000>;
30 compatible = "samsung,secure-firmware";
31 reg = <0x0205f000 0x1000>;
35 cpu_thermal: cpu-thermal {
38 /* Corresponds to 500MHz */
39 cooling-device = <&cpu0 5 5>,
43 /* Corresponds to 200MHz */
44 cooling-device = <&cpu0 8 8>,
53 vdd-supply = <&ldo7_reg>;
54 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
55 assigned-clock-rates = <6000000>;
59 cpu0-supply = <&buck2_reg>;
63 mali-supply = <&buck3_reg>;
70 samsung,i2c-sda-delay = <100>;
71 samsung,i2c-slave-addr = <0x10>;
72 samsung,i2c-max-bus-freq = <100000>;
76 compatible = "samsung,s2mps14-pmic";
77 interrupt-parent = <&gpx3>;
78 interrupts = <5 IRQ_TYPE_NONE>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&s2mps14_irq>;
84 compatible = "samsung,s2mps14-clk";
86 clock-output-names = "s2mps14_ap", "unused",
93 regulator-name = "VLDO1_1.0V";
94 regulator-min-microvolt = <1000000>;
95 regulator-max-microvolt = <1000000>;
100 /* VDDQM176 ~ VDDQM185 */
101 regulator-name = "VLDO2_1.2V";
102 regulator-min-microvolt = <1200000>;
103 regulator-max-microvolt = <1200000>;
109 * VDD1_E106 ~ VDD1_E111
110 * DVDD_RTC_AP, DVDD_MMC2_AP
112 regulator-name = "VLDO3_1.8V";
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
119 /* AVDD_PLL1120 ~ AVDD_PLL11201 */
120 regulator-name = "VLDO4_1.8V";
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
127 /* VDDI_PLL_ISO141 ~ VDDI_PLL_ISO142 */
128 regulator-name = "VLDO5_1.0V";
129 regulator-min-microvolt = <1000000>;
130 regulator-max-microvolt = <1000000>;
135 /* VDD_USB, VDD10_HSIC */
136 regulator-name = "VLDO6_1.0V";
137 regulator-min-microvolt = <1000000>;
138 regulator-max-microvolt = <1000000>;
144 * VDD18P, AVDD18_TS, AVDD18_HSIC, AVDD_PLL2,
145 * AVDD_ADC, AVDD_ABB_0, M4S_VDD18
147 regulator-name = "VLDO7_1.8V";
148 regulator-min-microvolt = <1800000>;
149 regulator-max-microvolt = <1800000>;
155 regulator-name = "VLDO8_3.0V";
156 regulator-min-microvolt = <3000000>;
157 regulator-max-microvolt = <3000000>;
162 /* VDDQ_E86 ~ VDDQ_E105*/
163 regulator-name = "VLDO9_1.2V";
164 regulator-min-microvolt = <1200000>;
165 regulator-max-microvolt = <1200000>;
170 regulator-name = "VLDO10_1.0V";
171 regulator-min-microvolt = <1000000>;
172 regulator-max-microvolt = <1000000>;
177 regulator-name = "VLDO11_1.8V";
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
180 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
185 regulator-name = "VLDO12_2.8V";
186 regulator-min-microvolt = <2800000>;
187 regulator-max-microvolt = <2800000>;
188 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
192 regulator-name = "VLDO13_2.8V";
193 regulator-min-microvolt = <2800000>;
194 regulator-max-microvolt = <2800000>;
198 regulator-name = "VLDO14_2.7V";
199 regulator-min-microvolt = <2700000>;
200 regulator-max-microvolt = <2700000>;
204 regulator-name = "VLDO_3.3V";
205 regulator-min-microvolt = <3300000>;
206 regulator-max-microvolt = <3300000>;
210 regulator-name = "VLDO16_3.3V";
211 regulator-min-microvolt = <3300000>;
212 regulator-max-microvolt = <3300000>;
216 regulator-name = "VLDO17_3.0V";
217 regulator-min-microvolt = <3000000>;
218 regulator-max-microvolt = <3000000>;
223 regulator-name = "VLDO18_2.8V";
224 regulator-min-microvolt = <2800000>;
225 regulator-max-microvolt = <2800000>;
229 regulator-name = "VLDO19_1.8V";
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <1800000>;
235 regulator-name = "VLDO20_1.8V";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
241 regulator-name = "VLDO21_1.25V";
242 regulator-min-microvolt = <1250000>;
243 regulator-max-microvolt = <1250000>;
247 regulator-name = "VLDO22_1.2V";
248 regulator-min-microvolt = <1200000>;
249 regulator-max-microvolt = <1200000>;
253 /* Xi2c3_SDA/SCL, Xi2c7_SDA/SCL, WLAN_SDIO */
254 regulator-name = "VLDO23_1.8V";
255 regulator-min-microvolt = <1800000>;
256 regulator-max-microvolt = <1800000>;
261 regulator-name = "VLDO24_3.0V";
262 regulator-min-microvolt = <3000000>;
263 regulator-max-microvolt = <3000000>;
267 regulator-name = "VLDO25_3.0V";
268 regulator-min-microvolt = <3000000>;
269 regulator-max-microvolt = <3000000>;
274 regulator-name = "VBUCK1_1.0V";
275 regulator-min-microvolt = <800000>;
276 regulator-max-microvolt = <1000000>;
282 regulator-name = "VBUCK2_1.2V";
283 regulator-min-microvolt = <850000>;
284 regulator-max-microvolt = <1200000>;
290 regulator-name = "VBUCK3_1.0V";
291 regulator-min-microvolt = <850000>;
292 regulator-max-microvolt = <1000000>;
297 regulator-name = "VBUCK4_1.95V";
298 regulator-min-microvolt = <1950000>;
299 regulator-max-microvolt = <1950000>;
304 regulator-name = "VBUCK5_1.35V";
305 regulator-min-microvolt = <1350000>;
306 regulator-max-microvolt = <1350000>;
316 card-detect-delay = <200>;
317 vmmc-supply = <&ldo12_reg>;
318 clock-frequency = <100000000>;
319 max-frequency = <100000000>;
320 samsung,dw-mshc-ciu-div = <1>;
321 samsung,dw-mshc-sdr-timing = <0 1>;
322 samsung,dw-mshc-ddr-timing = <1 2>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
334 keep-power-in-suspend;
336 vqmmc-supply = <&ldo11_reg>;
338 * Voltage negotiation is broken for the SDIO periph so we
339 * can't actually set the voltage here.
340 * vmmc-supply = <&ldo23_reg>;
342 card-detect-delay = <500>;
343 clock-frequency = <100000000>;
344 max-frequency = <100000000>;
345 samsung,dw-mshc-ciu-div = <3>;
346 samsung,dw-mshc-sdr-timing = <0 1>;
347 samsung,dw-mshc-ddr-timing = <1 2>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>;
356 samsung,pins = "gpx2-3";
357 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
358 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>;
360 samsung,pin-val = <1>;
363 s2mps14_irq: s2mps14-irq {
364 samsung,pins = "gpx3-5";
365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
370 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
371 clock-names = "rtc", "rtc_src";
380 clock-frequency = <24000000>;