xref: /freebsd/sys/contrib/device-tree/src/arm64/hisilicon/hikey970-pmic.dtsi (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
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				#address-cells = <1>;
29				#size-cells = <0>;
30
31				ldo3: ldo3 { /* HDMI */
32					regulator-name = "ldo3";
33					regulator-min-microvolt = <1500000>;
34					regulator-max-microvolt = <2000000>;
35					regulator-boot-on;
36				};
37
38				ldo4: ldo4 { /* 40 PIN */
39					regulator-name = "ldo4";
40					regulator-min-microvolt = <1725000>;
41					regulator-max-microvolt = <1900000>;
42					regulator-boot-on;
43				};
44
45				ldo9: ldo9 { /* SDCARD I/O */
46					regulator-name = "ldo9";
47					regulator-min-microvolt = <1750000>;
48					regulator-max-microvolt = <3300000>;
49					regulator-boot-on;
50				};
51
52				ldo15: ldo15 { /* UFS */
53					regulator-name = "ldo15";
54					regulator-min-microvolt = <1800000>;
55					regulator-max-microvolt = <3000000>;
56					regulator-always-on;
57				};
58
59				ldo16: ldo16 { /* SD */
60					regulator-name = "ldo16";
61					regulator-min-microvolt = <1800000>;
62					regulator-max-microvolt = <3000000>;
63					regulator-boot-on;
64				};
65
66				ldo17: ldo17 { /* USB HUB */
67					regulator-name = "ldo17";
68					regulator-min-microvolt = <2500000>;
69					regulator-max-microvolt = <3300000>;
70				};
71
72				ldo33: ldo33 { /* PEX8606 */
73					regulator-name = "ldo33";
74					regulator-min-microvolt = <2500000>;
75					regulator-max-microvolt = <3300000>;
76				};
77
78				ldo34: ldo34 { /* GPS AUX IN VDD */
79					regulator-name = "ldo34";
80					regulator-min-microvolt = <2600000>;
81					regulator-max-microvolt = <3300000>;
82				};
83			};
84		};
85	};
86};
87