xref: /openbmc/linux/arch/arm64/boot/dts/rockchip/rk3368-evb-act8846.dts (revision 87ac9de3b44fd6dc8d95a59e67b086c3e57285f8)
15378e28cSCaesar Wang/*
25378e28cSCaesar Wang * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com>
35378e28cSCaesar Wang *
45378e28cSCaesar Wang * This file is dual-licensed: you can use it either under the terms
55378e28cSCaesar Wang * of the GPL or the X11 license, at your option. Note that this dual
65378e28cSCaesar Wang * licensing only applies to this file, and not this project as a
75378e28cSCaesar Wang * whole.
85378e28cSCaesar Wang *
95378e28cSCaesar Wang *  a) This file is free software; you can redistribute it and/or
105378e28cSCaesar Wang *     modify it under the terms of the GNU General Public License as
115378e28cSCaesar Wang *     published by the Free Software Foundation; either version 2 of the
125378e28cSCaesar Wang *     License, or (at your option) any later version.
135378e28cSCaesar Wang *
145378e28cSCaesar Wang *     This file is distributed in the hope that it will be useful,
155378e28cSCaesar Wang *     but WITHOUT ANY WARRANTY; without even the implied warranty of
165378e28cSCaesar Wang *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
175378e28cSCaesar Wang *     GNU General Public License for more details.
185378e28cSCaesar Wang *
195378e28cSCaesar Wang * Or, alternatively,
205378e28cSCaesar Wang *
215378e28cSCaesar Wang *  b) Permission is hereby granted, free of charge, to any person
225378e28cSCaesar Wang *     obtaining a copy of this software and associated documentation
235378e28cSCaesar Wang *     files (the "Software"), to deal in the Software without
245378e28cSCaesar Wang *     restriction, including without limitation the rights to use,
255378e28cSCaesar Wang *     copy, modify, merge, publish, distribute, sublicense, and/or
265378e28cSCaesar Wang *     sell copies of the Software, and to permit persons to whom the
275378e28cSCaesar Wang *     Software is furnished to do so, subject to the following
285378e28cSCaesar Wang *     conditions:
295378e28cSCaesar Wang *
305378e28cSCaesar Wang *     The above copyright notice and this permission notice shall be
315378e28cSCaesar Wang *     included in all copies or substantial portions of the Software.
325378e28cSCaesar Wang *
335378e28cSCaesar Wang *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
345378e28cSCaesar Wang *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
355378e28cSCaesar Wang *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
365378e28cSCaesar Wang *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
375378e28cSCaesar Wang *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
385378e28cSCaesar Wang *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
395378e28cSCaesar Wang *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
405378e28cSCaesar Wang *     OTHER DEALINGS IN THE SOFTWARE.
415378e28cSCaesar Wang */
425378e28cSCaesar Wang
435378e28cSCaesar Wang/dts-v1/;
445378e28cSCaesar Wang#include "rk3368-evb.dtsi"
455378e28cSCaesar Wang
465378e28cSCaesar Wang/ {
475378e28cSCaesar Wang	model = "Rockchip RK3368 EVB with ACT8846 pmic";
485378e28cSCaesar Wang	compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
495378e28cSCaesar Wang};
505378e28cSCaesar Wang
515378e28cSCaesar Wang&i2c0 {
525378e28cSCaesar Wang	clock-frequency = <400000>;
535378e28cSCaesar Wang
545378e28cSCaesar Wang	vdd_cpu: syr827@40 {
555378e28cSCaesar Wang		compatible = "silergy,syr827";
565378e28cSCaesar Wang		reg = <0x40>;
575378e28cSCaesar Wang		fcs,suspend-voltage-selector = <1>;
585378e28cSCaesar Wang		regulator-name = "vdd_cpu";
595378e28cSCaesar Wang		regulator-min-microvolt = <850000>;
605378e28cSCaesar Wang		regulator-max-microvolt = <1350000>;
615378e28cSCaesar Wang		regulator-always-on;
625378e28cSCaesar Wang		regulator-boot-on;
635378e28cSCaesar Wang		vin-supply = <&vcc_sys>;
645378e28cSCaesar Wang	};
655378e28cSCaesar Wang
665378e28cSCaesar Wang	vdd_gpu: syr828@41 {
675378e28cSCaesar Wang		compatible = "silergy,syr828";
685378e28cSCaesar Wang		reg = <0x41>;
695378e28cSCaesar Wang		fcs,suspend-voltage-selector = <1>;
705378e28cSCaesar Wang		regulator-name = "vdd_gpu";
715378e28cSCaesar Wang		regulator-min-microvolt = <850000>;
725378e28cSCaesar Wang		regulator-max-microvolt = <1350000>;
735378e28cSCaesar Wang		regulator-always-on;
745378e28cSCaesar Wang		vin-supply = <&vcc_sys>;
755378e28cSCaesar Wang	};
765378e28cSCaesar Wang
775378e28cSCaesar Wang	act8846: act8846@5a {
785378e28cSCaesar Wang		compatible = "active-semi,act8846";
795378e28cSCaesar Wang		reg = <0x5a>;
805378e28cSCaesar Wang		status = "okay";
815378e28cSCaesar Wang
825378e28cSCaesar Wang		vp1-supply = <&vcc_sys>;
835378e28cSCaesar Wang		vp2-supply = <&vcc_sys>;
845378e28cSCaesar Wang		vp3-supply = <&vcc_sys>;
855378e28cSCaesar Wang		vp4-supply = <&vcc_sys>;
865378e28cSCaesar Wang		inl1-supply = <&vcc_io>;
875378e28cSCaesar Wang		inl2-supply = <&vcc_sys>;
885378e28cSCaesar Wang		inl3-supply = <&vcc_20>;
895378e28cSCaesar Wang
905378e28cSCaesar Wang		regulators {
915378e28cSCaesar Wang			vcc_ddr: REG1 {
925378e28cSCaesar Wang				regulator-name = "VCC_DDR";
935378e28cSCaesar Wang				regulator-min-microvolt = <1200000>;
945378e28cSCaesar Wang				regulator-max-microvolt = <1200000>;
955378e28cSCaesar Wang				regulator-always-on;
965378e28cSCaesar Wang			};
975378e28cSCaesar Wang
985378e28cSCaesar Wang			vcc_io: REG2 {
995378e28cSCaesar Wang				regulator-name = "VCC_IO";
1005378e28cSCaesar Wang				regulator-min-microvolt = <3300000>;
1015378e28cSCaesar Wang				regulator-max-microvolt = <3300000>;
1025378e28cSCaesar Wang				regulator-always-on;
1035378e28cSCaesar Wang			};
1045378e28cSCaesar Wang
1055378e28cSCaesar Wang			vdd_log: REG3 {
1065378e28cSCaesar Wang				regulator-name = "VDD_LOG";
107*87ac9de3SCaesar Wang				regulator-min-microvolt = <700000>;
108*87ac9de3SCaesar Wang				regulator-max-microvolt = <1500000>;
1095378e28cSCaesar Wang				regulator-always-on;
1105378e28cSCaesar Wang			};
1115378e28cSCaesar Wang
1125378e28cSCaesar Wang			vcc_20: REG4 {
1135378e28cSCaesar Wang				regulator-name = "VCC_20";
1145378e28cSCaesar Wang				regulator-min-microvolt = <2000000>;
1155378e28cSCaesar Wang				regulator-max-microvolt = <2000000>;
1165378e28cSCaesar Wang				regulator-always-on;
1175378e28cSCaesar Wang			};
1185378e28cSCaesar Wang
1195378e28cSCaesar Wang			vccio_sd: REG5 {
1205378e28cSCaesar Wang				regulator-name = "VCCIO_SD";
121*87ac9de3SCaesar Wang				regulator-min-microvolt = <1800000>;
1225378e28cSCaesar Wang				regulator-max-microvolt = <3300000>;
1235378e28cSCaesar Wang				regulator-always-on;
1245378e28cSCaesar Wang			};
1255378e28cSCaesar Wang
1265378e28cSCaesar Wang			vdd10_lcd: REG6 {
1275378e28cSCaesar Wang				regulator-name = "VDD10_LCD";
1285378e28cSCaesar Wang				regulator-min-microvolt = <1000000>;
1295378e28cSCaesar Wang				regulator-max-microvolt = <1000000>;
1305378e28cSCaesar Wang				regulator-always-on;
1315378e28cSCaesar Wang			};
1325378e28cSCaesar Wang
1335378e28cSCaesar Wang			vcca_codec: REG7 {
1345378e28cSCaesar Wang				regulator-name = "VCCA_CODEC";
1355378e28cSCaesar Wang				regulator-min-microvolt = <3300000>;
1365378e28cSCaesar Wang				regulator-max-microvolt = <3300000>;
1375378e28cSCaesar Wang				regulator-always-on;
1385378e28cSCaesar Wang			};
1395378e28cSCaesar Wang
1405378e28cSCaesar Wang			vcca_tp: REG8 {
1415378e28cSCaesar Wang				regulator-name = "VCCA_TP";
1425378e28cSCaesar Wang				regulator-min-microvolt = <3300000>;
1435378e28cSCaesar Wang				regulator-max-microvolt = <3300000>;
1445378e28cSCaesar Wang				regulator-always-on;
1455378e28cSCaesar Wang			};
1465378e28cSCaesar Wang
1475378e28cSCaesar Wang			vccio_pmu: REG9 {
1485378e28cSCaesar Wang				regulator-name = "VCCIO_PMU";
1495378e28cSCaesar Wang				regulator-min-microvolt = <3300000>;
1505378e28cSCaesar Wang				regulator-max-microvolt = <3300000>;
1515378e28cSCaesar Wang				regulator-always-on;
1525378e28cSCaesar Wang			};
1535378e28cSCaesar Wang
1545378e28cSCaesar Wang			vdd_10: REG10 {
1555378e28cSCaesar Wang				regulator-name = "VDD_10";
1565378e28cSCaesar Wang				regulator-min-microvolt = <1000000>;
1575378e28cSCaesar Wang				regulator-max-microvolt = <1000000>;
1585378e28cSCaesar Wang				regulator-always-on;
1595378e28cSCaesar Wang			};
1605378e28cSCaesar Wang
1615378e28cSCaesar Wang			vcc_18: REG11 {
1625378e28cSCaesar Wang				regulator-name = "VCC_18";
1635378e28cSCaesar Wang				regulator-min-microvolt = <1800000>;
1645378e28cSCaesar Wang				regulator-max-microvolt = <1800000>;
1655378e28cSCaesar Wang				regulator-always-on;
1665378e28cSCaesar Wang			};
1675378e28cSCaesar Wang
1685378e28cSCaesar Wang			vcc18_lcd: REG12 {
1695378e28cSCaesar Wang				regulator-name = "VCC18_LCD";
1705378e28cSCaesar Wang				regulator-min-microvolt = <1800000>;
1715378e28cSCaesar Wang				regulator-max-microvolt = <1800000>;
1725378e28cSCaesar Wang				regulator-always-on;
1735378e28cSCaesar Wang			};
1745378e28cSCaesar Wang		};
1755378e28cSCaesar Wang	};
1765378e28cSCaesar Wang};
177