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