kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi
.. .. @@ -15,11 +15,10 @@ 15 15 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 16 16 reg = <0xc000>; 17 17 gpio-controller; 18 + gpio-ranges = <&pm8005_gpio 0 0 4>;18 19 #gpio-cells = <2>; 19 - interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,20 - <0 0xc1 0 IRQ_TYPE_NONE>,21 - <0 0xc2 0 IRQ_TYPE_NONE>,22 - <0 0xc3 0 IRQ_TYPE_NONE>;20 + interrupt-controller;21 + #interrupt-cells = <2>;23 22 }; 24 23 25 24 };