18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com>
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci/dts-v1/;
78c2ecf20Sopenharmony_ci#include "rk3368-evb.dtsi"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/ {
108c2ecf20Sopenharmony_ci	model = "Rockchip RK3368 EVB with ACT8846 pmic";
118c2ecf20Sopenharmony_ci	compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
128c2ecf20Sopenharmony_ci};
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci&i2c0 {
158c2ecf20Sopenharmony_ci	clock-frequency = <400000>;
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci	vdd_cpu: syr827@40 {
188c2ecf20Sopenharmony_ci		compatible = "silergy,syr827";
198c2ecf20Sopenharmony_ci		reg = <0x40>;
208c2ecf20Sopenharmony_ci		fcs,suspend-voltage-selector = <1>;
218c2ecf20Sopenharmony_ci		regulator-name = "vdd_cpu";
228c2ecf20Sopenharmony_ci		regulator-min-microvolt = <850000>;
238c2ecf20Sopenharmony_ci		regulator-max-microvolt = <1350000>;
248c2ecf20Sopenharmony_ci		regulator-always-on;
258c2ecf20Sopenharmony_ci		regulator-boot-on;
268c2ecf20Sopenharmony_ci		vin-supply = <&vcc_sys>;
278c2ecf20Sopenharmony_ci	};
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	vdd_gpu: syr828@41 {
308c2ecf20Sopenharmony_ci		compatible = "silergy,syr828";
318c2ecf20Sopenharmony_ci		reg = <0x41>;
328c2ecf20Sopenharmony_ci		fcs,suspend-voltage-selector = <1>;
338c2ecf20Sopenharmony_ci		regulator-name = "vdd_gpu";
348c2ecf20Sopenharmony_ci		regulator-min-microvolt = <850000>;
358c2ecf20Sopenharmony_ci		regulator-max-microvolt = <1350000>;
368c2ecf20Sopenharmony_ci		regulator-always-on;
378c2ecf20Sopenharmony_ci		vin-supply = <&vcc_sys>;
388c2ecf20Sopenharmony_ci	};
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci	act8846: act8846@5a {
418c2ecf20Sopenharmony_ci		compatible = "active-semi,act8846";
428c2ecf20Sopenharmony_ci		reg = <0x5a>;
438c2ecf20Sopenharmony_ci		status = "okay";
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci		vp1-supply = <&vcc_sys>;
468c2ecf20Sopenharmony_ci		vp2-supply = <&vcc_sys>;
478c2ecf20Sopenharmony_ci		vp3-supply = <&vcc_sys>;
488c2ecf20Sopenharmony_ci		vp4-supply = <&vcc_sys>;
498c2ecf20Sopenharmony_ci		inl1-supply = <&vcc_io>;
508c2ecf20Sopenharmony_ci		inl2-supply = <&vcc_sys>;
518c2ecf20Sopenharmony_ci		inl3-supply = <&vcc_20>;
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci		regulators {
548c2ecf20Sopenharmony_ci			vcc_ddr: REG1 {
558c2ecf20Sopenharmony_ci				regulator-name = "VCC_DDR";
568c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1200000>;
578c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1200000>;
588c2ecf20Sopenharmony_ci				regulator-always-on;
598c2ecf20Sopenharmony_ci			};
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci			vcc_io: REG2 {
628c2ecf20Sopenharmony_ci				regulator-name = "VCC_IO";
638c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3300000>;
648c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
658c2ecf20Sopenharmony_ci				regulator-always-on;
668c2ecf20Sopenharmony_ci			};
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci			vdd_log: REG3 {
698c2ecf20Sopenharmony_ci				regulator-name = "VDD_LOG";
708c2ecf20Sopenharmony_ci				regulator-min-microvolt = <700000>;
718c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1500000>;
728c2ecf20Sopenharmony_ci				regulator-always-on;
738c2ecf20Sopenharmony_ci			};
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci			vcc_20: REG4 {
768c2ecf20Sopenharmony_ci				regulator-name = "VCC_20";
778c2ecf20Sopenharmony_ci				regulator-min-microvolt = <2000000>;
788c2ecf20Sopenharmony_ci				regulator-max-microvolt = <2000000>;
798c2ecf20Sopenharmony_ci				regulator-always-on;
808c2ecf20Sopenharmony_ci			};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci			vccio_sd: REG5 {
838c2ecf20Sopenharmony_ci				regulator-name = "VCCIO_SD";
848c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1800000>;
858c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
868c2ecf20Sopenharmony_ci				regulator-always-on;
878c2ecf20Sopenharmony_ci			};
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci			vdd10_lcd: REG6 {
908c2ecf20Sopenharmony_ci				regulator-name = "VDD10_LCD";
918c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1000000>;
928c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1000000>;
938c2ecf20Sopenharmony_ci				regulator-always-on;
948c2ecf20Sopenharmony_ci			};
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci			vcca_codec: REG7 {
978c2ecf20Sopenharmony_ci				regulator-name = "VCCA_CODEC";
988c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3300000>;
998c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
1008c2ecf20Sopenharmony_ci				regulator-always-on;
1018c2ecf20Sopenharmony_ci			};
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ci			vcca_tp: REG8 {
1048c2ecf20Sopenharmony_ci				regulator-name = "VCCA_TP";
1058c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3300000>;
1068c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
1078c2ecf20Sopenharmony_ci				regulator-always-on;
1088c2ecf20Sopenharmony_ci			};
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci			vccio_pmu: REG9 {
1118c2ecf20Sopenharmony_ci				regulator-name = "VCCIO_PMU";
1128c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3300000>;
1138c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3300000>;
1148c2ecf20Sopenharmony_ci				regulator-always-on;
1158c2ecf20Sopenharmony_ci			};
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci			vdd_10: REG10 {
1188c2ecf20Sopenharmony_ci				regulator-name = "VDD_10";
1198c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1000000>;
1208c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1000000>;
1218c2ecf20Sopenharmony_ci				regulator-always-on;
1228c2ecf20Sopenharmony_ci			};
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci			vcc_18: REG11 {
1258c2ecf20Sopenharmony_ci				regulator-name = "VCC_18";
1268c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1800000>;
1278c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1800000>;
1288c2ecf20Sopenharmony_ci				regulator-always-on;
1298c2ecf20Sopenharmony_ci			};
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ci			vcc18_lcd: REG12 {
1328c2ecf20Sopenharmony_ci				regulator-name = "VCC18_LCD";
1338c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1800000>;
1348c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1800000>;
1358c2ecf20Sopenharmony_ci				regulator-always-on;
1368c2ecf20Sopenharmony_ci			};
1378c2ecf20Sopenharmony_ci		};
1388c2ecf20Sopenharmony_ci	};
1398c2ecf20Sopenharmony_ci};
140