• Andre Przywara's avatar
    ARM: dts: sun8i: R40: Add PMU node · 396c95e8
    Andre Przywara authored
    The ARM Cortex-A7 cores used in the Allwinner R40 SoC have their usual
    Performance Monitoring Unit (PMU), which allows perf to use hardware
    events.
    The SoC integrator just needs to connect each per-core interrupt line
    to the GIC. The R40 manual does not really mention those IRQ lines, but
    experimentation in U-Boot shows that interrupts 152-155 are connected to
    the four cores (similar to the A20).
    
    Tested on a Bananapi M2 Berry, with perf and taskset to confirm the
    association between cores and interrupts.
    Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
    396c95e8
sun8i-r40.dtsi 22.2 KB