linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: renesas: r8a774c0-cat874: Add pciec0 support
@ 2019-02-07  8:31 Biju Das
  2019-02-07  8:31 ` [PATCH 2/2] arm64: dts: renesas: cat875: Enable PCIe support Biju Das
  2019-02-07 10:13 ` [PATCH 1/2] arm64: dts: renesas: r8a774c0-cat874: Add pciec0 support Geert Uytterhoeven
  0 siblings, 2 replies; 6+ messages in thread
From: Biju Das @ 2019-02-07  8:31 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Biju Das, Simon Horman, Magnus Damm, linux-renesas-soc,
	devicetree, Geert Uytterhoeven, Chris Paterson, Fabrizio Castro

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>
---
This patch is tested against renesas-dev
---
 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index 477a56b..96ee0d2c 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -56,6 +56,15 @@
 	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";
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-07 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07  8:31 [PATCH 1/2] arm64: dts: renesas: r8a774c0-cat874: Add pciec0 support Biju Das
2019-02-07  8:31 ` [PATCH 2/2] arm64: dts: renesas: cat875: Enable PCIe support Biju Das
2019-02-07 10:13   ` Geert Uytterhoeven
2019-02-07 10:43     ` Simon Horman
2019-02-07 10:13 ` [PATCH 1/2] arm64: dts: renesas: r8a774c0-cat874: Add pciec0 support Geert Uytterhoeven
2019-02-07 10:43   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).