xref: /freebsd/sys/contrib/device-tree/src/arm64/hisilicon/hikey970-pmic.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
18cc087a1SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
28cc087a1SEmmanuel Vadot/*
38cc087a1SEmmanuel Vadot * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
48cc087a1SEmmanuel Vadot *
58cc087a1SEmmanuel Vadot * Copyright (C) 2020, Huawei Tech. Co., Ltd.
68cc087a1SEmmanuel Vadot */
78cc087a1SEmmanuel Vadot
88cc087a1SEmmanuel Vadot#include <dt-bindings/spmi/spmi.h>
98cc087a1SEmmanuel Vadot
108cc087a1SEmmanuel Vadot/ {
118cc087a1SEmmanuel Vadot	spmi: spmi@fff24000 {
128cc087a1SEmmanuel Vadot		compatible = "hisilicon,kirin970-spmi-controller";
13*8d13bc63SEmmanuel Vadot		reg = <0x0 0xfff24000 0x0 0x1000>;
148cc087a1SEmmanuel Vadot		#address-cells = <2>;
158cc087a1SEmmanuel Vadot		#size-cells = <0>;
168cc087a1SEmmanuel Vadot		hisilicon,spmi-channel = <2>;
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadot		pmic: pmic@0 {
198cc087a1SEmmanuel Vadot			compatible = "hisilicon,hi6421-spmi";
208cc087a1SEmmanuel Vadot			reg = <0 SPMI_USID>;
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel Vadot			#interrupt-cells = <2>;
238cc087a1SEmmanuel Vadot			interrupt-controller;
248cc087a1SEmmanuel Vadot			gpios = <&gpio28 0 0>;
258cc087a1SEmmanuel Vadot
268cc087a1SEmmanuel Vadot			regulators {
278cc087a1SEmmanuel Vadot				ldo3: ldo3 { /* HDMI */
288cc087a1SEmmanuel Vadot					regulator-name = "ldo3";
298cc087a1SEmmanuel Vadot					regulator-min-microvolt = <1500000>;
308cc087a1SEmmanuel Vadot					regulator-max-microvolt = <2000000>;
318cc087a1SEmmanuel Vadot					regulator-boot-on;
328cc087a1SEmmanuel Vadot				};
338cc087a1SEmmanuel Vadot
348cc087a1SEmmanuel Vadot				ldo4: ldo4 { /* 40 PIN */
358cc087a1SEmmanuel Vadot					regulator-name = "ldo4";
368cc087a1SEmmanuel Vadot					regulator-min-microvolt = <1725000>;
378cc087a1SEmmanuel Vadot					regulator-max-microvolt = <1900000>;
388cc087a1SEmmanuel Vadot					regulator-boot-on;
398cc087a1SEmmanuel Vadot				};
408cc087a1SEmmanuel Vadot
418cc087a1SEmmanuel Vadot				ldo9: ldo9 { /* SDCARD I/O */
428cc087a1SEmmanuel Vadot					regulator-name = "ldo9";
438cc087a1SEmmanuel Vadot					regulator-min-microvolt = <1750000>;
448cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3300000>;
458cc087a1SEmmanuel Vadot					regulator-boot-on;
468cc087a1SEmmanuel Vadot				};
478cc087a1SEmmanuel Vadot
488cc087a1SEmmanuel Vadot				ldo15: ldo15 { /* UFS */
498cc087a1SEmmanuel Vadot					regulator-name = "ldo15";
508cc087a1SEmmanuel Vadot					regulator-min-microvolt = <1800000>;
518cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3000000>;
528cc087a1SEmmanuel Vadot					regulator-always-on;
538cc087a1SEmmanuel Vadot				};
548cc087a1SEmmanuel Vadot
558cc087a1SEmmanuel Vadot				ldo16: ldo16 { /* SD */
568cc087a1SEmmanuel Vadot					regulator-name = "ldo16";
578cc087a1SEmmanuel Vadot					regulator-min-microvolt = <1800000>;
588cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3000000>;
598cc087a1SEmmanuel Vadot					regulator-boot-on;
608cc087a1SEmmanuel Vadot				};
618cc087a1SEmmanuel Vadot
628cc087a1SEmmanuel Vadot				ldo17: ldo17 { /* USB HUB */
638cc087a1SEmmanuel Vadot					regulator-name = "ldo17";
648cc087a1SEmmanuel Vadot					regulator-min-microvolt = <2500000>;
658cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3300000>;
668cc087a1SEmmanuel Vadot				};
678cc087a1SEmmanuel Vadot
688cc087a1SEmmanuel Vadot				ldo33: ldo33 { /* PEX8606 */
698cc087a1SEmmanuel Vadot					regulator-name = "ldo33";
708cc087a1SEmmanuel Vadot					regulator-min-microvolt = <2500000>;
718cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3300000>;
728cc087a1SEmmanuel Vadot				};
738cc087a1SEmmanuel Vadot
748cc087a1SEmmanuel Vadot				ldo34: ldo34 { /* GPS AUX IN VDD */
758cc087a1SEmmanuel Vadot					regulator-name = "ldo34";
768cc087a1SEmmanuel Vadot					regulator-min-microvolt = <2600000>;
778cc087a1SEmmanuel Vadot					regulator-max-microvolt = <3300000>;
788cc087a1SEmmanuel Vadot				};
798cc087a1SEmmanuel Vadot			};
808cc087a1SEmmanuel Vadot		};
818cc087a1SEmmanuel Vadot	};
828cc087a1SEmmanuel Vadot};
83