Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
51 lines
1.2 KiB
Devicetree
51 lines
1.2 KiB
Devicetree
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
&spmi_bus {
|
|
pmm8620au_0: pmic@0 {
|
|
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
|
reg = <0x0 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmm8620au_0_rtc: rtc@6100 {
|
|
compatible = "qcom,pmk8350-rtc";
|
|
reg = <0x6100>, <0x6200>;
|
|
reg-names = "rtc", "alarm";
|
|
interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
|
|
pmm8620au_0_gpios: gpio@8800 {
|
|
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmm8620au_0_gpios 0 0 12>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
|
|
pmm8650au_1: pmic@2 {
|
|
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
|
reg = <0x2 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmm8650au_1_gpios: gpio@8800 {
|
|
compatible = "qcom,pmm8654au-gpio", "qcom,spmi-gpio";
|
|
reg = <0x8800>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pmm8650au_1_gpios 0 0 12>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
};
|