linux-uconsole/arch/arm64/boot/dts
Sudeep Holla a5278ac54c Revert "arm64: dts: juno: add dma-ranges property"
commit 54fb3fe0f2 upstream.

This reverts commit 193d00a2b3.

Commit 951d48855d ("of: Make of_dma_get_range() work on bus nodes")
reworked the logic such that of_dma_get_range() works correctly
starting from a bus node containing "dma-ranges".

Since on Juno we don't have a SoC level bus node and "dma-ranges" is
present only in the root node, we get the following error:

OF: translation of DMA address(0) to CPU address failed node(/sram@2e000000)
OF: translation of DMA address(0) to CPU address failed node(/uart@7ff80000)
...
OF: translation of DMA address(0) to CPU address failed node(/mhu@2b1f0000)
OF: translation of DMA address(0) to CPU address failed node(/iommu@2b600000)
OF: translation of DMA address(0) to CPU address failed node(/iommu@2b600000)
OF: translation of DMA address(0) to CPU address failed node(/iommu@2b600000)

So let's fix it by dropping the "dma-ranges" property for now. This
should be fine since it doesn't represent any kind of device-visible
restriction; it was only there for completeness, and we've since given
in to the assumption that missing "dma-ranges" implies a 1:1 mapping
anyway.

We can add it later with a proper SoC bus node and moving all the
devices that belong there along with the "dma-ranges" if required.

Fixes: 193d00a2b3 ("arm64: dts: juno: add dma-ranges property")
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:21:37 +01:00
..
actions arm64: dts: actions: Add S700 and CubieBoard7 2017-12-22 10:52:54 +01:00
al kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 17:03:07 -06:00
allwinner arm64: dts: allwinner: a64: olinuxino: Fix SDIO supply regulator 2020-01-23 08:21:29 +01:00
altera arm64: dts: agilex/stratix10: fix pmu interrupt numbers 2020-01-23 08:21:32 +01:00
amd arm64: dts: amd: Fix SPI bus warnings 2019-11-20 18:47:52 +01:00
amlogic arm64: dts: meson-gxl-s905x-khadas-vim: fix gpio-keys-polled node 2020-01-23 08:21:37 +01:00
apm ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
arm Revert "arm64: dts: juno: add dma-ranges property" 2020-01-23 08:21:37 +01:00
broadcom arm64: dts: broadcom: Fix I2C and SPI bus warnings 2019-11-20 18:46:38 +01:00
cavium arm64: dts: cavium: fix PCI bus dtc warnings 2018-02-22 17:36:07 +01:00
exynos arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node" 2019-12-13 08:52:44 +01:00
freescale arm64: dts: fsl: Fix I2C and SPI bus warnings 2019-11-20 18:47:35 +01:00
hisilicon arm64: dts: hikey: Revert "Enable HS200 mode on eMMC" 2019-03-13 14:02:39 -07:00
lg arm64: dts: lg: Fix SPI controller node names 2019-11-20 18:47:52 +01:00
marvell arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment alignment 2020-01-23 08:21:37 +01:00
mediatek arm64: dts: mt7622: fix no more console output on rfb1 2019-01-13 09:50:54 +01:00
nvidia arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator 2019-12-13 08:50:57 +01:00
qcom arm64: dts: apq8096-db820c: Increase load on l21 for SDCARD 2020-01-17 19:47:06 +01:00
realtek ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
renesas arm64: dts: renesas: draak: Fix CVBS input 2019-12-05 09:20:05 +01:00
rockchip arm64: dts: rockchip: Fix microSD in rk3399 sapphire board 2019-11-20 18:47:15 +01:00
socionext UniPhier ARM64 SoC DT updates for v4.19 2018-07-21 14:26:49 -07:00
sprd ARM: SoC: late updates 2018-08-25 14:12:36 -07:00
synaptics arm64: dts: move berlin SoC files from marvell dir to synaptics dir 2018-05-24 13:25:45 +08:00
ti arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2 2019-11-20 18:46:54 +01:00
xilinx arm64: dts: zynqmp: Fix node names which contain "_" 2019-12-13 08:51:25 +01:00
zte kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 17:03:07 -06:00
Makefile arm64: dts: ti: Add support for AM654 EVM base board 2018-07-18 11:48:36 -07:00