From 2b3b0d65b7f4f740db939541ba7a40160d31b2e0 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Mon, 23 Jul 2018 14:44:37 +0800 Subject: 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 Cc: Richard Zhu Reviewed-by: Bai Ping (cherry picked from commit e1f59c589d16a556310e5a12d62e4a1913fc905a) --- arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-inmate.dts') 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; }; -- cgit v1.2.3