blob: 90e3405040af5d60aa5bfc62050f7223543c6c69 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glass96aa0722014-10-07 22:01:50 -06002/*
3 * Samsung's S5PC110-based Goni board device tree source
4 *
5 * Copyright (c) 2014 Google, Inc
Simon Glass96aa0722014-10-07 22:01:50 -06006 */
7
8/dts-v1/;
9
10#include "skeleton.dtsi"
Simon Glass3e44c402014-10-20 19:48:34 -060011#include "s5pc110-pinctrl.dtsi"
Simon Glass96aa0722014-10-07 22:01:50 -060012
13/ {
14 model = "Samsung Goni based on S5PC110";
15 compatible = "samsung,goni", "samsung,s5pc110";
16
17 aliases {
18 serial2 = "/serial@e2900800";
19 console = "/serial@e2900800";
Simon Glass3e44c402014-10-20 19:48:34 -060020 pinctrl0 = &pinctrl0;
Jaehoon Chungf0fd34a2016-12-15 18:21:11 +090021 i2c3 = &i2c_pmic;
Simon Glass3e44c402014-10-20 19:48:34 -060022 };
23
24 pinctrl0: pinctrl@e0200000 {
25 compatible = "samsung,s5pc110-pinctrl";
26 reg = <0xe0200000 0x1000>;
Simon Glass96aa0722014-10-07 22:01:50 -060027 };
28
29 serial@e2900800 {
30 compatible = "samsung,exynos4210-uart";
31 reg = <0xe2900800 0x400>;
32 id = <2>;
33 };
34
Jaehoon Chungf0fd34a2016-12-15 18:21:11 +090035 i2c_pmic: i2c-pmic {
36 compatible = "i2c-gpio";
37 gpios = <&gpj4 0 0>, /* sda */
38 <&gpj4 3 0>; /* scl */
39 i2c-gpio,delay-us = <2>; /* ~100 kHz */
40 #address-cells = <1>;
41 #size-cells = <0>;
42 status = "okay";
43
Jaehoon Chung5026af62017-01-05 16:55:14 +090044 max8998-pmic@66 {
Jaehoon Chungf0fd34a2016-12-15 18:21:11 +090045 compatible = "maxim,max8998";
46 reg = <0x66 0 0>;
47
48 voltage-regulators {
49 ldo2_reg: LDO2 {
50 regulator-compatible = "LDO2";
51 regulator-name = "VALIVE_1.1V";
52 regulator-min-microvolt = <1100000>;
53 regulator-max-microvolt = <1100000>;
54 regulator-always-on;
55 };
56
57 ldo3_reg: LDO3 {
58 regulator-compatible = "LDO3";
59 regulator-name = "VUSB+MIPI_1.1V";
60 regulator-min-microvolt = <1100000>;
61 regulator-max-microvolt = <1100000>;
62 regulator-always-on;
63 };
64
65 ldo4_reg: LDO4 {
66 regulator-compatible = "LDO4";
67 regulator-name = "VADC_3.3V";
68 regulator-min-microvolt = <3300000>;
69 regulator-max-microvolt = <3300000>;
70 };
71
72 ldo5_reg: LDO5 {
73 regulator-compatible = "LDO5";
74 regulator-name = "VTF_2.8V";
75 regulator-min-microvolt = <2800000>;
76 regulator-max-microvolt = <2800000>;
77 };
78
79 ldo6_reg: LDO6 {
80 regulator-compatible = "LDO6";
81 regulator-name = "VCC_3.3V";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
84 };
85
86 ldo7_reg: LDO7 {
87 regulator-compatible = "LDO7";
88 regulator-name = "VLCD_1.8V";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 regulator-always-on;
92 };
93
94 ldo8_reg: LDO8 {
95 regulator-compatible = "LDO8";
96 regulator-name = "VUSB+VDAC_3.3V";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 };
100
101 ldo9_reg: LDO9 {
102 regulator-compatible = "LDO9";
103 regulator-name = "VCC+VCAM_2.8V";
104 regulator-min-microvolt = <2800000>;
105 regulator-max-microvolt = <2800000>;
106 };
107
108 ldo10_reg: LDO10 {
109 regulator-compatible = "LDO10";
110 regulator-name = "VPLL_1.1V";
111 regulator-min-microvolt = <1100000>;
112 regulator-max-microvolt = <1100000>;
113 regulator-boot-on;
114 };
115
116 ldo11_reg: LDO11 {
117 regulator-compatible = "LDO11";
118 regulator-name = "CAM_IO_2.8V";
119 regulator-min-microvolt = <2800000>;
120 regulator-max-microvolt = <2800000>;
121 };
122
123 ldo12_reg: LDO12 {
124 regulator-compatible = "LDO12";
125 regulator-name = "CAM_ISP_1.2V";
126 regulator-min-microvolt = <1200000>;
127 regulator-max-microvolt = <1200000>;
128 };
129
130 ldo13_reg: LDO13 {
131 regulator-compatible = "LDO13";
132 regulator-name = "CAM_A_2.8V";
133 regulator-min-microvolt = <2800000>;
134 regulator-max-microvolt = <2800000>;
135 };
136
137 ldo14_reg: LDO14 {
138 regulator-compatible = "LDO14";
139 regulator-name = "CAM_CIF_1.8V";
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <1800000>;
142 };
143
144 ldo15_reg: LDO15 {
145 regulator-compatible = "LDO15";
146 regulator-name = "CAM_AF_3.3V";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 };
150
151 ldo16_reg: LDO16 {
152 regulator-compatible = "LDO16";
153 regulator-name = "VMIPI_1.8V";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 };
157
158 ldo17_reg: LDO17 {
159 regulator-compatible = "LDO17";
160 regulator-name = "CAM_8M_1.8V";
161 regulator-min-microvolt = <1800000>;
162 regulator-max-microvolt = <1800000>;
163 regulator-always-on;
164 };
165
166 buck1_reg: BUCK1 {
167 regulator-compatible = "BUCK1";
168 regulator-name = "VARM_1.2V";
169 regulator-min-microvolt = <1200000>;
170 regulator-max-microvolt = <1200000>;
171 };
172
173 buck2_reg: BUCK2 {
174 regulator-compatible = "BUCK2";
175 regulator-name = "VINT_1.2V";
176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <1200000>;
178 };
179
180 buck3_reg: BUCK3 {
181 regulator-compatible = "BUCK3";
182 regulator-name = "VCC_1.8V";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
185 regulator-always-on;
186 };
187
188 buck4_reg: BUCK4 {
189 regulator-compatible = "BUCK4";
190 regulator-name = "CAM_CORE_1.2V";
191 regulator-min-microvolt = <1200000>;
192 regulator-max-microvolt = <1200000>;
193 regulator-always-on;
194 };
195 };
196 };
197 };
198
Simon Glass96aa0722014-10-07 22:01:50 -0600199};