xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3368-evb-act8846.dts (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com>
4 */
5
6/dts-v1/;
7#include "rk3368-evb.dtsi"
8
9/ {
10	model = "Rockchip RK3368 EVB with ACT8846 pmic";
11	compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
12};
13
14&i2c0 {
15	clock-frequency = <400000>;
16
17	vdd_cpu: syr827@40 {
18		compatible = "silergy,syr827";
19		reg = <0x40>;
20		fcs,suspend-voltage-selector = <1>;
21		regulator-name = "vdd_cpu";
22		regulator-min-microvolt = <850000>;
23		regulator-max-microvolt = <1350000>;
24		regulator-always-on;
25		regulator-boot-on;
26		vin-supply = <&vcc_sys>;
27	};
28
29	vdd_gpu: syr828@41 {
30		compatible = "silergy,syr828";
31		reg = <0x41>;
32		fcs,suspend-voltage-selector = <1>;
33		regulator-name = "vdd_gpu";
34		regulator-min-microvolt = <850000>;
35		regulator-max-microvolt = <1350000>;
36		regulator-always-on;
37		vin-supply = <&vcc_sys>;
38	};
39
40	act8846: act8846@5a {
41		compatible = "active-semi,act8846";
42		reg = <0x5a>;
43		status = "okay";
44
45		vp1-supply = <&vcc_sys>;
46		vp2-supply = <&vcc_sys>;
47		vp3-supply = <&vcc_sys>;
48		vp4-supply = <&vcc_sys>;
49		inl1-supply = <&vcc_io>;
50		inl2-supply = <&vcc_sys>;
51		inl3-supply = <&vcc_20>;
52
53		regulators {
54			vcc_ddr: REG1 {
55				regulator-name = "VCC_DDR";
56				regulator-min-microvolt = <1200000>;
57				regulator-max-microvolt = <1200000>;
58				regulator-always-on;
59			};
60
61			vcc_io: REG2 {
62				regulator-name = "VCC_IO";
63				regulator-min-microvolt = <3300000>;
64				regulator-max-microvolt = <3300000>;
65				regulator-always-on;
66			};
67
68			vdd_log: REG3 {
69				regulator-name = "VDD_LOG";
70				regulator-min-microvolt = <700000>;
71				regulator-max-microvolt = <1500000>;
72				regulator-always-on;
73			};
74
75			vcc_20: REG4 {
76				regulator-name = "VCC_20";
77				regulator-min-microvolt = <2000000>;
78				regulator-max-microvolt = <2000000>;
79				regulator-always-on;
80			};
81
82			vccio_sd: REG5 {
83				regulator-name = "VCCIO_SD";
84				regulator-min-microvolt = <1800000>;
85				regulator-max-microvolt = <3300000>;
86				regulator-always-on;
87			};
88
89			vdd10_lcd: REG6 {
90				regulator-name = "VDD10_LCD";
91				regulator-min-microvolt = <1000000>;
92				regulator-max-microvolt = <1000000>;
93				regulator-always-on;
94			};
95
96			vcca_codec: REG7 {
97				regulator-name = "VCCA_CODEC";
98				regulator-min-microvolt = <3300000>;
99				regulator-max-microvolt = <3300000>;
100				regulator-always-on;
101			};
102
103			vcca_tp: REG8 {
104				regulator-name = "VCCA_TP";
105				regulator-min-microvolt = <3300000>;
106				regulator-max-microvolt = <3300000>;
107				regulator-always-on;
108			};
109
110			vccio_pmu: REG9 {
111				regulator-name = "VCCIO_PMU";
112				regulator-min-microvolt = <3300000>;
113				regulator-max-microvolt = <3300000>;
114				regulator-always-on;
115			};
116
117			vdd_10: REG10 {
118				regulator-name = "VDD_10";
119				regulator-min-microvolt = <1000000>;
120				regulator-max-microvolt = <1000000>;
121				regulator-always-on;
122			};
123
124			vcc_18: REG11 {
125				regulator-name = "VCC_18";
126				regulator-min-microvolt = <1800000>;
127				regulator-max-microvolt = <1800000>;
128				regulator-always-on;
129			};
130
131			vcc18_lcd: REG12 {
132				regulator-name = "VCC18_LCD";
133				regulator-min-microvolt = <1800000>;
134				regulator-max-microvolt = <1800000>;
135				regulator-always-on;
136			};
137		};
138	};
139};
140