11844Swollman// SPDX-License-Identifier: GPL-2.0
250476Speter/*
323549Swosch * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
423549Swosch *
535784Swosch * Copyright (C) 2020, Huawei Tech. Co., Ltd.
623549Swosch */
723549Swosch
823549Swosch#include <dt-bindings/spmi/spmi.h>
923549Swosch
1023549Swosch/ {
1123549Swosch	spmi: spmi@fff24000 {
1223549Swosch		compatible = "hisilicon,kirin970-spmi-controller";
1323549Swosch		reg = <0x0 0xfff24000 0x0 0x1000>;
1423549Swosch		#address-cells = <2>;
1523549Swosch		#size-cells = <0>;
1623549Swosch		hisilicon,spmi-channel = <2>;
1723549Swosch
1823549Swosch		pmic: pmic@0 {
1923549Swosch			compatible = "hisilicon,hi6421-spmi";
2023549Swosch			reg = <0 SPMI_USID>;
2134934Seivind
2234934Seivind			#interrupt-cells = <2>;
2334934Seivind			interrupt-controller;
2434934Seivind			gpios = <&gpio28 0 0>;
2534934Seivind
2634934Seivind			regulators {
2734934Seivind				ldo3: ldo3 { /* HDMI */
2823549Swosch					regulator-name = "ldo3";
2923549Swosch					regulator-min-microvolt = <1500000>;
3023549Swosch					regulator-max-microvolt = <2000000>;
3123549Swosch					regulator-boot-on;
3223549Swosch				};
3323549Swosch
3423549Swosch				ldo4: ldo4 { /* 40 PIN */
3523549Swosch					regulator-name = "ldo4";
3644922Sbde					regulator-min-microvolt = <1725000>;
3723549Swosch					regulator-max-microvolt = <1900000>;
381638Srgrimes					regulator-boot-on;
3938183Speter				};
4038183Speter
4138183Speter				ldo9: ldo9 { /* SDCARD I/O */
4238183Speter					regulator-name = "ldo9";
4338183Speter					regulator-min-microvolt = <1750000>;
4438183Speter					regulator-max-microvolt = <3300000>;
4523549Swosch					regulator-boot-on;
461638Srgrimes				};
471638Srgrimes
4834934Seivind				ldo15: ldo15 { /* UFS */
4934934Seivind					regulator-name = "ldo15";
5034934Seivind					regulator-min-microvolt = <1800000>;
5134934Seivind					regulator-max-microvolt = <3000000>;
5234934Seivind					regulator-always-on;
5334934Seivind				};
5434934Seivind
5534934Seivind				ldo16: ldo16 { /* SD */
5634934Seivind					regulator-name = "ldo16";
5734934Seivind					regulator-min-microvolt = <1800000>;
581638Srgrimes					regulator-max-microvolt = <3000000>;
5934934Seivind					regulator-boot-on;
6034934Seivind				};
6134934Seivind
6234934Seivind				ldo17: ldo17 { /* USB HUB */
6334934Seivind					regulator-name = "ldo17";
6434934Seivind					regulator-min-microvolt = <2500000>;
6534934Seivind					regulator-max-microvolt = <3300000>;
6634934Seivind				};
6734934Seivind
6834934Seivind				ldo33: ldo33 { /* PEX8606 */
6934934Seivind					regulator-name = "ldo33";
7034934Seivind					regulator-min-microvolt = <2500000>;
7134934Seivind					regulator-max-microvolt = <3300000>;
7234934Seivind				};
7334934Seivind
7434934Seivind				ldo34: ldo34 { /* GPS AUX IN VDD */
7534934Seivind					regulator-name = "ldo34";
7634934Seivind					regulator-min-microvolt = <2600000>;
7734934Seivind					regulator-max-microvolt = <3300000>;
7834934Seivind				};
791638Srgrimes			};
801638Srgrimes		};
811638Srgrimes	};
821638Srgrimes};
831638Srgrimes