forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi
....@@ -15,11 +15,10 @@
1515 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
1616 reg = <0xc000>;
1717 gpio-controller;
18
+ gpio-ranges = <&pm8005_gpio 0 0 4>;
1819 #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>;
2322 };
2423
2524 };