1/*
2 * Samsung's Exynos3250 based Monk board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Monk board which is based on
8 * Samsung Exynos3250 SoC.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15/dts-v1/;
16#include "exynos3250.dtsi"
17#include <dt-bindings/input/input.h>
18#include <dt-bindings/gpio/gpio.h>
19#include <dt-bindings/clock/samsung,s2mps11.h>
20
21/ {
22 model = "Samsung Monk board";
23 compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
24
25 aliases {
26 i2c7 = &i2c_max77836;
27 };
--- 19 unchanged lines hidden (view full) ---
47 };
48 };
49
50 vemmc_reg: voltage-regulator-0 {
51 compatible = "regulator-fixed";
52 regulator-name = "V_EMMC_2.8V-fixed";
53 regulator-min-microvolt = <2800000>;
54 regulator-max-microvolt = <2800000>;
55 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
56 enable-active-high;
57 };
58
59 i2c_max77836: i2c-gpio-0 {
60 compatible = "i2c-gpio";
61 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
62 #address-cells = <1>;
63 #size-cells = <0>;
64
65 max77836: subpmic@25 {
66 compatible = "maxim,max77836";
67 interrupt-parent = <&gpx1>;
68 interrupts = <5 0>;
69 reg = <0x25>;
--- 41 unchanged lines hidden (view full) ---
111 };
112
113 haptics {
114 compatible = "regulator-haptic";
115 haptic-supply = <&motor_reg>;
116 min-microvolt = <1100000>;
117 max-microvolt = <2700000>;
118 };
119
120 thermal-zones {
121 cpu_thermal: cpu-thermal {
122 cooling-maps {
123 map0 {
124 /* Correspond to 500MHz at freq_table */
125 cooling-device = <&cpu0 5 5>;
126 };
127 map1 {
128 /* Correspond to 200MHz at freq_table */
129 cooling-device = <&cpu0 8 8>;
130 };
131 };
132 };
133 };
134};
135
136&adc {
137 vdd-supply = <&ldo3_reg>;
138 status = "okay";
139 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
140 assigned-clock-rates = <6000000>;
141
--- 9 unchanged lines hidden (view full) ---
151 compatible = "ntc,ncp15wb473";
152 pullup-uv = <1800000>;
153 pullup-ohm = <100000>;
154 pulldown-ohm = <100000>;
155 io-channels = <&adc 1>;
156 };
157};
158
159&cpu0 {
160 cpu0-supply = <&buck2_reg>;
161};
162
163&exynos_usbphy {
164 vbus-supply = <&safeout_reg>;
165 status = "okay";
166};
167
168&hsotg {
169 vusb_d-supply = <&ldo15_reg>;
170 vusb_a-supply = <&ldo12_reg>;
171 dr_mode = "peripheral";
172 status = "okay";
--- 89 unchanged lines hidden (view full) ---
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <1000000>;
264 };
265
266 ldo11_reg: LDO11 {
267 regulator-name = "V_EMMC_1.8V";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
270 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
271 };
272
273 ldo12_reg: LDO12 {
274 regulator-name = "V_EMMC_2.8V";
275 regulator-min-microvolt = <2800000>;
276 regulator-max-microvolt = <2800000>;
277 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
278 };
279
280 ldo13_reg: LDO13 {
281 regulator-name = "VSENSOR_2.85V";
282 regulator-min-microvolt = <2850000>;
283 regulator-max-microvolt = <2850000>;
284 regulator-always-on;
285 };
--- 162 unchanged lines hidden (view full) ---
448};
449
450&tmu {
451 vtmu-supply = <&ldo7_reg>;
452 status = "okay";
453};
454
455&rtc {
456 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
457 clock-names = "rtc", "rtc_src";
458 status = "okay";
459};
460
461&ppmu_dmc0 {
462 status = "okay";
463
464 events {
--- 193 unchanged lines hidden ---
2 * Samsung's Exynos3250 based Monk board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Monk board which is based on
8 * Samsung Exynos3250 SoC.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15/dts-v1/;
16#include "exynos3250.dtsi"
17#include <dt-bindings/input/input.h>
18#include <dt-bindings/gpio/gpio.h>
19#include <dt-bindings/clock/samsung,s2mps11.h>
20
21/ {
22 model = "Samsung Monk board";
23 compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
24
25 aliases {
26 i2c7 = &i2c_max77836;
27 };
--- 19 unchanged lines hidden (view full) ---
47 };
48 };
49
50 vemmc_reg: voltage-regulator-0 {
51 compatible = "regulator-fixed";
52 regulator-name = "V_EMMC_2.8V-fixed";
53 regulator-min-microvolt = <2800000>;
54 regulator-max-microvolt = <2800000>;
55 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
56 enable-active-high;
57 };
58
59 i2c_max77836: i2c-gpio-0 {
60 compatible = "i2c-gpio";
61 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
62 #address-cells = <1>;
63 #size-cells = <0>;
64
65 max77836: subpmic@25 {
66 compatible = "maxim,max77836";
67 interrupt-parent = <&gpx1>;
68 interrupts = <5 0>;
69 reg = <0x25>;
--- 41 unchanged lines hidden (view full) ---
111 };
112
113 haptics {
114 compatible = "regulator-haptic";
115 haptic-supply = <&motor_reg>;
116 min-microvolt = <1100000>;
117 max-microvolt = <2700000>;
118 };
119
120 thermal-zones {
121 cpu_thermal: cpu-thermal {
122 cooling-maps {
123 map0 {
124 /* Correspond to 500MHz at freq_table */
125 cooling-device = <&cpu0 5 5>;
126 };
127 map1 {
128 /* Correspond to 200MHz at freq_table */
129 cooling-device = <&cpu0 8 8>;
130 };
131 };
132 };
133 };
134};
135
136&adc {
137 vdd-supply = <&ldo3_reg>;
138 status = "okay";
139 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
140 assigned-clock-rates = <6000000>;
141
--- 9 unchanged lines hidden (view full) ---
151 compatible = "ntc,ncp15wb473";
152 pullup-uv = <1800000>;
153 pullup-ohm = <100000>;
154 pulldown-ohm = <100000>;
155 io-channels = <&adc 1>;
156 };
157};
158
159&cpu0 {
160 cpu0-supply = <&buck2_reg>;
161};
162
163&exynos_usbphy {
164 vbus-supply = <&safeout_reg>;
165 status = "okay";
166};
167
168&hsotg {
169 vusb_d-supply = <&ldo15_reg>;
170 vusb_a-supply = <&ldo12_reg>;
171 dr_mode = "peripheral";
172 status = "okay";
--- 89 unchanged lines hidden (view full) ---
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <1000000>;
264 };
265
266 ldo11_reg: LDO11 {
267 regulator-name = "V_EMMC_1.8V";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
270 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
271 };
272
273 ldo12_reg: LDO12 {
274 regulator-name = "V_EMMC_2.8V";
275 regulator-min-microvolt = <2800000>;
276 regulator-max-microvolt = <2800000>;
277 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
278 };
279
280 ldo13_reg: LDO13 {
281 regulator-name = "VSENSOR_2.85V";
282 regulator-min-microvolt = <2850000>;
283 regulator-max-microvolt = <2850000>;
284 regulator-always-on;
285 };
--- 162 unchanged lines hidden (view full) ---
448};
449
450&tmu {
451 vtmu-supply = <&ldo7_reg>;
452 status = "okay";
453};
454
455&rtc {
456 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
457 clock-names = "rtc", "rtc_src";
458 status = "okay";
459};
460
461&ppmu_dmc0 {
462 status = "okay";
463
464 events {
--- 193 unchanged lines hidden ---