xref: /freebsd/sys/contrib/device-tree/src/arm64/hisilicon/hikey970-pmic.dtsi (revision 67be1e195acfaec99ce4fffeb17111ce085755f7)
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		reg = <0x0 0xfff24000 0x0 0x1000>;
14		#address-cells = <2>;
15		#size-cells = <0>;
16		hisilicon,spmi-channel = <2>;
17
18		pmic: pmic@0 {
19			compatible = "hisilicon,hi6421-spmi";
20			reg = <0 SPMI_USID>;
21
22			#interrupt-cells = <2>;
23			interrupt-controller;
24			gpios = <&gpio28 0 0>;
25
26			regulators {
27				ldo3: ldo3 { /* HDMI */
28					regulator-name = "ldo3";
29					regulator-min-microvolt = <1500000>;
30					regulator-max-microvolt = <2000000>;
31					regulator-boot-on;
32				};
33
34				ldo4: ldo4 { /* 40 PIN */
35					regulator-name = "ldo4";
36					regulator-min-microvolt = <1725000>;
37					regulator-max-microvolt = <1900000>;
38					regulator-boot-on;
39				};
40
41				ldo9: ldo9 { /* SDCARD I/O */
42					regulator-name = "ldo9";
43					regulator-min-microvolt = <1750000>;
44					regulator-max-microvolt = <3300000>;
45					regulator-boot-on;
46				};
47
48				ldo15: ldo15 { /* UFS */
49					regulator-name = "ldo15";
50					regulator-min-microvolt = <1800000>;
51					regulator-max-microvolt = <3000000>;
52					regulator-always-on;
53				};
54
55				ldo16: ldo16 { /* SD */
56					regulator-name = "ldo16";
57					regulator-min-microvolt = <1800000>;
58					regulator-max-microvolt = <3000000>;
59					regulator-boot-on;
60				};
61
62				ldo17: ldo17 { /* USB HUB */
63					regulator-name = "ldo17";
64					regulator-min-microvolt = <2500000>;
65					regulator-max-microvolt = <3300000>;
66				};
67
68				ldo33: ldo33 { /* PEX8606 */
69					regulator-name = "ldo33";
70					regulator-min-microvolt = <2500000>;
71					regulator-max-microvolt = <3300000>;
72				};
73
74				ldo34: ldo34 { /* GPS AUX IN VDD */
75					regulator-name = "ldo34";
76					regulator-min-microvolt = <2600000>;
77					regulator-max-microvolt = <3300000>;
78				};
79			};
80		};
81	};
82};
83