]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: tegra: Add AGIC node for Tegra210
authorJon Hunter <jonathanh@nvidia.com>
Tue, 9 Aug 2016 15:21:16 +0000 (16:21 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 24 Aug 2016 14:37:08 +0000 (16:37 +0200)
Populate the Audio GIC (AGIC) node for Tegra210. This interrupt
controller is used by the Audio Processing Engine to route interrupts
to the main CPU interrupt controller. The AGIC is based on the ARM
GIC400 and so uses the clock name "clk" as specified by the GIC binding
document for GIC400 devices.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index b49639441cf01aa39d43cb7c5307c57dbb74d1ba..0820073a3222353329dfab480ebd86b703f2c54f 100644 (file)
                #size-cells = <1>;
                ranges = <0x702c0000 0x0 0x702c0000 0x00040000>;
                status = "disabled";
+
+               agic: agic@702f9000 {
+                       compatible = "nvidia,tegra210-agic";
+                       #interrupt-cells = <3>;
+                       interrupt-controller;
+                       reg = <0x702f9000 0x2000>,
+                             <0x702fa000 0x2000>;
+                       interrupts = <GIC_SPI 102 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&tegra_car TEGRA210_CLK_APE>;
+                       clock-names = "clk";
+                       status = "disabled";
+               };
        };
 
        spi@70410000 {