forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/qcom/pmi8994.dtsi
....@@ -14,17 +14,10 @@
1414 compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
1515 reg = <0xc000>;
1616 gpio-controller;
17
+ gpio-ranges = <&pmi8994_gpios 0 0 10>;
1718 #gpio-cells = <2>;
18
- interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
19
- <2 0xc1 0 IRQ_TYPE_NONE>,
20
- <2 0xc2 0 IRQ_TYPE_NONE>,
21
- <2 0xc3 0 IRQ_TYPE_NONE>,
22
- <2 0xc4 0 IRQ_TYPE_NONE>,
23
- <2 0xc5 0 IRQ_TYPE_NONE>,
24
- <2 0xc6 0 IRQ_TYPE_NONE>,
25
- <2 0xc7 0 IRQ_TYPE_NONE>,
26
- <2 0xc8 0 IRQ_TYPE_NONE>,
27
- <2 0xc9 0 IRQ_TYPE_NONE>;
19
+ interrupt-controller;
20
+ #interrupt-cells = <2>;
2821 };
2922 };
3023
....@@ -33,5 +26,11 @@
3326 reg = <0x3 SPMI_USID>;
3427 #address-cells = <1>;
3528 #size-cells = <0>;
29
+
30
+ pmi8994_spmi_regulators: regulators {
31
+ compatible = "qcom,pmi8994-regulators";
32
+ #address-cells = <1>;
33
+ #size-cells = <1>;
34
+ };
3635 };
3736 };