Skip to content

Commit

Permalink
apple/t8103.dts: DT changes for FIQ support
Browse files Browse the repository at this point in the history
We need a new node for the FIQ interrupt controller, and either that
new node or the existing aic node need to be tagged with "use-for-ipi".

Signed-off-by: Pip Cet <[email protected]>
  • Loading branch information
pipcet committed Aug 11, 2021
1 parent 44401c9 commit d87a0dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j274.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
};
};

soc {
aic: interrupt-controller@23b100000 {
/* use-for-ipi; */
};
};

fiq: interrupt-controller {
use-for-ipi;
};

memory@800000000 {
device_type = "memory";
reg = <0x8 0 0x2 0>; /* To be filled by loader */
Expand Down
8 changes: 7 additions & 1 deletion arch/arm64/boot/dts/apple/t8103.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,15 @@
};
};

fiq: interrupt-controller {
compatible = "apple,fiq";
#interrupt-cells = <3>;
interrupt-controller;
};

timer {
compatible = "arm,armv8-timer";
interrupt-parent = <&aic>;
interrupt-parent = <&fiq>;
interrupt-names = "phys", "virt", "hyp-phys", "hyp-virt";
interrupts = <AIC_FIQ AIC_TMR_GUEST_PHYS IRQ_TYPE_LEVEL_HIGH>,
<AIC_FIQ AIC_TMR_GUEST_VIRT IRQ_TYPE_LEVEL_HIGH>,
Expand Down

0 comments on commit d87a0dc

Please sign in to comment.