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 0x1f800000>;
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>;
63 cpu0-supply = <&buck2_reg>;
67 mali-supply = <&buck3_reg>;
74 samsung,i2c-sda-delay = <100>;
75 samsung,i2c-slave-addr = <0x10>;
76 samsung,i2c-max-bus-freq = <100000>;
80 compatible = "samsung,s2mps14-pmic";
81 interrupt-parent = <&gpx3>;
82 interrupts = <5 IRQ_TYPE_NONE>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&s2mps14_irq>;
88 compatible = "samsung,s2mps14-clk";
90 clock-output-names = "s2mps14_ap", "unused",
97 regulator-name = "VLDO1_1.0V";
98 regulator-min-microvolt = <1000000>;
99 regulator-max-microvolt = <1000000>;
104 /* VDDQM176 ~ VDDQM185 */
105 regulator-name = "VLDO2_1.2V";
106 regulator-min-microvolt = <1200000>;
107 regulator-max-microvolt = <1200000>;
113 * VDD1_E106 ~ VDD1_E111
114 * DVDD_RTC_AP, DVDD_MMC2_AP
116 regulator-name = "VLDO3_1.8V";
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <1800000>;
123 /* AVDD_PLL1120 ~ AVDD_PLL11201 */
124 regulator-name = "VLDO4_1.8V";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
131 /* VDDI_PLL_ISO141 ~ VDDI_PLL_ISO142 */
132 regulator-name = "VLDO5_1.0V";
133 regulator-min-microvolt = <1000000>;
134 regulator-max-microvolt = <1000000>;
139 /* VDD_USB, VDD10_HSIC */
140 regulator-name = "VLDO6_1.0V";
141 regulator-min-microvolt = <1000000>;
142 regulator-max-microvolt = <1000000>;
148 * VDD18P, AVDD18_TS, AVDD18_HSIC, AVDD_PLL2,
149 * AVDD_ADC, AVDD_ABB_0, M4S_VDD18
151 regulator-name = "VLDO7_1.8V";
152 regulator-min-microvolt = <1800000>;
153 regulator-max-microvolt = <1800000>;
159 regulator-name = "VLDO8_3.0V";
160 regulator-min-microvolt = <3000000>;
161 regulator-max-microvolt = <3000000>;
166 /* VDDQ_E86 ~ VDDQ_E105*/
167 regulator-name = "VLDO9_1.2V";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <1200000>;
174 regulator-name = "VLDO10_1.0V";
175 regulator-min-microvolt = <1000000>;
176 regulator-max-microvolt = <1000000>;
181 regulator-name = "VLDO11_1.8V";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
189 regulator-name = "VLDO12_2.8V";
190 regulator-min-microvolt = <2800000>;
191 regulator-max-microvolt = <2800000>;
192 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
196 regulator-name = "VLDO13_2.8V";
197 regulator-min-microvolt = <2800000>;
198 regulator-max-microvolt = <2800000>;
202 regulator-name = "VLDO14_2.7V";
203 regulator-min-microvolt = <2700000>;
204 regulator-max-microvolt = <2700000>;
208 regulator-name = "VLDO_3.3V";
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
214 regulator-name = "VLDO16_3.3V";
215 regulator-min-microvolt = <3300000>;
216 regulator-max-microvolt = <3300000>;
220 regulator-name = "VLDO17_3.0V";
221 regulator-min-microvolt = <3000000>;
222 regulator-max-microvolt = <3000000>;
227 regulator-name = "VLDO18_2.8V";
228 regulator-min-microvolt = <2800000>;
229 regulator-max-microvolt = <2800000>;
233 regulator-name = "VLDO19_1.8V";
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
239 regulator-name = "VLDO20_1.8V";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
245 regulator-name = "VLDO21_1.25V";
246 regulator-min-microvolt = <1250000>;
247 regulator-max-microvolt = <1250000>;
251 regulator-name = "VLDO22_1.2V";
252 regulator-min-microvolt = <1200000>;
253 regulator-max-microvolt = <1200000>;
257 /* Xi2c3_SDA/SCL, Xi2c7_SDA/SCL, WLAN_SDIO */
258 regulator-name = "VLDO23_1.8V";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
265 regulator-name = "VLDO24_3.0V";
266 regulator-min-microvolt = <3000000>;
267 regulator-max-microvolt = <3000000>;
271 regulator-name = "VLDO25_3.0V";
272 regulator-min-microvolt = <3000000>;
273 regulator-max-microvolt = <3000000>;
278 regulator-name = "VBUCK1_1.0V";
279 regulator-min-microvolt = <800000>;
280 regulator-max-microvolt = <1000000>;
286 regulator-name = "VBUCK2_1.2V";
287 regulator-min-microvolt = <850000>;
288 regulator-max-microvolt = <1200000>;
294 regulator-name = "VBUCK3_1.0V";
295 regulator-min-microvolt = <850000>;
296 regulator-max-microvolt = <1000000>;
301 regulator-name = "VBUCK4_1.95V";
302 regulator-min-microvolt = <1950000>;
303 regulator-max-microvolt = <1950000>;
308 regulator-name = "VBUCK5_1.35V";
309 regulator-min-microvolt = <1350000>;
310 regulator-max-microvolt = <1350000>;
320 card-detect-delay = <200>;
321 vmmc-supply = <&ldo12_reg>;
322 clock-frequency = <100000000>;
323 max-frequency = <100000000>;
324 samsung,dw-mshc-ciu-div = <1>;
325 samsung,dw-mshc-sdr-timing = <0 1>;
326 samsung,dw-mshc-ddr-timing = <1 2>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
338 keep-power-in-suspend;
340 vqmmc-supply = <&ldo11_reg>;
342 * Voltage negotiation is broken for the SDIO periph so we
343 * can't actually set the voltage here.
344 * vmmc-supply = <&ldo23_reg>;
346 card-detect-delay = <500>;
347 clock-frequency = <100000000>;
348 max-frequency = <100000000>;
349 samsung,dw-mshc-ciu-div = <3>;
350 samsung,dw-mshc-sdr-timing = <0 1>;
351 samsung,dw-mshc-ddr-timing = <1 2>;
352 pinctrl-names = "default";
353 pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>;
360 samsung,pins ="gpx1-7";
361 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
362 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
363 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
364 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>;
368 samsung,pins = "gpx2-3";
369 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
370 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
371 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>;
372 samsung,pin-val = <1>;
375 s2mps14_irq: s2mps14-irq {
376 samsung,pins = "gpx3-5";
377 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 bthostwake: bthostwake {
381 samsung,pins = "gpx3-6";
382 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
384 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
385 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
389 samsung,pins = "gpx3-7";
390 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
391 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
392 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>;
393 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>;
398 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
399 clock-names = "rtc", "rtc_src";
404 assigned-clocks = <&cmu CLK_SCLK_UART0>;
405 assigned-clock-rates = <100000000>;
409 compatible = "brcm,bcm4330-bt";
410 pinctrl-names = "default";
411 pinctrl-0 = <&bten &btwake &bthostwake>;
412 max-speed = <3000000>;
413 shutdown-gpios = <&gpx1 7 GPIO_ACTIVE_HIGH>;
414 device-wakeup-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
415 host-wakeup-gpios = <&gpx3 6 GPIO_ACTIVE_HIGH>;
416 clocks = <&s2mps14_osc S2MPS11_CLK_BT>;
425 clock-frequency = <24000000>;