// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2020, Konrad Dybcio */ #include #include #include &spmi_bus { pmic@0 { compatible = "qcom,pm660", "qcom,spmi-pmic"; reg = <0x0 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>, <0x6100>; reg-names = "rtc", "alarm"; interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; pon: pon@800 { compatible = "qcom,pm8916-pon"; reg = <0x800>; pwrkey { compatible = "qcom,pm8941-pwrkey"; interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; debounce = <15625>; bias-pull-up; linux,code = ; }; }; pm660_gpios: gpios@c000 { compatible = "qcom,pm660-gpio"; reg = <0xc000>; gpio-controller; gpio-ranges = <&pm660_gpios 0 0 13>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; }; };