xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos3250-monk.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Samsung's Exynos3250 based Monk board device tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6*724ba675SRob Herring *		http://www.samsung.com
7*724ba675SRob Herring *
8*724ba675SRob Herring * Device tree source file for Samsung's Monk board which is based on
9*724ba675SRob Herring * Samsung Exynos3250 SoC.
10*724ba675SRob Herring */
11*724ba675SRob Herring
12*724ba675SRob Herring/dts-v1/;
13*724ba675SRob Herring#include "exynos3250.dtsi"
14*724ba675SRob Herring#include "exynos4412-ppmu-common.dtsi"
15*724ba675SRob Herring#include <dt-bindings/input/input.h>
16*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
17*724ba675SRob Herring#include <dt-bindings/clock/samsung,s2mps11.h>
18*724ba675SRob Herring
19*724ba675SRob Herring/ {
20*724ba675SRob Herring	model = "Samsung Monk board";
21*724ba675SRob Herring	compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
22*724ba675SRob Herring
23*724ba675SRob Herring	aliases {
24*724ba675SRob Herring		i2c7 = &i2c_max77836;
25*724ba675SRob Herring		mmc0 = &mshc_0;
26*724ba675SRob Herring	};
27*724ba675SRob Herring
28*724ba675SRob Herring	memory@40000000 {
29*724ba675SRob Herring		device_type = "memory";
30*724ba675SRob Herring		reg = <0x40000000 0x1ff00000>;
31*724ba675SRob Herring	};
32*724ba675SRob Herring
33*724ba675SRob Herring	firmware@205f000 {
34*724ba675SRob Herring		compatible = "samsung,secure-firmware";
35*724ba675SRob Herring		reg = <0x0205f000 0x1000>;
36*724ba675SRob Herring	};
37*724ba675SRob Herring
38*724ba675SRob Herring	gpio-keys {
39*724ba675SRob Herring		compatible = "gpio-keys";
40*724ba675SRob Herring
41*724ba675SRob Herring		power-key {
42*724ba675SRob Herring			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
43*724ba675SRob Herring			linux,code = <KEY_POWER>;
44*724ba675SRob Herring			label = "power key";
45*724ba675SRob Herring			debounce-interval = <10>;
46*724ba675SRob Herring			wakeup-source;
47*724ba675SRob Herring		};
48*724ba675SRob Herring	};
49*724ba675SRob Herring
50*724ba675SRob Herring	vemmc_reg: voltage-regulator-0 {
51*724ba675SRob Herring		compatible = "regulator-fixed";
52*724ba675SRob Herring		regulator-name = "V_EMMC_2.8V-fixed";
53*724ba675SRob Herring		regulator-min-microvolt = <2800000>;
54*724ba675SRob Herring		regulator-max-microvolt = <2800000>;
55*724ba675SRob Herring		gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
56*724ba675SRob Herring		enable-active-high;
57*724ba675SRob Herring	};
58*724ba675SRob Herring
59*724ba675SRob Herring	i2c_max77836: i2c-gpio-0 {
60*724ba675SRob Herring		compatible = "i2c-gpio";
61*724ba675SRob Herring		sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
62*724ba675SRob Herring		scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
63*724ba675SRob Herring		#address-cells = <1>;
64*724ba675SRob Herring		#size-cells = <0>;
65*724ba675SRob Herring
66*724ba675SRob Herring		max77836: pmic@25 {
67*724ba675SRob Herring			compatible = "maxim,max77836";
68*724ba675SRob Herring			interrupt-parent = <&gpx1>;
69*724ba675SRob Herring			interrupts = <5 IRQ_TYPE_NONE>;
70*724ba675SRob Herring			reg = <0x25>;
71*724ba675SRob Herring			wakeup-source;
72*724ba675SRob Herring
73*724ba675SRob Herring			extcon {
74*724ba675SRob Herring				compatible = "maxim,max77836-muic";
75*724ba675SRob Herring			};
76*724ba675SRob Herring
77*724ba675SRob Herring			regulators {
78*724ba675SRob Herring				compatible = "maxim,max77836-regulator";
79*724ba675SRob Herring				safeout_reg: SAFEOUT {
80*724ba675SRob Herring					regulator-name = "SAFEOUT";
81*724ba675SRob Herring				};
82*724ba675SRob Herring
83*724ba675SRob Herring				charger_reg: CHARGER {
84*724ba675SRob Herring					regulator-name = "CHARGER";
85*724ba675SRob Herring					regulator-min-microamp = <45000>;
86*724ba675SRob Herring					regulator-max-microamp = <475000>;
87*724ba675SRob Herring					regulator-boot-on;
88*724ba675SRob Herring				};
89*724ba675SRob Herring
90*724ba675SRob Herring				motor_reg: LDO1 {
91*724ba675SRob Herring					regulator-name = "MOT_2.7V";
92*724ba675SRob Herring					regulator-min-microvolt = <1100000>;
93*724ba675SRob Herring					regulator-max-microvolt = <2700000>;
94*724ba675SRob Herring				};
95*724ba675SRob Herring
96*724ba675SRob Herring				LDO2 {
97*724ba675SRob Herring					regulator-name = "UNUSED_LDO2";
98*724ba675SRob Herring					regulator-min-microvolt = <800000>;
99*724ba675SRob Herring					regulator-max-microvolt = <3950000>;
100*724ba675SRob Herring				};
101*724ba675SRob Herring			};
102*724ba675SRob Herring
103*724ba675SRob Herring			charger {
104*724ba675SRob Herring				compatible = "maxim,max77836-charger";
105*724ba675SRob Herring
106*724ba675SRob Herring				maxim,constant-uvolt = <4350000>;
107*724ba675SRob Herring				maxim,fast-charge-uamp = <225000>;
108*724ba675SRob Herring				maxim,eoc-uamp = <7500>;
109*724ba675SRob Herring				maxim,ovp-uvolt = <6500000>;
110*724ba675SRob Herring			};
111*724ba675SRob Herring		};
112*724ba675SRob Herring	};
113*724ba675SRob Herring
114*724ba675SRob Herring	haptics {
115*724ba675SRob Herring		compatible = "regulator-haptic";
116*724ba675SRob Herring		haptic-supply = <&motor_reg>;
117*724ba675SRob Herring		min-microvolt = <1100000>;
118*724ba675SRob Herring		max-microvolt = <2700000>;
119*724ba675SRob Herring	};
120*724ba675SRob Herring
121*724ba675SRob Herring	thermal-zones {
122*724ba675SRob Herring		cpu_thermal: cpu-thermal {
123*724ba675SRob Herring			cooling-maps {
124*724ba675SRob Herring				map0 {
125*724ba675SRob Herring					/* Correspond to 500MHz at freq_table */
126*724ba675SRob Herring					cooling-device = <&cpu0 5 5>,
127*724ba675SRob Herring							 <&cpu1 5 5>;
128*724ba675SRob Herring				};
129*724ba675SRob Herring				map1 {
130*724ba675SRob Herring					/* Correspond to 200MHz at freq_table */
131*724ba675SRob Herring					cooling-device = <&cpu0 8 8>,
132*724ba675SRob Herring							 <&cpu1 8 8>;
133*724ba675SRob Herring				};
134*724ba675SRob Herring			};
135*724ba675SRob Herring		};
136*724ba675SRob Herring	};
137*724ba675SRob Herring};
138*724ba675SRob Herring
139*724ba675SRob Herring&adc {
140*724ba675SRob Herring	vdd-supply = <&ldo3_reg>;
141*724ba675SRob Herring	status = "okay";
142*724ba675SRob Herring	assigned-clocks = <&cmu CLK_SCLK_TSADC>;
143*724ba675SRob Herring	assigned-clock-rates = <6000000>;
144*724ba675SRob Herring
145*724ba675SRob Herring	thermistor-ap {
146*724ba675SRob Herring		compatible = "murata,ncp15wb473";
147*724ba675SRob Herring		pullup-uv = <1800000>;
148*724ba675SRob Herring		pullup-ohm = <100000>;
149*724ba675SRob Herring		pulldown-ohm = <100000>;
150*724ba675SRob Herring		io-channels = <&adc 0>;
151*724ba675SRob Herring	};
152*724ba675SRob Herring
153*724ba675SRob Herring	thermistor-battery {
154*724ba675SRob Herring		compatible = "murata,ncp15wb473";
155*724ba675SRob Herring		pullup-uv = <1800000>;
156*724ba675SRob Herring		pullup-ohm = <100000>;
157*724ba675SRob Herring		pulldown-ohm = <100000>;
158*724ba675SRob Herring		io-channels = <&adc 1>;
159*724ba675SRob Herring	};
160*724ba675SRob Herring};
161*724ba675SRob Herring
162*724ba675SRob Herring&bus_dmc {
163*724ba675SRob Herring	devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
164*724ba675SRob Herring	vdd-supply = <&buck1_reg>;
165*724ba675SRob Herring	status = "okay";
166*724ba675SRob Herring};
167*724ba675SRob Herring
168*724ba675SRob Herring&cmu {
169*724ba675SRob Herring	clocks = <&xusbxti>;
170*724ba675SRob Herring};
171*724ba675SRob Herring
172*724ba675SRob Herring&cpu0 {
173*724ba675SRob Herring	cpu0-supply = <&buck2_reg>;
174*724ba675SRob Herring};
175*724ba675SRob Herring
176*724ba675SRob Herring&exynos_usbphy {
177*724ba675SRob Herring	vbus-supply = <&safeout_reg>;
178*724ba675SRob Herring	status = "okay";
179*724ba675SRob Herring};
180*724ba675SRob Herring
181*724ba675SRob Herring&gpu {
182*724ba675SRob Herring	mali-supply = <&buck3_reg>;
183*724ba675SRob Herring	status = "okay";
184*724ba675SRob Herring};
185*724ba675SRob Herring
186*724ba675SRob Herring&hsotg {
187*724ba675SRob Herring	vusb_d-supply = <&ldo15_reg>;
188*724ba675SRob Herring	vusb_a-supply = <&ldo12_reg>;
189*724ba675SRob Herring	dr_mode = "peripheral";
190*724ba675SRob Herring	status = "okay";
191*724ba675SRob Herring};
192*724ba675SRob Herring
193*724ba675SRob Herring&i2c_0 {
194*724ba675SRob Herring	#address-cells = <1>;
195*724ba675SRob Herring	#size-cells = <0>;
196*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
197*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
198*724ba675SRob Herring	samsung,i2c-max-bus-freq = <100000>;
199*724ba675SRob Herring	status = "okay";
200*724ba675SRob Herring
201*724ba675SRob Herring	pmic@66 {
202*724ba675SRob Herring		compatible = "samsung,s2mps14-pmic";
203*724ba675SRob Herring		interrupt-parent = <&gpx0>;
204*724ba675SRob Herring		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
205*724ba675SRob Herring		reg = <0x66>;
206*724ba675SRob Herring		wakeup-source;
207*724ba675SRob Herring
208*724ba675SRob Herring		s2mps14_osc: clocks {
209*724ba675SRob Herring			compatible = "samsung,s2mps14-clk";
210*724ba675SRob Herring			#clock-cells = <1>;
211*724ba675SRob Herring			clock-output-names = "s2mps14_ap", "unused",
212*724ba675SRob Herring				"s2mps14_bt";
213*724ba675SRob Herring		};
214*724ba675SRob Herring
215*724ba675SRob Herring		regulators {
216*724ba675SRob Herring			ldo1_reg: LDO1 {
217*724ba675SRob Herring				regulator-name = "VAP_ALIVE_1.0V";
218*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
219*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
220*724ba675SRob Herring				regulator-always-on;
221*724ba675SRob Herring			};
222*724ba675SRob Herring
223*724ba675SRob Herring			ldo2_reg: LDO2 {
224*724ba675SRob Herring				regulator-name = "VAP_M1_1.2V";
225*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
226*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
227*724ba675SRob Herring				regulator-always-on;
228*724ba675SRob Herring			};
229*724ba675SRob Herring
230*724ba675SRob Herring			ldo3_reg: LDO3 {
231*724ba675SRob Herring				regulator-name = "VCC_AP_1.8V";
232*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
233*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
234*724ba675SRob Herring				regulator-always-on;
235*724ba675SRob Herring			};
236*724ba675SRob Herring
237*724ba675SRob Herring			ldo4_reg: LDO4 {
238*724ba675SRob Herring				regulator-name = "VAP_AVDD_PLL1";
239*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
240*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
241*724ba675SRob Herring				regulator-always-on;
242*724ba675SRob Herring			};
243*724ba675SRob Herring
244*724ba675SRob Herring			ldo5_reg: LDO5 {
245*724ba675SRob Herring				regulator-name = "VAP_PLL_ISO_1.0V";
246*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
247*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
248*724ba675SRob Herring				regulator-always-on;
249*724ba675SRob Herring			};
250*724ba675SRob Herring
251*724ba675SRob Herring			ldo6_reg: LDO6 {
252*724ba675SRob Herring				regulator-name = "VAP_MIPI_1.0V";
253*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
254*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
255*724ba675SRob Herring			};
256*724ba675SRob Herring
257*724ba675SRob Herring			ldo7_reg: LDO7 {
258*724ba675SRob Herring				regulator-name = "VAP_AVDD_1.8V";
259*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
260*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
261*724ba675SRob Herring				regulator-always-on;
262*724ba675SRob Herring			};
263*724ba675SRob Herring
264*724ba675SRob Herring			ldo8_reg: LDO8 {
265*724ba675SRob Herring				regulator-name = "VAP_USB_3.0V";
266*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
267*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
268*724ba675SRob Herring				regulator-always-on;
269*724ba675SRob Herring			};
270*724ba675SRob Herring
271*724ba675SRob Herring			ldo9_reg: LDO9 {
272*724ba675SRob Herring				regulator-name = "V_LPDDR_1.2V";
273*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
274*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
275*724ba675SRob Herring				regulator-always-on;
276*724ba675SRob Herring			};
277*724ba675SRob Herring
278*724ba675SRob Herring			ldo10_reg: LDO10 {
279*724ba675SRob Herring				regulator-name = "UNUSED_LDO10";
280*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
281*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
282*724ba675SRob Herring			};
283*724ba675SRob Herring
284*724ba675SRob Herring			ldo11_reg: LDO11 {
285*724ba675SRob Herring				regulator-name = "V_EMMC_1.8V";
286*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
287*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
288*724ba675SRob Herring				samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
289*724ba675SRob Herring			};
290*724ba675SRob Herring
291*724ba675SRob Herring			ldo12_reg: LDO12 {
292*724ba675SRob Herring				regulator-name = "V_EMMC_2.8V";
293*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
294*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
295*724ba675SRob Herring				samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
296*724ba675SRob Herring			};
297*724ba675SRob Herring
298*724ba675SRob Herring			ldo13_reg: LDO13 {
299*724ba675SRob Herring				regulator-name = "VSENSOR_2.85V";
300*724ba675SRob Herring				regulator-min-microvolt = <2850000>;
301*724ba675SRob Herring				regulator-max-microvolt = <2850000>;
302*724ba675SRob Herring				regulator-always-on;
303*724ba675SRob Herring			};
304*724ba675SRob Herring
305*724ba675SRob Herring			ldo14_reg: LDO14 {
306*724ba675SRob Herring				regulator-name = "UNUSED_LDO14";
307*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
308*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
309*724ba675SRob Herring			};
310*724ba675SRob Herring
311*724ba675SRob Herring			ldo15_reg: LDO15 {
312*724ba675SRob Herring				regulator-name = "TSP_AVDD_3.3V";
313*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
314*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
315*724ba675SRob Herring			};
316*724ba675SRob Herring
317*724ba675SRob Herring			ldo16_reg: LDO16 {
318*724ba675SRob Herring				regulator-name = "LCD_VDD_3.3V";
319*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
320*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
321*724ba675SRob Herring			};
322*724ba675SRob Herring
323*724ba675SRob Herring			ldo17_reg: LDO17 {
324*724ba675SRob Herring				regulator-name = "UNUSED_LDO17";
325*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
326*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
327*724ba675SRob Herring			};
328*724ba675SRob Herring
329*724ba675SRob Herring			ldo18_reg: LDO18 {
330*724ba675SRob Herring				regulator-name = "UNUSED_LDO18";
331*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
332*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
333*724ba675SRob Herring			};
334*724ba675SRob Herring
335*724ba675SRob Herring			ldo19_reg: LDO19 {
336*724ba675SRob Herring				regulator-name = "TSP_VDD_1.8V";
337*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
338*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
339*724ba675SRob Herring			};
340*724ba675SRob Herring
341*724ba675SRob Herring			ldo20_reg: LDO20 {
342*724ba675SRob Herring				regulator-name = "LCD_VDD_1.8V";
343*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
344*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
345*724ba675SRob Herring			};
346*724ba675SRob Herring
347*724ba675SRob Herring			ldo21_reg: LDO21 {
348*724ba675SRob Herring				regulator-name = "UNUSED_LDO21";
349*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
350*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
351*724ba675SRob Herring			};
352*724ba675SRob Herring
353*724ba675SRob Herring			ldo22_reg: LDO22 {
354*724ba675SRob Herring				regulator-name = "UNUSED_LDO22";
355*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
356*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
357*724ba675SRob Herring			};
358*724ba675SRob Herring
359*724ba675SRob Herring			ldo23_reg: LDO23 {
360*724ba675SRob Herring				regulator-name = "UNUSED_LDO23";
361*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
362*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
363*724ba675SRob Herring				regulator-always-on;
364*724ba675SRob Herring			};
365*724ba675SRob Herring
366*724ba675SRob Herring			ldo24_reg: LDO24 {
367*724ba675SRob Herring				regulator-name = "UNUSED_LDO24";
368*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
369*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
370*724ba675SRob Herring			};
371*724ba675SRob Herring
372*724ba675SRob Herring			ldo25_reg: LDO25 {
373*724ba675SRob Herring				regulator-name = "UNUSED_LDO25";
374*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
375*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
376*724ba675SRob Herring			};
377*724ba675SRob Herring
378*724ba675SRob Herring			buck1_reg: BUCK1 {
379*724ba675SRob Herring				regulator-name = "VAP_MIF_1.0V";
380*724ba675SRob Herring				regulator-min-microvolt = <800000>;
381*724ba675SRob Herring				regulator-max-microvolt = <900000>;
382*724ba675SRob Herring				regulator-always-on;
383*724ba675SRob Herring			};
384*724ba675SRob Herring
385*724ba675SRob Herring			buck2_reg: BUCK2 {
386*724ba675SRob Herring				regulator-name = "VAP_ARM_1.0V";
387*724ba675SRob Herring				regulator-min-microvolt = <850000>;
388*724ba675SRob Herring				regulator-max-microvolt = <1150000>;
389*724ba675SRob Herring				regulator-always-on;
390*724ba675SRob Herring			};
391*724ba675SRob Herring
392*724ba675SRob Herring			buck3_reg: BUCK3 {
393*724ba675SRob Herring				regulator-name = "VAP_INT3D_1.0V";
394*724ba675SRob Herring				regulator-min-microvolt = <850000>;
395*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
396*724ba675SRob Herring				regulator-always-on;
397*724ba675SRob Herring			};
398*724ba675SRob Herring
399*724ba675SRob Herring			buck4_reg: BUCK4 {
400*724ba675SRob Herring				regulator-name = "VCC_SUB_1.95V";
401*724ba675SRob Herring				regulator-min-microvolt = <1950000>;
402*724ba675SRob Herring				regulator-max-microvolt = <1950000>;
403*724ba675SRob Herring				regulator-always-on;
404*724ba675SRob Herring			};
405*724ba675SRob Herring
406*724ba675SRob Herring			buck5_reg: BUCK5 {
407*724ba675SRob Herring				regulator-name = "VCC_SUB_1.35V";
408*724ba675SRob Herring				regulator-min-microvolt = <1350000>;
409*724ba675SRob Herring				regulator-max-microvolt = <1350000>;
410*724ba675SRob Herring				regulator-always-on;
411*724ba675SRob Herring			};
412*724ba675SRob Herring		};
413*724ba675SRob Herring	};
414*724ba675SRob Herring};
415*724ba675SRob Herring
416*724ba675SRob Herring&i2c_1 {
417*724ba675SRob Herring	#address-cells = <1>;
418*724ba675SRob Herring	#size-cells = <0>;
419*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
420*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
421*724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
422*724ba675SRob Herring	status = "okay";
423*724ba675SRob Herring
424*724ba675SRob Herring	fuelgauge@36 {
425*724ba675SRob Herring		compatible = "maxim,max77836-battery";
426*724ba675SRob Herring		interrupt-parent = <&gpx1>;
427*724ba675SRob Herring		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
428*724ba675SRob Herring		reg = <0x36>;
429*724ba675SRob Herring	};
430*724ba675SRob Herring};
431*724ba675SRob Herring
432*724ba675SRob Herring&i2s2 {
433*724ba675SRob Herring	status = "okay";
434*724ba675SRob Herring};
435*724ba675SRob Herring
436*724ba675SRob Herring&mshc_0 {
437*724ba675SRob Herring	#address-cells = <1>;
438*724ba675SRob Herring	#size-cells = <0>;
439*724ba675SRob Herring	broken-cd;
440*724ba675SRob Herring	non-removable;
441*724ba675SRob Herring	cap-mmc-highspeed;
442*724ba675SRob Herring	mmc-hs200-1_8v;
443*724ba675SRob Herring	card-detect-delay = <200>;
444*724ba675SRob Herring	vmmc-supply = <&vemmc_reg>;
445*724ba675SRob Herring	clock-frequency = <100000000>;
446*724ba675SRob Herring	max-frequency = <100000000>;
447*724ba675SRob Herring	mmc-ddr-1_8v;
448*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <1>;
449*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 1>;
450*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <1 2>;
451*724ba675SRob Herring	pinctrl-names = "default";
452*724ba675SRob Herring	pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
453*724ba675SRob Herring	bus-width = <8>;
454*724ba675SRob Herring	status = "okay";
455*724ba675SRob Herring};
456*724ba675SRob Herring
457*724ba675SRob Herring&serial_0 {
458*724ba675SRob Herring	assigned-clocks = <&cmu CLK_SCLK_UART0>;
459*724ba675SRob Herring	assigned-clock-rates = <100000000>;
460*724ba675SRob Herring	status = "okay";
461*724ba675SRob Herring};
462*724ba675SRob Herring
463*724ba675SRob Herring&serial_1 {
464*724ba675SRob Herring	status = "okay";
465*724ba675SRob Herring};
466*724ba675SRob Herring
467*724ba675SRob Herring&tmu {
468*724ba675SRob Herring	vtmu-supply = <&ldo7_reg>;
469*724ba675SRob Herring	status = "okay";
470*724ba675SRob Herring};
471*724ba675SRob Herring
472*724ba675SRob Herring&rtc {
473*724ba675SRob Herring	clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
474*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
475*724ba675SRob Herring	status = "okay";
476*724ba675SRob Herring};
477*724ba675SRob Herring
478*724ba675SRob Herring&xusbxti {
479*724ba675SRob Herring	clock-frequency = <24000000>;
480*724ba675SRob Herring};
481*724ba675SRob Herring
482*724ba675SRob Herring&pinctrl_0 {
483*724ba675SRob Herring	pinctrl-names = "default";
484*724ba675SRob Herring	pinctrl-0 = <&sleep0>;
485*724ba675SRob Herring
486*724ba675SRob Herring	sleep0: sleep-state {
487*724ba675SRob Herring		PIN_SLP(gpa0-0, INPUT, DOWN);
488*724ba675SRob Herring		PIN_SLP(gpa0-1, INPUT, DOWN);
489*724ba675SRob Herring		PIN_SLP(gpa0-2, INPUT, DOWN);
490*724ba675SRob Herring		PIN_SLP(gpa0-3, INPUT, DOWN);
491*724ba675SRob Herring		PIN_SLP(gpa0-4, INPUT, DOWN);
492*724ba675SRob Herring		PIN_SLP(gpa0-5, INPUT, DOWN);
493*724ba675SRob Herring		PIN_SLP(gpa0-6, INPUT, DOWN);
494*724ba675SRob Herring		PIN_SLP(gpa0-7, INPUT, DOWN);
495*724ba675SRob Herring
496*724ba675SRob Herring		PIN_SLP(gpa1-0, INPUT, DOWN);
497*724ba675SRob Herring		PIN_SLP(gpa1-1, INPUT, DOWN);
498*724ba675SRob Herring		PIN_SLP(gpa1-2, INPUT, DOWN);
499*724ba675SRob Herring		PIN_SLP(gpa1-3, INPUT, DOWN);
500*724ba675SRob Herring		PIN_SLP(gpa1-4, INPUT, DOWN);
501*724ba675SRob Herring		PIN_SLP(gpa1-5, INPUT, DOWN);
502*724ba675SRob Herring
503*724ba675SRob Herring		PIN_SLP(gpb-0, PREV, NONE);
504*724ba675SRob Herring		PIN_SLP(gpb-1, PREV, NONE);
505*724ba675SRob Herring		PIN_SLP(gpb-2, PREV, NONE);
506*724ba675SRob Herring		PIN_SLP(gpb-3, PREV, NONE);
507*724ba675SRob Herring		PIN_SLP(gpb-4, INPUT, DOWN);
508*724ba675SRob Herring		PIN_SLP(gpb-5, INPUT, DOWN);
509*724ba675SRob Herring		PIN_SLP(gpb-6, INPUT, DOWN);
510*724ba675SRob Herring		PIN_SLP(gpb-7, INPUT, DOWN);
511*724ba675SRob Herring
512*724ba675SRob Herring		PIN_SLP(gpc0-0, INPUT, DOWN);
513*724ba675SRob Herring		PIN_SLP(gpc0-1, INPUT, DOWN);
514*724ba675SRob Herring		PIN_SLP(gpc0-2, INPUT, DOWN);
515*724ba675SRob Herring		PIN_SLP(gpc0-3, INPUT, DOWN);
516*724ba675SRob Herring		PIN_SLP(gpc0-4, INPUT, DOWN);
517*724ba675SRob Herring
518*724ba675SRob Herring		PIN_SLP(gpc1-0, INPUT, DOWN);
519*724ba675SRob Herring		PIN_SLP(gpc1-1, INPUT, DOWN);
520*724ba675SRob Herring		PIN_SLP(gpc1-2, INPUT, DOWN);
521*724ba675SRob Herring		PIN_SLP(gpc1-3, INPUT, DOWN);
522*724ba675SRob Herring		PIN_SLP(gpc1-4, INPUT, DOWN);
523*724ba675SRob Herring
524*724ba675SRob Herring		PIN_SLP(gpd0-0, INPUT, DOWN);
525*724ba675SRob Herring		PIN_SLP(gpd0-1, INPUT, DOWN);
526*724ba675SRob Herring		PIN_SLP(gpd0-2, INPUT, NONE);
527*724ba675SRob Herring		PIN_SLP(gpd0-3, INPUT, NONE);
528*724ba675SRob Herring
529*724ba675SRob Herring		PIN_SLP(gpd1-0, INPUT, NONE);
530*724ba675SRob Herring		PIN_SLP(gpd1-1, INPUT, NONE);
531*724ba675SRob Herring		PIN_SLP(gpd1-2, INPUT, NONE);
532*724ba675SRob Herring		PIN_SLP(gpd1-3, INPUT, NONE);
533*724ba675SRob Herring	};
534*724ba675SRob Herring};
535*724ba675SRob Herring
536*724ba675SRob Herring&pinctrl_1 {
537*724ba675SRob Herring	pinctrl-names = "default";
538*724ba675SRob Herring	pinctrl-0 = <&initial1 &sleep1>;
539*724ba675SRob Herring
540*724ba675SRob Herring	initial1: initial-state {
541*724ba675SRob Herring		PIN_IN(gpk2-0, DOWN, LV1);
542*724ba675SRob Herring		PIN_IN(gpk2-1, DOWN, LV1);
543*724ba675SRob Herring		PIN_IN(gpk2-2, DOWN, LV1);
544*724ba675SRob Herring		PIN_IN(gpk2-3, DOWN, LV1);
545*724ba675SRob Herring		PIN_IN(gpk2-4, DOWN, LV1);
546*724ba675SRob Herring		PIN_IN(gpk2-5, DOWN, LV1);
547*724ba675SRob Herring		PIN_IN(gpk2-6, DOWN, LV1);
548*724ba675SRob Herring	};
549*724ba675SRob Herring
550*724ba675SRob Herring	sleep1: sleep-state {
551*724ba675SRob Herring		PIN_SLP(gpe0-0, PREV, NONE);
552*724ba675SRob Herring		PIN_SLP(gpe0-1, PREV, NONE);
553*724ba675SRob Herring		PIN_SLP(gpe0-2, INPUT, DOWN);
554*724ba675SRob Herring		PIN_SLP(gpe0-3, INPUT, DOWN);
555*724ba675SRob Herring		PIN_SLP(gpe0-4, PREV, NONE);
556*724ba675SRob Herring		PIN_SLP(gpe0-5, INPUT, DOWN);
557*724ba675SRob Herring		PIN_SLP(gpe0-6, INPUT, DOWN);
558*724ba675SRob Herring		PIN_SLP(gpe0-7, INPUT, DOWN);
559*724ba675SRob Herring
560*724ba675SRob Herring		PIN_SLP(gpe1-0, INPUT, DOWN);
561*724ba675SRob Herring		PIN_SLP(gpe1-1, PREV, NONE);
562*724ba675SRob Herring		PIN_SLP(gpe1-2, INPUT, DOWN);
563*724ba675SRob Herring		PIN_SLP(gpe1-3, INPUT, DOWN);
564*724ba675SRob Herring		PIN_SLP(gpe1-4, INPUT, DOWN);
565*724ba675SRob Herring		PIN_SLP(gpe1-5, INPUT, DOWN);
566*724ba675SRob Herring		PIN_SLP(gpe1-6, INPUT, DOWN);
567*724ba675SRob Herring		PIN_SLP(gpe1-7, INPUT, NONE);
568*724ba675SRob Herring
569*724ba675SRob Herring		PIN_SLP(gpe2-0, INPUT, NONE);
570*724ba675SRob Herring		PIN_SLP(gpe2-1, INPUT, NONE);
571*724ba675SRob Herring		PIN_SLP(gpe2-2, INPUT, NONE);
572*724ba675SRob Herring
573*724ba675SRob Herring		PIN_SLP(gpk0-0, INPUT, DOWN);
574*724ba675SRob Herring		PIN_SLP(gpk0-1, INPUT, DOWN);
575*724ba675SRob Herring		PIN_SLP(gpk0-2, OUT0, NONE);
576*724ba675SRob Herring		PIN_SLP(gpk0-3, INPUT, DOWN);
577*724ba675SRob Herring		PIN_SLP(gpk0-4, INPUT, DOWN);
578*724ba675SRob Herring		PIN_SLP(gpk0-5, INPUT, DOWN);
579*724ba675SRob Herring		PIN_SLP(gpk0-6, INPUT, DOWN);
580*724ba675SRob Herring		PIN_SLP(gpk0-7, INPUT, DOWN);
581*724ba675SRob Herring
582*724ba675SRob Herring		PIN_SLP(gpk1-0, PREV, NONE);
583*724ba675SRob Herring		PIN_SLP(gpk1-1, PREV, NONE);
584*724ba675SRob Herring		PIN_SLP(gpk1-2, INPUT, DOWN);
585*724ba675SRob Herring		PIN_SLP(gpk1-3, PREV, NONE);
586*724ba675SRob Herring		PIN_SLP(gpk1-4, PREV, NONE);
587*724ba675SRob Herring		PIN_SLP(gpk1-5, PREV, NONE);
588*724ba675SRob Herring		PIN_SLP(gpk1-6, PREV, NONE);
589*724ba675SRob Herring
590*724ba675SRob Herring		PIN_SLP(gpk2-0, INPUT, DOWN);
591*724ba675SRob Herring		PIN_SLP(gpk2-1, INPUT, DOWN);
592*724ba675SRob Herring		PIN_SLP(gpk2-2, INPUT, DOWN);
593*724ba675SRob Herring		PIN_SLP(gpk2-3, INPUT, DOWN);
594*724ba675SRob Herring		PIN_SLP(gpk2-4, INPUT, DOWN);
595*724ba675SRob Herring		PIN_SLP(gpk2-5, INPUT, DOWN);
596*724ba675SRob Herring		PIN_SLP(gpk2-6, INPUT, DOWN);
597*724ba675SRob Herring
598*724ba675SRob Herring		PIN_SLP(gpl0-0, INPUT, DOWN);
599*724ba675SRob Herring		PIN_SLP(gpl0-1, INPUT, DOWN);
600*724ba675SRob Herring		PIN_SLP(gpl0-2, INPUT, DOWN);
601*724ba675SRob Herring		PIN_SLP(gpl0-3, INPUT, DOWN);
602*724ba675SRob Herring
603*724ba675SRob Herring		PIN_SLP(gpm0-0, INPUT, DOWN);
604*724ba675SRob Herring		PIN_SLP(gpm0-1, INPUT, DOWN);
605*724ba675SRob Herring		PIN_SLP(gpm0-2, INPUT, DOWN);
606*724ba675SRob Herring		PIN_SLP(gpm0-3, INPUT, DOWN);
607*724ba675SRob Herring		PIN_SLP(gpm0-4, INPUT, DOWN);
608*724ba675SRob Herring		PIN_SLP(gpm0-5, INPUT, DOWN);
609*724ba675SRob Herring		PIN_SLP(gpm0-6, INPUT, DOWN);
610*724ba675SRob Herring		PIN_SLP(gpm0-7, INPUT, DOWN);
611*724ba675SRob Herring
612*724ba675SRob Herring		PIN_SLP(gpm1-0, INPUT, DOWN);
613*724ba675SRob Herring		PIN_SLP(gpm1-1, INPUT, DOWN);
614*724ba675SRob Herring		PIN_SLP(gpm1-2, INPUT, DOWN);
615*724ba675SRob Herring		PIN_SLP(gpm1-3, INPUT, DOWN);
616*724ba675SRob Herring		PIN_SLP(gpm1-4, INPUT, DOWN);
617*724ba675SRob Herring		PIN_SLP(gpm1-5, INPUT, DOWN);
618*724ba675SRob Herring		PIN_SLP(gpm1-6, INPUT, DOWN);
619*724ba675SRob Herring
620*724ba675SRob Herring		PIN_SLP(gpm2-0, INPUT, DOWN);
621*724ba675SRob Herring		PIN_SLP(gpm2-1, INPUT, DOWN);
622*724ba675SRob Herring		PIN_SLP(gpm2-2, INPUT, DOWN);
623*724ba675SRob Herring		PIN_SLP(gpm2-3, INPUT, DOWN);
624*724ba675SRob Herring		PIN_SLP(gpm2-4, INPUT, DOWN);
625*724ba675SRob Herring
626*724ba675SRob Herring		PIN_SLP(gpm3-0, INPUT, DOWN);
627*724ba675SRob Herring		PIN_SLP(gpm3-1, INPUT, DOWN);
628*724ba675SRob Herring		PIN_SLP(gpm3-2, INPUT, DOWN);
629*724ba675SRob Herring		PIN_SLP(gpm3-3, INPUT, DOWN);
630*724ba675SRob Herring		PIN_SLP(gpm3-4, INPUT, DOWN);
631*724ba675SRob Herring		PIN_SLP(gpm3-5, INPUT, DOWN);
632*724ba675SRob Herring		PIN_SLP(gpm3-6, INPUT, DOWN);
633*724ba675SRob Herring		PIN_SLP(gpm3-7, INPUT, DOWN);
634*724ba675SRob Herring
635*724ba675SRob Herring		PIN_SLP(gpm4-0, INPUT, DOWN);
636*724ba675SRob Herring		PIN_SLP(gpm4-1, INPUT, DOWN);
637*724ba675SRob Herring		PIN_SLP(gpm4-2, INPUT, DOWN);
638*724ba675SRob Herring		PIN_SLP(gpm4-3, INPUT, DOWN);
639*724ba675SRob Herring		PIN_SLP(gpm4-4, INPUT, DOWN);
640*724ba675SRob Herring		PIN_SLP(gpm4-5, INPUT, DOWN);
641*724ba675SRob Herring		PIN_SLP(gpm4-6, INPUT, DOWN);
642*724ba675SRob Herring		PIN_SLP(gpm4-7, INPUT, DOWN);
643*724ba675SRob Herring	};
644*724ba675SRob Herring};
645