OSDN Git Service

arm64: dts: renesas: r8a774c0-cat874: Add pciec0 support
authorBiju Das <biju.das@bp.renesas.com>
Thu, 7 Feb 2019 08:31:49 +0000 (08:31 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 8 Feb 2019 10:49:09 +0000 (11:49 +0100)
Silicon Linux CAT 874 board has 2GB DDR memory. Update the dma-ranges
mapping for pciec0 node. Also declare pcie bus clock, since it is
generated on the CAT874 main board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts

index 477a56b..96ee0d2 100644 (file)
        clock-frequency = <48000000>;
 };
 
+&pcie_bus_clk {
+       clock-frequency = <100000000>;
+};
+
+&pciec0 {
+       /* Map all possible DDR as inbound ranges */
+       dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
+};
+
 &pfc {
        scif2_pins: scif2 {
                groups = "scif2_data_a";