xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/pm8450a.dtsi (revision 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited
5 */
6
7#include <dt-bindings/spmi/spmi.h>
8
9&spmi_bus {
10	pm8450a: pmic@0 {
11		compatible = "qcom,pm8150", "qcom,spmi-pmic";
12		reg = <0x0 SPMI_USID>;
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		pm8450a_gpios: gpio@c000 {
17			compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
18			reg = <0xc000>;
19			gpio-controller;
20			gpio-ranges = <&pm8450a_gpios 0 0 10>;
21			#gpio-cells = <2>;
22			interrupt-controller;
23			#interrupt-cells = <2>;
24		};
25	};
26
27	pm8450c: pmic@4 {
28		compatible = "qcom,pm8150", "qcom,spmi-pmic";
29		reg = <0x4 SPMI_USID>;
30		#address-cells = <1>;
31		#size-cells = <0>;
32
33		pm8450c_gpios: gpio@c000 {
34			compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
35			reg = <0xc000>;
36			gpio-controller;
37			gpio-ranges = <&pm8450c_gpios 0 0 10>;
38			#gpio-cells = <2>;
39			interrupt-controller;
40			#interrupt-cells = <2>;
41		};
42	};
43
44	pm8450e: pmic@8 {
45		compatible = "qcom,pm8150", "qcom,spmi-pmic";
46		reg = <0x8 SPMI_USID>;
47		#address-cells = <1>;
48		#size-cells = <0>;
49
50		pm8450e_gpios: gpio@c000 {
51			compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
52			reg = <0xc000>;
53			gpio-controller;
54			gpio-ranges = <&pm8450e_gpios 0 0 10>;
55			#gpio-cells = <2>;
56			interrupt-controller;
57			#interrupt-cells = <2>;
58		};
59	};
60
61	pm8450g: pmic@c {
62		compatible = "qcom,pm8150", "qcom,spmi-pmic";
63		reg = <0xc SPMI_USID>;
64		#address-cells = <1>;
65		#size-cells = <0>;
66
67		pm8450g_gpios: gpio@c000 {
68			compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
69			reg = <0xc000>;
70			gpio-controller;
71			gpio-ranges = <&pm8450g_gpios 0 0 10>;
72			#gpio-cells = <2>;
73			interrupt-controller;
74			#interrupt-cells = <2>;
75		};
76	};
77};
78