1// SPDX-License-Identifier: GPL-2.0 2 3&ssbi { 4 pm8921: pmic { 5 compatible = "qcom,pm8921"; 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 10 11 pwrkey@1c { 12 compatible = "qcom,pm8921-pwrkey"; 13 reg = <0x1c>; 14 interrupt-parent = <&pm8921>; 15 interrupts = <50 IRQ_TYPE_EDGE_RISING>, 16 <51 IRQ_TYPE_EDGE_RISING>; 17 debounce = <15625>; 18 pull-up; 19 }; 20 21 pm8921_keypad: keypad@148 { 22 compatible = "qcom,pm8921-keypad"; 23 reg = <0x148>; 24 interrupt-parent = <&pm8921>; 25 interrupts = <74 IRQ_TYPE_EDGE_RISING>, 26 <75 IRQ_TYPE_EDGE_RISING>; 27 debounce = <15>; 28 scan-delay = <32>; 29 row-hold = <91500>; 30 }; 31 32 rtc@11d { 33 compatible = "qcom,pm8921-rtc"; 34 interrupt-parent = <&pm8921>; 35 interrupts = <39 IRQ_TYPE_EDGE_RISING>; 36 reg = <0x11d>; 37 allow-set-time; 38 }; 39 }; 40}; 41