xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos4210-trats.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Samsung's Exynos4210 based Trats board device tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6*724ba675SRob Herring *		http://www.samsung.com
7*724ba675SRob Herring *
8*724ba675SRob Herring * Device tree source file for Samsung's Trats board which is based on
9*724ba675SRob Herring * Samsung's Exynos4210 SoC.
10*724ba675SRob Herring */
11*724ba675SRob Herring
12*724ba675SRob Herring/dts-v1/;
13*724ba675SRob Herring#include "exynos4210.dtsi"
14*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
15*724ba675SRob Herring
16*724ba675SRob Herring/ {
17*724ba675SRob Herring	model = "Samsung Trats based on Exynos4210";
18*724ba675SRob Herring	compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4";
19*724ba675SRob Herring	chassis-type = "handset";
20*724ba675SRob Herring
21*724ba675SRob Herring	memory@40000000 {
22*724ba675SRob Herring		device_type = "memory";
23*724ba675SRob Herring		reg = <0x40000000 0x10000000
24*724ba675SRob Herring		       0x50000000 0x10000000
25*724ba675SRob Herring		       0x60000000 0x10000000
26*724ba675SRob Herring		       0x70000000 0x10000000>;
27*724ba675SRob Herring	};
28*724ba675SRob Herring
29*724ba675SRob Herring	aliases {
30*724ba675SRob Herring		mmc0 = &sdhci_0;
31*724ba675SRob Herring		mmc1 = &sdhci_2;
32*724ba675SRob Herring		mmc2 = &sdhci_3;
33*724ba675SRob Herring	};
34*724ba675SRob Herring
35*724ba675SRob Herring	chosen {
36*724ba675SRob Herring		bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
37*724ba675SRob Herring		stdout-path = "serial2:115200n8";
38*724ba675SRob Herring	};
39*724ba675SRob Herring
40*724ba675SRob Herring	vemmc_reg: regulator-0 {
41*724ba675SRob Herring		compatible = "regulator-fixed";
42*724ba675SRob Herring		regulator-name = "VMEM_VDD_2.8V";
43*724ba675SRob Herring		regulator-min-microvolt = <2800000>;
44*724ba675SRob Herring		regulator-max-microvolt = <2800000>;
45*724ba675SRob Herring		gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
46*724ba675SRob Herring		enable-active-high;
47*724ba675SRob Herring	};
48*724ba675SRob Herring
49*724ba675SRob Herring	tsp_reg: regulator-1 {
50*724ba675SRob Herring		compatible = "regulator-fixed";
51*724ba675SRob Herring		regulator-name = "TSP_FIXED_VOLTAGES";
52*724ba675SRob Herring		regulator-min-microvolt = <2800000>;
53*724ba675SRob Herring		regulator-max-microvolt = <2800000>;
54*724ba675SRob Herring		gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>;
55*724ba675SRob Herring		enable-active-high;
56*724ba675SRob Herring	};
57*724ba675SRob Herring
58*724ba675SRob Herring	cam_af_28v_reg: regulator-2 {
59*724ba675SRob Herring		compatible = "regulator-fixed";
60*724ba675SRob Herring		regulator-name = "8M_AF_2.8V_EN";
61*724ba675SRob Herring		regulator-min-microvolt = <2800000>;
62*724ba675SRob Herring		regulator-max-microvolt = <2800000>;
63*724ba675SRob Herring		gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>;
64*724ba675SRob Herring		enable-active-high;
65*724ba675SRob Herring	};
66*724ba675SRob Herring
67*724ba675SRob Herring	cam_io_en_reg: regulator-3 {
68*724ba675SRob Herring		compatible = "regulator-fixed";
69*724ba675SRob Herring		regulator-name = "CAM_IO_EN";
70*724ba675SRob Herring		regulator-min-microvolt = <2800000>;
71*724ba675SRob Herring		regulator-max-microvolt = <2800000>;
72*724ba675SRob Herring		gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>;
73*724ba675SRob Herring		enable-active-high;
74*724ba675SRob Herring	};
75*724ba675SRob Herring
76*724ba675SRob Herring	cam_io_12v_reg: regulator-4 {
77*724ba675SRob Herring		compatible = "regulator-fixed";
78*724ba675SRob Herring		regulator-name = "8M_1.2V_EN";
79*724ba675SRob Herring		regulator-min-microvolt = <1200000>;
80*724ba675SRob Herring		regulator-max-microvolt = <1200000>;
81*724ba675SRob Herring		gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>;
82*724ba675SRob Herring		enable-active-high;
83*724ba675SRob Herring	};
84*724ba675SRob Herring
85*724ba675SRob Herring	vt_core_15v_reg: regulator-5 {
86*724ba675SRob Herring		compatible = "regulator-fixed";
87*724ba675SRob Herring		regulator-name = "VT_CORE_1.5V";
88*724ba675SRob Herring		regulator-min-microvolt = <1500000>;
89*724ba675SRob Herring		regulator-max-microvolt = <1500000>;
90*724ba675SRob Herring		gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>;
91*724ba675SRob Herring		enable-active-high;
92*724ba675SRob Herring	};
93*724ba675SRob Herring
94*724ba675SRob Herring	gpio-keys {
95*724ba675SRob Herring		compatible = "gpio-keys";
96*724ba675SRob Herring
97*724ba675SRob Herring		vol-down-key {
98*724ba675SRob Herring			gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
99*724ba675SRob Herring			linux,code = <114>;
100*724ba675SRob Herring			label = "volume down";
101*724ba675SRob Herring			debounce-interval = <10>;
102*724ba675SRob Herring		};
103*724ba675SRob Herring
104*724ba675SRob Herring		vol-up-key {
105*724ba675SRob Herring			gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
106*724ba675SRob Herring			linux,code = <115>;
107*724ba675SRob Herring			label = "volume up";
108*724ba675SRob Herring			debounce-interval = <10>;
109*724ba675SRob Herring		};
110*724ba675SRob Herring
111*724ba675SRob Herring		power-key {
112*724ba675SRob Herring			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
113*724ba675SRob Herring			linux,code = <116>;
114*724ba675SRob Herring			label = "power";
115*724ba675SRob Herring			debounce-interval = <10>;
116*724ba675SRob Herring			wakeup-source;
117*724ba675SRob Herring		};
118*724ba675SRob Herring
119*724ba675SRob Herring		ok-key {
120*724ba675SRob Herring			gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
121*724ba675SRob Herring			linux,code = <352>;
122*724ba675SRob Herring			label = "ok";
123*724ba675SRob Herring			debounce-interval = <10>;
124*724ba675SRob Herring		};
125*724ba675SRob Herring	};
126*724ba675SRob Herring
127*724ba675SRob Herring	wlan_pwrseq: sdhci3-pwrseq {
128*724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
129*724ba675SRob Herring		reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
130*724ba675SRob Herring	};
131*724ba675SRob Herring
132*724ba675SRob Herring	fixed-rate-clocks {
133*724ba675SRob Herring		xxti {
134*724ba675SRob Herring			compatible = "samsung,clock-xxti";
135*724ba675SRob Herring			clock-frequency = <0>;
136*724ba675SRob Herring		};
137*724ba675SRob Herring
138*724ba675SRob Herring		xusbxti {
139*724ba675SRob Herring			compatible = "samsung,clock-xusbxti";
140*724ba675SRob Herring			clock-frequency = <24000000>;
141*724ba675SRob Herring		};
142*724ba675SRob Herring
143*724ba675SRob Herring		pmic_ap_clk: pmic-ap-clk {
144*724ba675SRob Herring			/* Workaround for missing clock on max8997 PMIC */
145*724ba675SRob Herring			compatible = "fixed-clock";
146*724ba675SRob Herring			#clock-cells = <0>;
147*724ba675SRob Herring			clock-frequency = <32768>;
148*724ba675SRob Herring		};
149*724ba675SRob Herring	};
150*724ba675SRob Herring};
151*724ba675SRob Herring
152*724ba675SRob Herring&camera {
153*724ba675SRob Herring	status = "okay";
154*724ba675SRob Herring};
155*724ba675SRob Herring
156*724ba675SRob Herring&cpu0 {
157*724ba675SRob Herring	cpu0-supply = <&varm_breg>;
158*724ba675SRob Herring};
159*724ba675SRob Herring
160*724ba675SRob Herring&cpu_thermal {
161*724ba675SRob Herring	cooling-maps {
162*724ba675SRob Herring		map0 {
163*724ba675SRob Herring			/* Corresponds to 800MHz at freq_table */
164*724ba675SRob Herring			cooling-device = <&cpu0 2 2>, <&cpu1 2 2>;
165*724ba675SRob Herring		};
166*724ba675SRob Herring		map1 {
167*724ba675SRob Herring			/* Corresponds to 200MHz at freq_table */
168*724ba675SRob Herring			cooling-device = <&cpu0 4 4>, <&cpu1 4 4>;
169*724ba675SRob Herring		};
170*724ba675SRob Herring	};
171*724ba675SRob Herring};
172*724ba675SRob Herring
173*724ba675SRob Herring&dsi_0 {
174*724ba675SRob Herring	vddcore-supply = <&vusb_reg>;
175*724ba675SRob Herring	vddio-supply = <&vmipi_reg>;
176*724ba675SRob Herring	samsung,burst-clock-frequency = <500000000>;
177*724ba675SRob Herring	samsung,esc-clock-frequency = <20000000>;
178*724ba675SRob Herring	samsung,pll-clock-frequency = <24000000>;
179*724ba675SRob Herring	status = "okay";
180*724ba675SRob Herring
181*724ba675SRob Herring	panel@0 {
182*724ba675SRob Herring		reg = <0>;
183*724ba675SRob Herring		compatible = "samsung,s6e8aa0";
184*724ba675SRob Herring		vdd3-supply = <&vcclcd_reg>;
185*724ba675SRob Herring		vci-supply = <&vlcd_reg>;
186*724ba675SRob Herring		reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
187*724ba675SRob Herring		power-on-delay = <50>;
188*724ba675SRob Herring		reset-delay = <100>;
189*724ba675SRob Herring		init-delay = <100>;
190*724ba675SRob Herring		flip-horizontal;
191*724ba675SRob Herring		flip-vertical;
192*724ba675SRob Herring		panel-width-mm = <58>;
193*724ba675SRob Herring		panel-height-mm = <103>;
194*724ba675SRob Herring
195*724ba675SRob Herring		display-timings {
196*724ba675SRob Herring			timing-0 {
197*724ba675SRob Herring				clock-frequency = <57153600>;
198*724ba675SRob Herring				hactive = <720>;
199*724ba675SRob Herring				vactive = <1280>;
200*724ba675SRob Herring				hfront-porch = <5>;
201*724ba675SRob Herring				hback-porch = <5>;
202*724ba675SRob Herring				hsync-len = <5>;
203*724ba675SRob Herring				vfront-porch = <13>;
204*724ba675SRob Herring				vback-porch = <1>;
205*724ba675SRob Herring				vsync-len = <2>;
206*724ba675SRob Herring			};
207*724ba675SRob Herring		};
208*724ba675SRob Herring	};
209*724ba675SRob Herring};
210*724ba675SRob Herring
211*724ba675SRob Herring&exynos_usbphy {
212*724ba675SRob Herring	status = "okay";
213*724ba675SRob Herring	vbus-supply = <&safe1_sreg>;
214*724ba675SRob Herring};
215*724ba675SRob Herring
216*724ba675SRob Herring&fimc_0 {
217*724ba675SRob Herring	status = "okay";
218*724ba675SRob Herring	assigned-clocks = <&clock CLK_MOUT_FIMC0>,
219*724ba675SRob Herring			  <&clock CLK_SCLK_FIMC0>;
220*724ba675SRob Herring	assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
221*724ba675SRob Herring	assigned-clock-rates = <0>, <160000000>;
222*724ba675SRob Herring};
223*724ba675SRob Herring
224*724ba675SRob Herring&fimc_1 {
225*724ba675SRob Herring	status = "okay";
226*724ba675SRob Herring	assigned-clocks = <&clock CLK_MOUT_FIMC1>,
227*724ba675SRob Herring			  <&clock CLK_SCLK_FIMC1>;
228*724ba675SRob Herring	assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
229*724ba675SRob Herring	assigned-clock-rates = <0>, <160000000>;
230*724ba675SRob Herring};
231*724ba675SRob Herring
232*724ba675SRob Herring&fimc_2 {
233*724ba675SRob Herring	status = "okay";
234*724ba675SRob Herring	assigned-clocks = <&clock CLK_MOUT_FIMC2>,
235*724ba675SRob Herring			  <&clock CLK_SCLK_FIMC2>;
236*724ba675SRob Herring	assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
237*724ba675SRob Herring		assigned-clock-rates = <0>, <160000000>;
238*724ba675SRob Herring};
239*724ba675SRob Herring
240*724ba675SRob Herring&fimc_3 {
241*724ba675SRob Herring	status = "okay";
242*724ba675SRob Herring	assigned-clocks = <&clock CLK_MOUT_FIMC3>,
243*724ba675SRob Herring			  <&clock CLK_SCLK_FIMC3>;
244*724ba675SRob Herring	assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
245*724ba675SRob Herring	assigned-clock-rates = <0>, <160000000>;
246*724ba675SRob Herring};
247*724ba675SRob Herring
248*724ba675SRob Herring&fimd {
249*724ba675SRob Herring	status = "okay";
250*724ba675SRob Herring};
251*724ba675SRob Herring
252*724ba675SRob Herring&gpu {
253*724ba675SRob Herring	status = "okay";
254*724ba675SRob Herring};
255*724ba675SRob Herring
256*724ba675SRob Herring&hsotg {
257*724ba675SRob Herring	vusb_d-supply = <&vusb_reg>;
258*724ba675SRob Herring	vusb_a-supply = <&vusbdac_reg>;
259*724ba675SRob Herring	dr_mode = "peripheral";
260*724ba675SRob Herring	status = "okay";
261*724ba675SRob Herring};
262*724ba675SRob Herring
263*724ba675SRob Herring&i2c_3 {
264*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
265*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
266*724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
267*724ba675SRob Herring	pinctrl-0 = <&i2c3_bus>;
268*724ba675SRob Herring	pinctrl-names = "default";
269*724ba675SRob Herring	status = "okay";
270*724ba675SRob Herring
271*724ba675SRob Herring	touchscreen@48 {
272*724ba675SRob Herring		compatible = "melfas,mms114";
273*724ba675SRob Herring		reg = <0x48>;
274*724ba675SRob Herring		interrupt-parent = <&gpx0>;
275*724ba675SRob Herring		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
276*724ba675SRob Herring		touchscreen-size-x = <720>;
277*724ba675SRob Herring		touchscreen-size-y = <1280>;
278*724ba675SRob Herring		avdd-supply = <&tsp_reg>;
279*724ba675SRob Herring		vdd-supply = <&tsp_reg>;
280*724ba675SRob Herring	};
281*724ba675SRob Herring};
282*724ba675SRob Herring
283*724ba675SRob Herring&i2c_5 {
284*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
285*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
286*724ba675SRob Herring	samsung,i2c-max-bus-freq = <100000>;
287*724ba675SRob Herring	pinctrl-0 = <&i2c5_bus>;
288*724ba675SRob Herring	pinctrl-names = "default";
289*724ba675SRob Herring	status = "okay";
290*724ba675SRob Herring
291*724ba675SRob Herring	pmic@66 {
292*724ba675SRob Herring		compatible = "maxim,max8997-pmic";
293*724ba675SRob Herring
294*724ba675SRob Herring		reg = <0x66>;
295*724ba675SRob Herring		interrupts-extended = <&gpx0 7 IRQ_TYPE_LEVEL_LOW>,
296*724ba675SRob Herring				      <&gpx2 3 IRQ_TYPE_EDGE_FALLING>;
297*724ba675SRob Herring
298*724ba675SRob Herring		max8997,pmic-buck1-uses-gpio-dvs;
299*724ba675SRob Herring		max8997,pmic-buck2-uses-gpio-dvs;
300*724ba675SRob Herring		max8997,pmic-buck5-uses-gpio-dvs;
301*724ba675SRob Herring
302*724ba675SRob Herring		max8997,pmic-ignore-gpiodvs-side-effect;
303*724ba675SRob Herring		max8997,pmic-buck125-default-dvs-idx = <0>;
304*724ba675SRob Herring
305*724ba675SRob Herring		max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
306*724ba675SRob Herring						 <&gpx0 6 GPIO_ACTIVE_HIGH>,
307*724ba675SRob Herring						 <&gpl0 0 GPIO_ACTIVE_HIGH>;
308*724ba675SRob Herring
309*724ba675SRob Herring		max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
310*724ba675SRob Herring						 <1250000>, <1200000>,
311*724ba675SRob Herring						 <1150000>, <1100000>,
312*724ba675SRob Herring						 <1000000>, <950000>;
313*724ba675SRob Herring
314*724ba675SRob Herring		max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
315*724ba675SRob Herring						 <950000>,  <900000>,
316*724ba675SRob Herring						 <1100000>, <1000000>,
317*724ba675SRob Herring						 <950000>,  <900000>;
318*724ba675SRob Herring
319*724ba675SRob Herring		max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
320*724ba675SRob Herring						 <1200000>, <1200000>,
321*724ba675SRob Herring						 <1200000>, <1200000>,
322*724ba675SRob Herring						 <1200000>, <1200000>;
323*724ba675SRob Herring
324*724ba675SRob Herring		regulators {
325*724ba675SRob Herring			valive_reg: LDO2 {
326*724ba675SRob Herring				regulator-name = "VALIVE_1.1V_C210";
327*724ba675SRob Herring				regulator-min-microvolt = <1100000>;
328*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
329*724ba675SRob Herring				regulator-always-on;
330*724ba675SRob Herring			};
331*724ba675SRob Herring
332*724ba675SRob Herring			vusb_reg: LDO3 {
333*724ba675SRob Herring				regulator-name = "VUSB_1.1V_C210";
334*724ba675SRob Herring				regulator-min-microvolt = <1100000>;
335*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
336*724ba675SRob Herring			};
337*724ba675SRob Herring
338*724ba675SRob Herring			vmipi_reg: LDO4 {
339*724ba675SRob Herring				regulator-name = "VMIPI_1.8V";
340*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
341*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
342*724ba675SRob Herring			};
343*724ba675SRob Herring
344*724ba675SRob Herring			vpda_reg: LDO6 {
345*724ba675SRob Herring				regulator-name = "VCC_1.8V_PDA";
346*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
347*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
348*724ba675SRob Herring				regulator-always-on;
349*724ba675SRob Herring			};
350*724ba675SRob Herring
351*724ba675SRob Herring			vcam_reg: LDO7 {
352*724ba675SRob Herring				regulator-name = "CAM_ISP_1.8V";
353*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
354*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
355*724ba675SRob Herring			};
356*724ba675SRob Herring
357*724ba675SRob Herring			vusbdac_reg: LDO8 {
358*724ba675SRob Herring				regulator-name = "VUSB+VDAC_3.3V_C210";
359*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
360*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
361*724ba675SRob Herring			};
362*724ba675SRob Herring
363*724ba675SRob Herring			vccpda_reg: LDO9 {
364*724ba675SRob Herring				regulator-name = "VCC_2.8V_PDA";
365*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
366*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
367*724ba675SRob Herring				regulator-always-on;
368*724ba675SRob Herring			};
369*724ba675SRob Herring
370*724ba675SRob Herring			vpll_reg: LDO10 {
371*724ba675SRob Herring				regulator-name = "VPLL_1.1V_C210";
372*724ba675SRob Herring				regulator-min-microvolt = <1100000>;
373*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
374*724ba675SRob Herring				regulator-always-on;
375*724ba675SRob Herring			};
376*724ba675SRob Herring
377*724ba675SRob Herring			vtcam_reg: LDO12 {
378*724ba675SRob Herring				regulator-name = "VT_CAM_1.8V";
379*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
380*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
381*724ba675SRob Herring			};
382*724ba675SRob Herring
383*724ba675SRob Herring			vcclcd_reg: LDO13 {
384*724ba675SRob Herring				regulator-name = "VCC_3.3V_LCD";
385*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
386*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
387*724ba675SRob Herring			};
388*724ba675SRob Herring
389*724ba675SRob Herring			vlcd_reg: LDO15 {
390*724ba675SRob Herring				regulator-name = "VLCD_2.2V";
391*724ba675SRob Herring				regulator-min-microvolt = <2200000>;
392*724ba675SRob Herring				regulator-max-microvolt = <2200000>;
393*724ba675SRob Herring			};
394*724ba675SRob Herring
395*724ba675SRob Herring			camsensor_reg: LDO16 {
396*724ba675SRob Herring				regulator-name = "CAM_SENSOR_IO_1.8V";
397*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
398*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
399*724ba675SRob Herring			};
400*724ba675SRob Herring
401*724ba675SRob Herring			tflash_reg: LDO17 {
402*724ba675SRob Herring				regulator-name = "VTF_2.8V";
403*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
404*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
405*724ba675SRob Herring			};
406*724ba675SRob Herring
407*724ba675SRob Herring			vddq_reg: LDO21 {
408*724ba675SRob Herring				regulator-name = "VDDQ_M1M2_1.2V";
409*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
410*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
411*724ba675SRob Herring				regulator-always-on;
412*724ba675SRob Herring			};
413*724ba675SRob Herring
414*724ba675SRob Herring			varm_breg: BUCK1 {
415*724ba675SRob Herring				regulator-name = "VARM_1.2V_C210";
416*724ba675SRob Herring				regulator-min-microvolt = <900000>;
417*724ba675SRob Herring				regulator-max-microvolt = <1350000>;
418*724ba675SRob Herring				regulator-always-on;
419*724ba675SRob Herring			};
420*724ba675SRob Herring
421*724ba675SRob Herring			vint_breg: BUCK2 {
422*724ba675SRob Herring				regulator-name = "VINT_1.1V_C210";
423*724ba675SRob Herring				regulator-min-microvolt = <900000>;
424*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
425*724ba675SRob Herring				regulator-always-on;
426*724ba675SRob Herring			};
427*724ba675SRob Herring
428*724ba675SRob Herring			camisp_breg: BUCK4 {
429*724ba675SRob Herring				regulator-name = "CAM_ISP_CORE_1.2V";
430*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
431*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
432*724ba675SRob Herring			};
433*724ba675SRob Herring
434*724ba675SRob Herring			vmem_breg: BUCK5 {
435*724ba675SRob Herring				regulator-name = "VMEM_1.2V_C210";
436*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
437*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
438*724ba675SRob Herring				regulator-always-on;
439*724ba675SRob Herring			};
440*724ba675SRob Herring
441*724ba675SRob Herring			vccsub_breg: BUCK7 {
442*724ba675SRob Herring				regulator-name = "VCC_SUB_2.0V";
443*724ba675SRob Herring				regulator-min-microvolt = <2000000>;
444*724ba675SRob Herring				regulator-max-microvolt = <2000000>;
445*724ba675SRob Herring				regulator-always-on;
446*724ba675SRob Herring			};
447*724ba675SRob Herring
448*724ba675SRob Herring			safe1_sreg: ESAFEOUT1 {
449*724ba675SRob Herring				regulator-name = "SAFEOUT1";
450*724ba675SRob Herring			};
451*724ba675SRob Herring
452*724ba675SRob Herring			safe2_sreg: ESAFEOUT2 {
453*724ba675SRob Herring				regulator-name = "SAFEOUT2";
454*724ba675SRob Herring				regulator-boot-on;
455*724ba675SRob Herring			};
456*724ba675SRob Herring
457*724ba675SRob Herring			EN32KHZ_AP {
458*724ba675SRob Herring				regulator-name = "EN32KHZ_AP";
459*724ba675SRob Herring				regulator-always-on;
460*724ba675SRob Herring			};
461*724ba675SRob Herring
462*724ba675SRob Herring			EN32KHZ_CP {
463*724ba675SRob Herring				regulator-name = "EN32KHZ_CP";
464*724ba675SRob Herring				regulator-always-on;
465*724ba675SRob Herring			};
466*724ba675SRob Herring		};
467*724ba675SRob Herring	};
468*724ba675SRob Herring};
469*724ba675SRob Herring
470*724ba675SRob Herring&pinctrl_1 {
471*724ba675SRob Herring	bt_shutdown: bt-shutdown-pins {
472*724ba675SRob Herring		samsung,pins = "gpl1-0";
473*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
474*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
475*724ba675SRob Herring	};
476*724ba675SRob Herring
477*724ba675SRob Herring	bt_host_wakeup: bt-host-wakeup-pins {
478*724ba675SRob Herring		samsung,pins = "gpx2-6";
479*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
480*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
481*724ba675SRob Herring	};
482*724ba675SRob Herring
483*724ba675SRob Herring	bt_device_wakeup: bt-device-wakeup-pins {
484*724ba675SRob Herring		samsung,pins = "gpx3-1";
485*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
486*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
487*724ba675SRob Herring	};
488*724ba675SRob Herring};
489*724ba675SRob Herring
490*724ba675SRob Herring&rtc {
491*724ba675SRob Herring	status = "okay";
492*724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
493*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
494*724ba675SRob Herring};
495*724ba675SRob Herring
496*724ba675SRob Herring&sdhci_0 {
497*724ba675SRob Herring	bus-width = <8>;
498*724ba675SRob Herring	non-removable;
499*724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
500*724ba675SRob Herring	pinctrl-names = "default";
501*724ba675SRob Herring	vmmc-supply = <&vemmc_reg>;
502*724ba675SRob Herring	status = "okay";
503*724ba675SRob Herring};
504*724ba675SRob Herring
505*724ba675SRob Herring&sdhci_2 {
506*724ba675SRob Herring	bus-width = <4>;
507*724ba675SRob Herring	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
508*724ba675SRob Herring	pinctrl-names = "default";
509*724ba675SRob Herring	vmmc-supply = <&tflash_reg>;
510*724ba675SRob Herring	cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
511*724ba675SRob Herring	status = "okay";
512*724ba675SRob Herring};
513*724ba675SRob Herring
514*724ba675SRob Herring&sdhci_3 {
515*724ba675SRob Herring	status = "okay";
516*724ba675SRob Herring
517*724ba675SRob Herring	#address-cells = <1>;
518*724ba675SRob Herring	#size-cells = <0>;
519*724ba675SRob Herring
520*724ba675SRob Herring	non-removable;
521*724ba675SRob Herring	bus-width = <4>;
522*724ba675SRob Herring	mmc-pwrseq = <&wlan_pwrseq>;
523*724ba675SRob Herring	vmmc-supply = <&tflash_reg>;
524*724ba675SRob Herring
525*724ba675SRob Herring	pinctrl-names = "default";
526*724ba675SRob Herring	pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
527*724ba675SRob Herring
528*724ba675SRob Herring	brcmf: wifi@1 {
529*724ba675SRob Herring		compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
530*724ba675SRob Herring		reg = <1>;
531*724ba675SRob Herring
532*724ba675SRob Herring		interrupt-parent = <&gpx2>;
533*724ba675SRob Herring		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
534*724ba675SRob Herring		interrupt-names = "host-wake";
535*724ba675SRob Herring	};
536*724ba675SRob Herring};
537*724ba675SRob Herring
538*724ba675SRob Herring&serial_0 {
539*724ba675SRob Herring	status = "okay";
540*724ba675SRob Herring	pinctrl-0 = <&uart0_data &uart0_fctl>;
541*724ba675SRob Herring	pinctrl-names = "default";
542*724ba675SRob Herring
543*724ba675SRob Herring	bluetooth {
544*724ba675SRob Herring		compatible = "brcm,bcm4330-bt";
545*724ba675SRob Herring		pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
546*724ba675SRob Herring		pinctrl-names = "default";
547*724ba675SRob Herring		shutdown-gpios = <&gpl1 0 GPIO_ACTIVE_HIGH>;
548*724ba675SRob Herring		device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
549*724ba675SRob Herring		host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
550*724ba675SRob Herring	};
551*724ba675SRob Herring};
552*724ba675SRob Herring
553*724ba675SRob Herring&serial_1 {
554*724ba675SRob Herring	status = "okay";
555*724ba675SRob Herring};
556*724ba675SRob Herring
557*724ba675SRob Herring&serial_2 {
558*724ba675SRob Herring	status = "okay";
559*724ba675SRob Herring};
560*724ba675SRob Herring
561*724ba675SRob Herring&serial_3 {
562*724ba675SRob Herring	status = "okay";
563*724ba675SRob Herring};
564*724ba675SRob Herring
565*724ba675SRob Herring&tmu {
566*724ba675SRob Herring	status = "okay";
567*724ba675SRob Herring};
568