This series adds PCIe support for r8a77965 (R-Car M3-N).
It is not necessary to update driver and PFC.
This series is based on the devel branch of Simon Horman's renesas tree.
Takeshi Kihara (1):
arm64: dts: renesas: r8a77965: Add PCIe device nodes
Yoshihiro Kaneko (1):
PCI: rcar: Add compatible string for r8a77965
Documentation/devicetree/bindings/pci/rcar-pci.txt | 1 +
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 48 +++++++++++++++++++++-
2 files changed, 47 insertions(+), 2 deletions(-)
--
1.9.1
@@ -8,6 +8,7 @@ compatible: "renesas,pcie-r8a7743" for the R8A7743 SoC; "renesas,pcie-r8a7793" for the R8A7793 SoC; "renesas,pcie-r8a7795" for the R8A7795 SoC; "renesas,pcie-r8a7796" for the R8A7796 SoC;+ "renesas,pcie-r8a77965" for the R8A77965 SoC; "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 or RZ/G1 compatible device. "renesas,pcie-rcar-gen3" for a generic R-Car Gen3 compatible device.
@@ -8,6 +8,7 @@ compatible: "renesas,pcie-r8a7743" for the R8A7743 SoC; "renesas,pcie-r8a7793" for the R8A7793 SoC; "renesas,pcie-r8a7795" for the R8A7795 SoC; "renesas,pcie-r8a7796" for the R8A7796 SoC;+ "renesas,pcie-r8a77965" for the R8A77965 SoC; "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 or RZ/G1 compatible device. "renesas,pcie-rcar-gen3" for a generic R-Car Gen3 compatible device.
On Thu, Jun 7, 2018 at 2:14 PM Yoshihiro Kaneko [off-list ref] wrote:
This patch adds support for r8a77965 (R-Car M3-N)
Signed-off-by: Yoshihiro Kaneko <redacted>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
From: Takeshi Kihara <redacted>
This patch adds PCIe{0,1} device nodes to R8A77965 SoC.
Based on a similar patches of the R8A7796 device tree
by Harunobu Kurokawa [off-list ref].
Signed-off-by: Takeshi Kihara <redacted>
Signed-off-by: Yoshihiro Kaneko <redacted>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 48 +++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)
@@ -1433,13 +1433,57 @@};pciec0:pcieatfe000000{+compatible="renesas,pcie-r8a77965",+"renesas,pcie-rcar-gen3";reg=<00xfe00000000x80000>;-/* placeholder */+#address-cells=<3>;+#size-cells=<2>;+bus-range=<0x000xff>;+device_type="pci";+ranges=<0x0100000000x0000000000xfe10000000x00100000+0x0200000000xfe20000000xfe20000000x00200000+0x0200000000x3000000000x3000000000x08000000+0x4200000000x3800000000x3800000000x08000000>;+/* Map all possible DDR as inbound ranges */+dma-ranges=<0x4200000000x4000000000x4000000000x80000000>;+interrupts=<GIC_SPI116IRQ_TYPE_LEVEL_HIGH>,+<GIC_SPI117IRQ_TYPE_LEVEL_HIGH>,+<GIC_SPI118IRQ_TYPE_LEVEL_HIGH>;+#interrupt-cells=<1>;+interrupt-map-mask=<0000>;+interrupt-map=<0000&gicGIC_SPI116IRQ_TYPE_LEVEL_HIGH>;+clocks=<&cpgCPG_MOD319>,<&pcie_bus_clk>;+clock-names="pcie","pcie_bus";+power-domains=<&syscR8A77965_PD_ALWAYS_ON>;+resets=<&cpg319>;+status="disabled";};pciec1:pcieatee800000{+compatible="renesas,pcie-r8a77965",+"renesas,pcie-rcar-gen3";reg=<00xee80000000x80000>;-/* placeholder */+#address-cells=<3>;+#size-cells=<2>;+bus-range=<0x000xff>;+device_type="pci";+ranges=<0x0100000000x0000000000xee90000000x00100000+0x0200000000xeea0000000xeea0000000x00200000+0x0200000000xc000000000xc000000000x08000000+0x4200000000xc800000000xc800000000x08000000>;+/* Map all possible DDR as inbound ranges */+dma-ranges=<0x4200000000x4000000000x4000000000x80000000>;+interrupts=<GIC_SPI148IRQ_TYPE_LEVEL_HIGH>,+<GIC_SPI149IRQ_TYPE_LEVEL_HIGH>,+<GIC_SPI150IRQ_TYPE_LEVEL_HIGH>;+#interrupt-cells=<1>;+interrupt-map-mask=<0000>;+interrupt-map=<0000&gicGIC_SPI148IRQ_TYPE_LEVEL_HIGH>;+clocks=<&cpgCPG_MOD318>,<&pcie_bus_clk>;+clock-names="pcie","pcie_bus";+power-domains=<&syscR8A77965_PD_ALWAYS_ON>;+resets=<&cpg318>;+status="disabled";};fcpf0:fcpatfe950000{
On Thu, Jun 07, 2018 at 09:11:34PM +0900, Yoshihiro Kaneko wrote:
From: Takeshi Kihara <redacted>
This patch adds PCIe{0,1} device nodes to R8A77965 SoC.
Based on a similar patches of the R8A7796 device tree
by Harunobu Kurokawa [off-list ref].
Signed-off-by: Takeshi Kihara <redacted>
Signed-off-by: Yoshihiro Kaneko <redacted>
Hi,
This looks fine to me but I will wait to see if there are other reviews
before applying.
Reviewed-by: Simon Horman <redacted>
On Mon, Jun 11, 2018 at 10:28:22AM +0200, Simon Horman wrote:
On Thu, Jun 07, 2018 at 09:11:34PM +0900, Yoshihiro Kaneko wrote:
quoted
From: Takeshi Kihara <redacted>
This patch adds PCIe{0,1} device nodes to R8A77965 SoC.
Based on a similar patches of the R8A7796 device tree
by Harunobu Kurokawa [off-list ref].
Signed-off-by: Takeshi Kihara <redacted>
Signed-off-by: Yoshihiro Kaneko <redacted>
Hi,
This looks fine to me but I will wait to see if there are other reviews
before applying.
Reviewed-by: Simon Horman <redacted>