]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: sun8i: Cleanup the Pinecube AXP209 node
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 6 Dec 2020 16:51:29 +0000 (17:51 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 6 Jan 2021 16:49:58 +0000 (17:49 +0100)
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 <contact@paulk.fr>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201206165131.1041983-4-contact@paulk.fr
arch/arm/boot/dts/sun8i-s3-pinecube.dts

index 4aa0ee897a0a01517937d6135ec39473a64eeb1e..3c4bc4b0ca7f2eb701d87d529381957a6671736a 100644 (file)
        status = "okay";
 
        axp209: pmic@34 {
-               compatible = "x-powers,axp203",
-                            "x-powers,axp209";
                reg = <0x34>;
-               interrupt-parent = <&gic>;
-               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
-               interrupt-controller;
-               #interrupt-cells = <1>;
+               interrupt-parent = <&nmi_intc>;
+               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
        };
 };