1// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
4 *
5 * Copyright (C) 2020, Huawei Tech. Co., Ltd.
6 */
7
8#include <dt-bindings/spmi/spmi.h>
9
10/ {
11	spmi: spmi@fff24000 {
12		compatible = "hisilicon,kirin970-spmi-controller";
13		#address-cells = <2>;
14		#size-cells = <0>;
15		status = "okay";
16		reg = <0x0 0xfff24000 0x0 0x1000>;
17		hisilicon,spmi-channel = <2>;
18
19		pmic: pmic@0 {
20			compatible = "hisilicon,hi6421-spmi";
21			reg = <0 SPMI_USID>;
22
23			#interrupt-cells = <2>;
24			interrupt-controller;
25			gpios = <&gpio28 0 0>;
26
27			regulators {
28				ldo3: ldo3 { /* HDMI */
29					regulator-name = "ldo3";
30					regulator-min-microvolt = <1500000>;
31					regulator-max-microvolt = <2000000>;
32					regulator-boot-on;
33				};
34
35				ldo4: ldo4 { /* 40 PIN */
36					regulator-name = "ldo4";
37					regulator-min-microvolt = <1725000>;
38					regulator-max-microvolt = <1900000>;
39					regulator-boot-on;
40				};
41
42				ldo9: ldo9 { /* SDCARD I/O */
43					regulator-name = "ldo9";
44					regulator-min-microvolt = <1750000>;
45					regulator-max-microvolt = <3300000>;
46					regulator-boot-on;
47				};
48
49				ldo15: ldo15 { /* UFS */
50					regulator-name = "ldo15";
51					regulator-min-microvolt = <1800000>;
52					regulator-max-microvolt = <3000000>;
53					regulator-always-on;
54				};
55
56				ldo16: ldo16 { /* SD */
57					regulator-name = "ldo16";
58					regulator-min-microvolt = <1800000>;
59					regulator-max-microvolt = <3000000>;
60					regulator-boot-on;
61				};
62
63				ldo17: ldo17 { /* USB HUB */
64					regulator-name = "ldo17";
65					regulator-min-microvolt = <2500000>;
66					regulator-max-microvolt = <3300000>;
67				};
68
69				ldo33: ldo33 { /* PEX8606 */
70					regulator-name = "ldo33";
71					regulator-min-microvolt = <2500000>;
72					regulator-max-microvolt = <3300000>;
73				};
74
75				ldo34: ldo34 { /* GPS AUX IN VDD */
76					regulator-name = "ldo34";
77					regulator-min-microvolt = <2600000>;
78					regulator-max-microvolt = <3300000>;
79				};
80			};
81		};
82	};
83};
84