diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-07-23 14:44:37 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:54 +0800 |
commit | 2b3b0d65b7f4f740db939541ba7a40160d31b2e0 (patch) | |
tree | 22ec490dccafd95862fc01804e7adcf65f3f4b90 /arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts | |
parent | 4000244cdc0a75c8c6d5430db594dfa5e89a8835 (diff) |
MLK-19003-2 ARM64: dts: imx8mq: inmate: add pci host ecam generic node
Add pci node to let inmate could detect ivshmem net.
The reg base is the PCI_CFG_BASE in jailhouse hypervisor.
The interrupt needs to be same vpci_irq_base + [x] in jailhouse
hypevisor.
In this patch also delete memory node, jailhosue cell linux
tool also creates a memory node, there are two memory nodes,
cause issues when using ivshmem-net.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit e1f59c589d16a556310e5a12d62e4a1913fc905a)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts index 8451ee56e56b..0914012d016d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts @@ -66,8 +66,23 @@ display-subsystem { /delete-property/ compatible; }; + + pci@bfb00000 { + compatible = "pci-host-ecam-generic"; + device_type = "pci"; + bus-range = <0 0>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &gic GIC_SPI 109 IRQ_TYPE_EDGE_RISING>; + reg = <0x0 0xbfb00000 0x0 0x100000>; + ranges = <0x02000000 0x00 0x10000000 0x0 0x10000000 0x00 0x10000>; + }; }; +/delete-node/ &{/memory@40000000}; + &clk { /delete-property/ compatible; }; |