From: Paul Kocialkowski Date: Sun, 6 Dec 2020 16:51:29 +0000 (+0100) Subject: ARM: dts: sun8i: Cleanup the Pinecube AXP209 node X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8c361a10d586bd07e7f34e678daab06fbcd05f87;p=linux.git ARM: dts: sun8i: Cleanup the Pinecube AXP209 node This fixes a few things with the Pinecube AXP209 node: - No compatible is required since it is using an AXP209 (not AXP203) according to the schematics and this is what the included axp209.dtsi already has; - The interrupt-controller and #interrupt-cells properties are already described in the included axp209.dtsi; - The interrupt comes through the NMI controller, not directly through the GIC. Signed-off-by: Paul Kocialkowski Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20201206165131.1041983-4-contact@paulk.fr --- diff --git a/arch/arm/boot/dts/sun8i-s3-pinecube.dts b/arch/arm/boot/dts/sun8i-s3-pinecube.dts index 4aa0ee897a0a0..3c4bc4b0ca7f2 100644 --- a/arch/arm/boot/dts/sun8i-s3-pinecube.dts +++ b/arch/arm/boot/dts/sun8i-s3-pinecube.dts @@ -88,13 +88,9 @@ status = "okay"; axp209: pmic@34 { - compatible = "x-powers,axp203", - "x-powers,axp209"; reg = <0x34>; - interrupt-parent = <&gic>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <1>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; }; };