1// SPDX-License-Identifier: BSD-3-Clause 2#include <dt-bindings/interrupt-controller/irq.h> 3#include <dt-bindings/spmi/spmi.h> 4 5&spmi_bus { 6 pm8226_0: pm8226@0 { 7 compatible = "qcom,pm8226", "qcom,spmi-pmic"; 8 reg = <0x0 SPMI_USID>; 9 #address-cells = <1>; 10 #size-cells = <0>; 11 12 pwrkey@800 { 13 compatible = "qcom,pm8941-pwrkey"; 14 reg = <0x800>; 15 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; 16 debounce = <15625>; 17 bias-pull-up; 18 }; 19 }; 20 21 pm8226_1: pm8226@1 { 22 compatible = "qcom,pm8226", "qcom,spmi-pmic"; 23 reg = <0x1 SPMI_USID>; 24 #address-cells = <1>; 25 #size-cells = <0>; 26 }; 27}; 28