110 lines
2.3 KiB
Plaintext
110 lines
2.3 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2022, Linaro Limited
|
|
*/
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
&spmi_bus {
|
|
pmk8280: pmic@0 {
|
|
compatible = "qcom,pmk8350", "qcom,spmi-pmic";
|
|
reg = <0x0 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmk8280_pon: pon@1300 {
|
|
compatible = "qcom,pmk8350-pon";
|
|
reg = <0x1300>, <0x800>;
|
|
reg-names = "hlos", "pbs";
|
|
|
|
pmk8280_pon_pwrkey: pwrkey {
|
|
compatible = "qcom,pmk8350-pwrkey";
|
|
interrupts = <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>;
|
|
linux,code = <KEY_POWER>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
|
|
pmc8280_1: pmic@1 {
|
|
compatible = "qcom,pm8350", "qcom,spmi-pmic";
|
|
reg = <0x1 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmc8280_1_gpios: gpio@8800 {
|
|
compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmc8280_1_gpios 0 0 10>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
|
|
pmc8280c: pmic@2 {
|
|
compatible = "qcom,pm8350c", "qcom,spmi-pmic";
|
|
reg = <0x2 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmc8280c_gpios: gpio@8800 {
|
|
compatible = "qcom,pm8350c-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmc8280c_gpios 0 0 9>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
pmc8280c_lpg: pwm {
|
|
compatible = "qcom,pm8350c-pwm";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
#pwm-cells = <2>;
|
|
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
pmc8280_2: pmic@3 {
|
|
compatible = "qcom,pm8350", "qcom,spmi-pmic";
|
|
reg = <0x3 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmc8280_2_gpios: gpio@8800 {
|
|
compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmc8280_2_gpios 0 0 10>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
|
|
pmr735a: pmic@4 {
|
|
compatible = "qcom,pmr735a", "qcom,spmi-pmic";
|
|
reg = <0x4 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmr735a_gpios: gpio@8800 {
|
|
compatible = "qcom,pmr735a-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmr735a_gpios 0 0 4>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
};
|