diff options
author | 2021-05-11 14:48:21 -0500 | |
---|---|---|
committer | 2021-05-14 12:48:11 -0500 | |
commit | cab12badfc99f93c1dccf192dd150f94b687a27c (patch) | |
tree | 83473323516c307508ed2f1b916d55a963e33499 /arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | |
parent | arm64: dts: ti: k3-am65|j721e|am64: Map the dma / navigator subsystem via exp... (diff) | |
download | linux-cab12badfc99f93c1dccf192dd150f94b687a27c.tar.gz linux-cab12badfc99f93c1dccf192dd150f94b687a27c.tar.bz2 linux-cab12badfc99f93c1dccf192dd150f94b687a27c.zip |
arm64: dts: ti: k3*: Introduce reg definition for interrupt routers
Interrupt routers are memory mapped peripherals, that are organized
in our dts bus hierarchy to closely represents the actual hardware
behavior.
However, without explicitly calling out the reg property, using
2021.03+ dt-schema package, this exposes the following problem with
dtbs_check:
/arch/arm64/boot/dts/ti/k3-am654-base-board.dt.yaml: bus@100000:
interrupt-controller0: {'type': 'object'} is not allowed for
{'compatible': ['ti,sci-intr'], .....
Even though we don't use interrupt router directly via memory mapped
registers and have to use it via the system controller, the hardware
block is memory mapped, so describe the base address in device tree.
This is a valid, comprehensive description of hardware and permitted
by the existing ti,sci-intr schema.
Reviewed-by: Tero Kristo <kristo@kernel.org>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210511194821.13919-1-nm@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 65f3fabda114..5663fe3ea466 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -96,8 +96,9 @@ clock-names = "fclk"; }; - wkup_gpio_intr: interrupt-controller2 { + wkup_gpio_intr: interrupt-controller@42200000 { compatible = "ti,sci-intr"; + reg = <0x00 0x42200000 0x00 0x400>; ti,intr-trigger-type = <1>; interrupt-controller; interrupt-parent = <&gic500>; |