Commit c91cb912 authored by Suravee Suthikulpanit's avatar Suravee Suthikulpanit Committed by Olof Johansson

dtb: amd: Fix DMA ranges in device tree

Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Signed-off-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 48527738
...@@ -55,8 +55,12 @@ smb0: smb { ...@@ -55,8 +55,12 @@ smb0: smb {
#size-cells = <2>; #size-cells = <2>;
ranges; ranges;
/* DDR range is 40-bit addressing */ /*
dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>; * dma-ranges is 40-bit address space containing:
* - GICv2m MSI register is at 0xe0080000
* - DRAM range [0x8000000000 to 0xffffffffff]
*/
dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>;
/include/ "amd-seattle-clks.dtsi" /include/ "amd-seattle-clks.dtsi"
...@@ -159,7 +163,7 @@ pcie0: pcie@f0000000 { ...@@ -159,7 +163,7 @@ pcie0: pcie@f0000000 {
<0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>; <0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>;
dma-coherent; dma-coherent;
dma-ranges = <0x43000000 0x80 0x0 0x80 0x0 0x7f 0xffffffff>; dma-ranges = <0x43000000 0x0 0x0 0x0 0x0 0x100 0x0>;
ranges = ranges =
/* I/O Memory (size=64K) */ /* I/O Memory (size=64K) */
<0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>, <0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment