xref: /linux/scripts/dtc/include-prefixes/arm64/hisilicon/hikey970-pmic.dtsi (revision 94fa073377db02ef0ca391f32e11e0f4649b2657)
16219b20eSMauro Carvalho Chehab// SPDX-License-Identifier: GPL-2.0
26219b20eSMauro Carvalho Chehab/*
36219b20eSMauro Carvalho Chehab * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
46219b20eSMauro Carvalho Chehab *
56219b20eSMauro Carvalho Chehab * Copyright (C) 2020, Huawei Tech. Co., Ltd.
66219b20eSMauro Carvalho Chehab */
76219b20eSMauro Carvalho Chehab
86219b20eSMauro Carvalho Chehab#include <dt-bindings/spmi/spmi.h>
96219b20eSMauro Carvalho Chehab
106219b20eSMauro Carvalho Chehab/ {
116219b20eSMauro Carvalho Chehab	spmi: spmi@fff24000 {
126219b20eSMauro Carvalho Chehab		compatible = "hisilicon,kirin970-spmi-controller";
13*94fa0733SJohan Hovold		reg = <0x0 0xfff24000 0x0 0x1000>;
146219b20eSMauro Carvalho Chehab		#address-cells = <2>;
156219b20eSMauro Carvalho Chehab		#size-cells = <0>;
166219b20eSMauro Carvalho Chehab		hisilicon,spmi-channel = <2>;
176219b20eSMauro Carvalho Chehab
186219b20eSMauro Carvalho Chehab		pmic: pmic@0 {
196219b20eSMauro Carvalho Chehab			compatible = "hisilicon,hi6421-spmi";
206219b20eSMauro Carvalho Chehab			reg = <0 SPMI_USID>;
216219b20eSMauro Carvalho Chehab
226219b20eSMauro Carvalho Chehab			#interrupt-cells = <2>;
236219b20eSMauro Carvalho Chehab			interrupt-controller;
246219b20eSMauro Carvalho Chehab			gpios = <&gpio28 0 0>;
256219b20eSMauro Carvalho Chehab
266219b20eSMauro Carvalho Chehab			regulators {
276219b20eSMauro Carvalho Chehab				ldo3: ldo3 { /* HDMI */
286219b20eSMauro Carvalho Chehab					regulator-name = "ldo3";
296219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <1500000>;
306219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <2000000>;
316219b20eSMauro Carvalho Chehab					regulator-boot-on;
326219b20eSMauro Carvalho Chehab				};
336219b20eSMauro Carvalho Chehab
346219b20eSMauro Carvalho Chehab				ldo4: ldo4 { /* 40 PIN */
356219b20eSMauro Carvalho Chehab					regulator-name = "ldo4";
366219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <1725000>;
376219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <1900000>;
386219b20eSMauro Carvalho Chehab					regulator-boot-on;
396219b20eSMauro Carvalho Chehab				};
406219b20eSMauro Carvalho Chehab
416219b20eSMauro Carvalho Chehab				ldo9: ldo9 { /* SDCARD I/O */
426219b20eSMauro Carvalho Chehab					regulator-name = "ldo9";
436219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <1750000>;
446219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3300000>;
456219b20eSMauro Carvalho Chehab					regulator-boot-on;
466219b20eSMauro Carvalho Chehab				};
476219b20eSMauro Carvalho Chehab
486219b20eSMauro Carvalho Chehab				ldo15: ldo15 { /* UFS */
496219b20eSMauro Carvalho Chehab					regulator-name = "ldo15";
506219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <1800000>;
516219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3000000>;
526219b20eSMauro Carvalho Chehab					regulator-always-on;
536219b20eSMauro Carvalho Chehab				};
546219b20eSMauro Carvalho Chehab
556219b20eSMauro Carvalho Chehab				ldo16: ldo16 { /* SD */
566219b20eSMauro Carvalho Chehab					regulator-name = "ldo16";
576219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <1800000>;
586219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3000000>;
596219b20eSMauro Carvalho Chehab					regulator-boot-on;
606219b20eSMauro Carvalho Chehab				};
616219b20eSMauro Carvalho Chehab
626219b20eSMauro Carvalho Chehab				ldo17: ldo17 { /* USB HUB */
636219b20eSMauro Carvalho Chehab					regulator-name = "ldo17";
646219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <2500000>;
656219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3300000>;
666219b20eSMauro Carvalho Chehab				};
676219b20eSMauro Carvalho Chehab
686219b20eSMauro Carvalho Chehab				ldo33: ldo33 { /* PEX8606 */
696219b20eSMauro Carvalho Chehab					regulator-name = "ldo33";
706219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <2500000>;
716219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3300000>;
726219b20eSMauro Carvalho Chehab				};
736219b20eSMauro Carvalho Chehab
746219b20eSMauro Carvalho Chehab				ldo34: ldo34 { /* GPS AUX IN VDD */
756219b20eSMauro Carvalho Chehab					regulator-name = "ldo34";
766219b20eSMauro Carvalho Chehab					regulator-min-microvolt = <2600000>;
776219b20eSMauro Carvalho Chehab					regulator-max-microvolt = <3300000>;
786219b20eSMauro Carvalho Chehab				};
796219b20eSMauro Carvalho Chehab			};
806219b20eSMauro Carvalho Chehab		};
816219b20eSMauro Carvalho Chehab	};
826219b20eSMauro Carvalho Chehab};
83