Renesas ARM64 Based SoC DT Updates for v4.14
Subsystems (3)
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these Renesas ARM64 based SoC DT updates for v4.14.
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:
Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)
are available in the git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm64-dt-for-v4.14
for you to fetch changes up to 4725f2b8805718a65dcbce8668710f145df797a8:
arm64: dts: renesas: r8a7795: add hsusb ch3 device node (2017-07-27 17:19:05 +0200)
----------------------------------------------------------------
Renesas ARM64 Based SoC DT Updates for v4.14
* Add usb2.0 for R-Car H3 (r8a7795) ES2.0 SoC
* Add R-Car D3 (r8a77995) SoC and Draak board support
Adds minimal support for the R-Car D3 SoC and the Draak development board, allowing to boot from a ramdisk using a serial console.
* Add Add VC6 clock generator to R-Car H3 (r8a7795)/Salvator-XS board
The VC6 is an I2C-controlled programmable clock generator, used on the board to provide a display dot clock. Add it to DT.
* Add missing second pair of DMA names to MSIOF nodes to R-Car M3-W (r8a7796) SoC
MSIOF0 and MSIOF1 are tied to two DMA controllers through two pairs of DMA specifiers. However, the second pair of corresponding DMA names was missing.
* Add support for the DU to R-Car H3 (r8a7795) SoC
Add a compatible string and VSP links to the DU node. The H3 ES1.x and H3 ES2.0 are compatible save for the links to the VSPs that are described explicitly in DT, so there's no need for a new ES2-specific compatible string.
* Enable HDMI on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
* Enable DU on R-Car M3-W (r8a7796) Salvator-X board
* Enable I2C for DVFS on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
* Add Add DRIF support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
Ramesh Shanmugasundaram says, "R-Car Gen3 DRIF is a SPI like receive only slave device."
* Move CPG_AUDIO_CLK_I from board to soc files
Geert Uytterhoeven says, "The definition of CPG_AUDIO_CLK_I is SoC-specific, not board-specific."
* Add IMR-LX4 support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
Sergei Shtylyov says, "The image renderer light extended 4 (IMR-LX4) or the distortion correction engine is a drawing processor with a simple instruction system capable of referencing data on an external memory as 2D texture data and performing texture mapping and drawing with respect to any shape that is split into triangular objects."
----------------------------------------------------------------
Geert Uytterhoeven (6):
arm64: dts: renesas: Move CPG_AUDIO_CLK_I from board to soc files
arm64: dts: r8a7795: Add all MSIOF nodes
arm64: dts: r8a7796: Add missing second pair of DMA names to MSIOF nodes
arm64: renesas: Add Renesas R8A77995 Kconfig support
arm64: dts: renesas: Add Renesas R8A77995 SoC support
arm64: dts: renesas: Add Renesas Draak board support
Kazuya Mizuguchi (1):
arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
Laurent Pinchart (9):
arm64: dts: r8a7796: Add FCPF and FCPV instances
arm64: dts: r8a7796: Add VSP instances
arm64: dts: r8a7796: Add DU device to DT
arm64: dts: r8a7796: Add HDMI encoder instance
arm64: dts: r8a7796: salvator-x: Add DU external dot clocks
arm64: dts: r8a7796: salvator-x: Enable HDMI output
arm64: dts: r8a7795: Add support for the DU
arm64: dts: salvator-xs: Add VC6 clock generator
arm64: dts: r8a7795: salvator-xs: Connect DU dot clocks 0 and 3
Ramesh Shanmugasundaram (2):
arm64: dts: r8a7796: Add DRIF support
arm64: dts: r8a7795: Add DRIF supportSergei Shtylyov (2):
arm64: dts: r8a7795: add IMR-LX4 support
arm64: dts: r8a7796: add IMR-LX4 supportVladimir Barinov (7):
arm64: dts: ulcb: Enable I2C for DVFS device
arm64: dts: ulcb: Enable I2C4
arm64: dts: ulcb: Add DU external dot clock sources
arm64: dts: r8a7795: h3ulcb: Add DU external dot clocks
arm64: dts: r8a7796: m3ulcb: Add DU external dot clocks
arm64: dts: ulcb: Add HDMI output connector
arm64: dts: ulcb: Enable HDMI output
Yoshihiro Shimoda (4):
arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node
arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes
arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes
arm64: dts: renesas: r8a7795: add hsusb ch3 device node
arch/arm64/Kconfig.platforms | 6 + arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dts | 2 - .../boot/dts/renesas/r8a7795-es1-salvator-x.dts | 2 - arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 9 +- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 16 +- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 - .../arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 8 +- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 311 +++++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 14 +- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 31 +- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 301 +++++++++++++++++++- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 46 +++ arch/arm64/boot/dts/renesas/r8a77995.dtsi | 150 ++++++++++ arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 10 + arch/arm64/boot/dts/renesas/ulcb.dtsi | 51 ++++ 16 files changed, 940 insertions(+), 20 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a77995-draak.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a77995.dtsi
PATCH 1/31 arm64: dts: r8a7795: add IMR-LX4 support
From: Sergei Shtylyov <[email protected]>
Describe the IMR-LX4 devices in the R8A7795 device tree.
Based on the original (and large) patch by Konstantin Kozhevnikov <[email protected]>.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +40 -0
@@ -1535,6 +1535,46 @@ status = "disabled"; }; + imr-lx4 at fe860000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A7795_PD_A3VC>; + resets = <&cpg 823>; + }; + + imr-lx4 at fe870000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe870000 0 0x2000>; + interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 822>; + power-domains = <&sysc R8A7795_PD_A3VC>; + resets = <&cpg 822>; + }; + + imr-lx4 at fe880000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe880000 0 0x2000>; + interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 821>; + power-domains = <&sysc R8A7795_PD_A3VC>; + resets = <&cpg 821>; + }; + + imr-lx4 at fe890000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe890000 0 0x2000>; + interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 820>; + power-domains = <&sysc R8A7795_PD_A3VC>; + resets = <&cpg 820>; + }; + vspbc: vsp at fe920000 { compatible = "renesas,vsp2"; reg = <0 0xfe920000 0 0x8000>;
Signature · 1 line
2.1.4
PATCH 2/31 arm64: dts: r8a7796: add IMR-LX4 support
In reply to Simon HormanFrom: Sergei Shtylyov <[email protected]>
Describe the IMR-LX4 devices in the R8A7796 device tree.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +20 -0
@@ -1454,5 +1454,25 @@ }; }; }; + + imr-lx4 at fe860000 { + compatible = "renesas,r8a7796-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 823>; + }; + + imr-lx4 at fe870000 { + compatible = "renesas,r8a7796-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe870000 0 0x2000>; + interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 822>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 822>; + }; }; };
Signature · 1 line
2.1.4
PATCH 3/31 arm64: dts: renesas: Move CPG_AUDIO_CLK_I from board to soc files
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
The definition of CPG_AUDIO_CLK_I is SoC-specific, not board-specific. Hence move it from the board-specific .dts files to the SoC-specific .dtsi files.
--- arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 2 -- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 ++ 9 files changed, 4 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dts +0 -2
@@ -9,8 +9,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 - /dts-v1/; #include "r8a7795-es1.dtsi" #include "ulcb.dtsi"
arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts +0 -2
@@ -8,8 +8,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 - /dts-v1/; #include "r8a7795-es1.dtsi" #include "salvator-x.dtsi"
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +0 -2
@@ -9,8 +9,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 - /dts-v1/; #include "r8a7795.dtsi" #include "ulcb.dtsi"
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +0 -2
@@ -8,8 +8,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 - /dts-v1/; #include "r8a7795.dtsi" #include "salvator-x.dtsi"
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +0 -2
@@ -8,8 +8,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 - /dts-v1/; #include "r8a7795.dtsi" #include "salvator-xs.dtsi"
arch/arm64/boot/dts/renesas/r8a7795.dtsi +2 -0
@@ -12,6 +12,8 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/power/r8a7795-sysc.h> +#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 + / { compatible = "renesas,r8a7795"; #address-cells = <2>;
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts +0 -2
@@ -9,8 +9,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7796_CLK_S0D4 - /dts-v1/; #include "r8a7796.dtsi" #include "ulcb.dtsi"
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +0 -2
@@ -8,8 +8,6 @@ * kind, whether express or implied. */ -#define CPG_AUDIO_CLK_I R8A7796_CLK_S0D4 - /dts-v1/; #include "r8a7796.dtsi" #include "salvator-x.dtsi"
arch/arm64/boot/dts/renesas/r8a7796.dtsi +2 -0
@@ -12,6 +12,8 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/power/r8a7796-sysc.h> +#define CPG_AUDIO_CLK_I R8A7796_CLK_S0D4 + / { compatible = "renesas,r8a7796"; #address-cells = <2>;
Signature · 1 line
2.1.4
PATCH 4/31 arm64: dts: r8a7796: Add DRIF support
In reply to Simon HormanFrom: Ramesh Shanmugasundaram <[email protected]>
Adds the DRIF controller nodes for r8a7796.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 120 +++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +120 -0
@@ -641,6 +641,126 @@ }; }; + drif00: rif at e6f40000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f40000 0 0x64>; + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 515>; + clock-names = "fck"; + dmas = <&dmac1 0x20>, <&dmac2 0x20>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 515>; + renesas,bonding = <&drif01>; + status = "disabled"; + }; + + drif01: rif at e6f50000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f50000 0 0x64>; + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 514>; + clock-names = "fck"; + dmas = <&dmac1 0x22>, <&dmac2 0x22>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 514>; + renesas,bonding = <&drif00>; + status = "disabled"; + }; + + drif10: rif at e6f60000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f60000 0 0x64>; + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 513>; + clock-names = "fck"; + dmas = <&dmac1 0x24>, <&dmac2 0x24>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 513>; + renesas,bonding = <&drif11>; + status = "disabled"; + }; + + drif11: rif at e6f70000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f70000 0 0x64>; + interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 512>; + clock-names = "fck"; + dmas = <&dmac1 0x26>, <&dmac2 0x26>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 512>; + renesas,bonding = <&drif10>; + status = "disabled"; + }; + + drif20: rif at e6f80000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f80000 0 0x64>; + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 511>; + clock-names = "fck"; + dmas = <&dmac1 0x28>, <&dmac2 0x28>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 511>; + renesas,bonding = <&drif21>; + status = "disabled"; + }; + + drif21: rif at e6f90000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f90000 0 0x64>; + interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 510>; + clock-names = "fck"; + dmas = <&dmac1 0x2a>, <&dmac2 0x2a>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 510>; + renesas,bonding = <&drif20>; + status = "disabled"; + }; + + drif30: rif at e6fa0000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fa0000 0 0x64>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 509>; + clock-names = "fck"; + dmas = <&dmac1 0x2c>, <&dmac2 0x2c>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 509>; + renesas,bonding = <&drif31>; + status = "disabled"; + }; + + drif31: rif at e6fb0000 { + compatible = "renesas,r8a7796-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fb0000 0 0x64>; + interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 508>; + clock-names = "fck"; + dmas = <&dmac1 0x2e>, <&dmac2 0x2e>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 508>; + renesas,bonding = <&drif30>; + status = "disabled"; + }; + avb: ethernet at e6800000 { compatible = "renesas,etheravb-r8a7796", "renesas,etheravb-rcar-gen3";
Signature · 1 line
2.1.4
PATCH 5/31 arm64: dts: r8a7795: Add DRIF support
In reply to Simon HormanFrom: Ramesh Shanmugasundaram <[email protected]>
Adds the DRIF controller nodes for r8a7795.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 120 +++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +120 -0
@@ -693,6 +693,126 @@ }; }; + drif00: rif at e6f40000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f40000 0 0x64>; + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 515>; + clock-names = "fck"; + dmas = <&dmac1 0x20>, <&dmac2 0x20>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 515>; + renesas,bonding = <&drif01>; + status = "disabled"; + }; + + drif01: rif at e6f50000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f50000 0 0x64>; + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 514>; + clock-names = "fck"; + dmas = <&dmac1 0x22>, <&dmac2 0x22>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 514>; + renesas,bonding = <&drif00>; + status = "disabled"; + }; + + drif10: rif at e6f60000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f60000 0 0x64>; + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 513>; + clock-names = "fck"; + dmas = <&dmac1 0x24>, <&dmac2 0x24>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 513>; + renesas,bonding = <&drif11>; + status = "disabled"; + }; + + drif11: rif at e6f70000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f70000 0 0x64>; + interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 512>; + clock-names = "fck"; + dmas = <&dmac1 0x26>, <&dmac2 0x26>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 512>; + renesas,bonding = <&drif10>; + status = "disabled"; + }; + + drif20: rif at e6f80000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f80000 0 0x64>; + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 511>; + clock-names = "fck"; + dmas = <&dmac1 0x28>, <&dmac2 0x28>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 511>; + renesas,bonding = <&drif21>; + status = "disabled"; + }; + + drif21: rif at e6f90000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f90000 0 0x64>; + interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 510>; + clock-names = "fck"; + dmas = <&dmac1 0x2a>, <&dmac2 0x2a>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 510>; + renesas,bonding = <&drif20>; + status = "disabled"; + }; + + drif30: rif at e6fa0000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fa0000 0 0x64>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 509>; + clock-names = "fck"; + dmas = <&dmac1 0x2c>, <&dmac2 0x2c>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 509>; + renesas,bonding = <&drif31>; + status = "disabled"; + }; + + drif31: rif at e6fb0000 { + compatible = "renesas,r8a7795-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fb0000 0 0x64>; + interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 508>; + clock-names = "fck"; + dmas = <&dmac1 0x2e>, <&dmac2 0x2e>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 508>; + renesas,bonding = <&drif30>; + status = "disabled"; + }; + hscif0: serial at e6540000 { compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
Signature · 1 line
2.1.4
PATCH 6/31 arm64: dts: ulcb: Enable I2C for DVFS device
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
This enables I2C for DVFS device for ULCB board
--- arch/arm64/boot/dts/renesas/ulcb.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +4 -0
@@ -189,6 +189,10 @@ }; }; +&i2c_dvfs { + status = "okay"; +}; + &ohci1 { status = "okay"; };
Signature · 1 line
2.1.4
PATCH 7/31 arm64: dts: ulcb: Enable I2C4
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
This enables I2C4 for ULCB board
--- arch/arm64/boot/dts/renesas/ulcb.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +6 -0
@@ -189,6 +189,12 @@ }; }; +&i2c4 { + status = "okay"; + + clock-frequency = <400000>; +}; + &i2c_dvfs { status = "okay"; };
Signature · 1 line
2.1.4
PATCH 8/31 arm64: dts: r8a7796: Add FCPF and FCPV instances
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The FCPs handle the interface between various IP cores and memory. Add the instances related to the FDPs and VSP2s.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +48 -0
@@ -1562,6 +1562,54 @@ /* placeholder */ }; + fcpf0: fcp at fe950000 { + compatible = "renesas,fcpf"; + reg = <0 0xfe950000 0 0x200>; + clocks = <&cpg CPG_MOD 615>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 615>; + }; + + fcpvb0: fcp at fe96f000 { + compatible = "renesas,fcpv"; + reg = <0 0xfe96f000 0 0x200>; + clocks = <&cpg CPG_MOD 607>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 607>; + }; + + fcpvi0: fcp at fe9af000 { + compatible = "renesas,fcpv"; + reg = <0 0xfe9af000 0 0x200>; + clocks = <&cpg CPG_MOD 611>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 611>; + }; + + fcpvd0: fcp at fea27000 { + compatible = "renesas,fcpv"; + reg = <0 0xfea27000 0 0x200>; + clocks = <&cpg CPG_MOD 603>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 603>; + }; + + fcpvd1: fcp at fea2f000 { + compatible = "renesas,fcpv"; + reg = <0 0xfea2f000 0 0x200>; + clocks = <&cpg CPG_MOD 602>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 602>; + }; + + fcpvd2: fcp at fea37000 { + compatible = "renesas,fcpv"; + reg = <0 0xfea37000 0 0x200>; + clocks = <&cpg CPG_MOD 601>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 601>; + }; + du: display at feb00000 { /* placeholder */
Signature · 1 line
2.1.4
PATCH 9/31 arm64: dts: r8a7796: Add VSP instances
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The r8a7796 has 5 VSP instances.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 55 ++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +55 -0
@@ -1570,6 +1570,17 @@ resets = <&cpg 615>; }; + vspb: vsp at fe960000 { + compatible = "renesas,vsp2"; + reg = <0 0xfe960000 0 0x8000>; + interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 626>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 626>; + + renesas,fcp = <&fcpvb0>; + }; + fcpvb0: fcp at fe96f000 { compatible = "renesas,fcpv"; reg = <0 0xfe96f000 0 0x200>;
@@ -1578,6 +1589,17 @@ resets = <&cpg 607>; }; + vspi0: vsp at fe9a0000 { + compatible = "renesas,vsp2"; + reg = <0 0xfe9a0000 0 0x8000>; + interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 631>; + power-domains = <&sysc R8A7796_PD_A3VC>; + resets = <&cpg 631>; + + renesas,fcp = <&fcpvi0>; + }; + fcpvi0: fcp at fe9af000 { compatible = "renesas,fcpv"; reg = <0 0xfe9af000 0 0x200>;
@@ -1586,6 +1608,17 @@ resets = <&cpg 611>; }; + vspd0: vsp at fea20000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea20000 0 0x4000>; + interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 623>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 623>; + + renesas,fcp = <&fcpvd0>; + }; + fcpvd0: fcp at fea27000 { compatible = "renesas,fcpv"; reg = <0 0xfea27000 0 0x200>;
@@ -1594,6 +1627,17 @@ resets = <&cpg 603>; }; + vspd1: vsp at fea28000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea28000 0 0x4000>; + interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 622>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 622>; + + renesas,fcp = <&fcpvd1>; + }; + fcpvd1: fcp at fea2f000 { compatible = "renesas,fcpv"; reg = <0 0xfea2f000 0 0x200>;
@@ -1602,6 +1646,17 @@ resets = <&cpg 602>; }; + vspd2: vsp at fea30000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea30000 0 0x4000>; + interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 621>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 621>; + + renesas,fcp = <&fcpvd2>; + }; + fcpvd2: fcp at fea37000 { compatible = "renesas,fcpv"; reg = <0 0xfea37000 0 0x200>;
Signature · 1 line
2.1.4
PATCH 10/31 arm64: dts: r8a7796: Add DU device to DT
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Add the DU device to r8a7796.dtsi in a disabled state.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +25 -1
@@ -1666,7 +1666,21 @@ }; du: display at feb00000 { - /* placeholder */ + compatible = "renesas,du-r8a7796"; + reg = <0 0xfeb00000 0 0x70000>, + <0 0xfeb90000 0 0x14>; + reg-names = "du", "lvds.0"; + interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 727>; + clock-names = "du.0", "du.1", "du.2", "lvds.0"; + status = "disabled"; + + vsps = <&vspd0 &vspd1 &vspd2>; ports { #address-cells = <1>;
@@ -1677,6 +1691,16 @@ du_out_rgb: endpoint { }; }; + port at 1 { + reg = <1>; + du_out_hdmi0: endpoint { + }; + }; + port at 2 { + reg = <2>; + du_out_lvds0: endpoint { + }; + }; }; };
Signature · 1 line
2.1.4
PATCH 11/31 arm64: dts: r8a7796: Add HDMI encoder instance
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Add the HDMI encoder to the R8A7796 DT in disabled state.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +26 -0
@@ -1665,6 +1665,31 @@ resets = <&cpg 601>; }; + hdmi0: hdmi at fead0000 { + compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi"; + reg = <0 0xfead0000 0 0x10000>; + interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>; + clock-names = "iahb", "isfr"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 729>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port at 0 { + reg = <0>; + dw_hdmi0_in: endpoint { + remote-endpoint = <&du_out_hdmi0>; + }; + }; + port at 1 { + reg = <1>; + }; + }; + }; + du: display at feb00000 { compatible = "renesas,du-r8a7796"; reg = <0 0xfeb00000 0 0x70000>,
@@ -1694,6 +1719,7 @@ port at 1 { reg = <1>; du_out_hdmi0: endpoint { + remote-endpoint = <&dw_hdmi0_in>; }; }; port at 2 {
Signature · 1 line
2.1.4
PATCH 12/31 arm64: dts: r8a7796: salvator-x: Add DU external dot clocks
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The DU1 external dot clock is provided by the fixed frequency clock generator X21, while the DU0 and DU2 clocks are provided by the programmable Versaclock5 clock generator.
--- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +12 -0
@@ -27,3 +27,15 @@ reg = <0x6 0x00000000 0x0 0x80000000>; }; }; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 727>, + <&versaclock5 1>, + <&x21_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", "lvds.0", + "dclkin.0", "dclkin.1", "dclkin.2"; +};
Signature · 1 line
2.1.4
PATCH 13/31 arm64: dts: r8a7796: salvator-x: Enable HDMI output
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Enable the HDMI encoder for the M3-W Salvator-X board and hook it up to the HDMI connector.
--- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +17 -0
@@ -39,3 +39,20 @@ clock-names = "du.0", "du.1", "du.2", "lvds.0", "dclkin.0", "dclkin.1", "dclkin.2"; }; + +&hdmi0 { + status = "okay"; + + ports { + port at 1 { + reg = <1>; + rcar_dw_hdmi0_out: endpoint { + remote-endpoint = <&hdmi0_con>; + }; + }; + }; +}; + +&hdmi0_con { + remote-endpoint = <&rcar_dw_hdmi0_out>; +};
Signature · 1 line
2.1.4
PATCH 14/31 arm64: dts: ulcb: Add DU external dot clock sources
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
The DU0/DU1/DU2/DU3 external dot clocks are generated by an I2C-controlled programmable clock generator.
Clock generator is available on both the H3 and M3-W ULCB boards. Add this to the ulcb.dtsi file.
--- arch/arm64/boot/dts/renesas/ulcb.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +14 -0
@@ -120,6 +120,12 @@ #clock-cells = <0>; clock-frequency = <24576000>; }; + + x23_clk: x23-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; }; &audio_clk_a {
@@ -193,6 +199,14 @@ status = "okay"; clock-frequency = <400000>; + + versaclock5: clock-generator at 6a { + compatible = "idt,5p49v5925"; + reg = <0x6a>; + #clock-cells = <1>; + clocks = <&x23_clk>; + clock-names = "xin"; + }; }; &i2c_dvfs {
Signature · 1 line
2.1.4
PATCH 15/31 arm64: dts: r8a7795: h3ulcb: Add DU external dot clocks
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
The DU0/DU1/DU2/DU3 external dot clocks are provided by the programmable Versaclock5 clock generator.
--- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +14 -0
@@ -38,3 +38,17 @@ reg = <0x7 0x00000000 0x0 0x40000000>; }; }; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 721>, + <&cpg CPG_MOD 727>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 4>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0", + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; +};
Signature · 1 line
2.1.4
PATCH 16/31 arm64: dts: r8a7796: m3ulcb: Add DU external dot clocks
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
The DU0/DU1/DU2 external dot clocks are provided by the programmable Versaclock5 clock generator.
--- arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts +12 -0
@@ -28,3 +28,15 @@ reg = <0x6 0x00000000 0x0 0x40000000>; }; }; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 727>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", "lvds.0", + "dclkin.0", "dclkin.1", "dclkin.2"; +};
Signature · 1 line
2.1.4
PATCH 17/31 arm64: dts: ulcb: Add HDMI output connector
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
The ULCB board has one HDMI output connector.
This connector is available on both the H3 and M3-W ULCB boards. Add this to the ulcb.dtsi file.
--- arch/arm64/boot/dts/renesas/ulcb.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +10 -0
@@ -34,6 +34,16 @@ clock-frequency = <11289600>; }; + hdmi0-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi0_con: endpoint { + }; + }; + }; + keyboard { compatible = "gpio-keys";
Signature · 1 line
2.1.4
PATCH 18/31 arm64: dts: ulcb: Enable HDMI output
In reply to Simon HormanFrom: Vladimir Barinov <[email protected]>
Enable the HDMI encoder for ULCB board and hook it up to the HDMI connector.
The HDMI encoder and connector are available on both the H3 and M3-W ULCB boards. Add them to the ulcb.dtsi file.
--- arch/arm64/boot/dts/renesas/ulcb.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +17 -0
@@ -169,6 +169,23 @@ clock-frequency = <32768>; }; +&hdmi0 { + status = "okay"; + + ports { + port at 1 { + reg = <1>; + rcar_dw_hdmi0_out: endpoint { + remote-endpoint = <&hdmi0_con>; + }; + }; + }; +}; + +&hdmi0_con { + remote-endpoint = <&rcar_dw_hdmi0_out>; +}; + &i2c2 { pinctrl-0 = <&i2c2_pins>; pinctrl-names = "default";
Signature · 1 line
2.1.4
PATCH 19/31 arm64: dts: r8a7795: Add support for the DU
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Add a compatible string and VSP links to the DU node. The H3 ES1.x and H3 ES2.0 are compatible save for the links to the VSPs that are described explicitly in DT, so there's no need for a new ES2-specific compatible string.
--- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 1 - arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +0 -1
@@ -79,6 +79,5 @@ }; &du { - compatible = "renesas,du-r8a7795"; vsps = <&vspd0 &vspd1 &vspd2 &vspd3>; };
arch/arm64/boot/dts/renesas/r8a7795.dtsi +2 -0
@@ -1917,6 +1917,7 @@ }; du: display at feb00000 { + compatible = "renesas,du-r8a7795"; reg = <0 0xfeb00000 0 0x80000>, <0 0xfeb90000 0 0x14>; reg-names = "du", "lvds.0";
@@ -1930,6 +1931,7 @@ <&cpg CPG_MOD 721>, <&cpg CPG_MOD 727>; clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0"; + vsps = <&vspd0 0 &vspd1 0 &vspd2 0 &vspd0 1>; status = "disabled"; ports {
Signature · 1 line
2.1.4
PATCH 20/31 arm64: dts: r8a7795: Add all MSIOF nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Add the device nodes for all MSIOF SPI controllers, incl. clocks, power domain, dma, and reset properties.
Due to a hardware erratum on R-Car H3 ES1.x, using MSIOF for SPI is only supported on ES2.0 and later.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +62 -0
@@ -898,6 +898,68 @@ status = "disabled"; }; + msiof0: spi at e6e90000 { + compatible = "renesas,msiof-r8a7795", + "renesas,rcar-gen3-msiof"; + reg = <0 0xe6e90000 0 0x0064>; + interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 211>; + dmas = <&dmac1 0x41>, <&dmac1 0x40>, + <&dmac2 0x41>, <&dmac2 0x40>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 211>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof1: spi at e6ea0000 { + compatible = "renesas,msiof-r8a7795", + "renesas,rcar-gen3-msiof"; + reg = <0 0xe6ea0000 0 0x0064>; + interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 210>; + dmas = <&dmac1 0x43>, <&dmac1 0x42>, + <&dmac2 0x43>, <&dmac2 0x42>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 210>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof2: spi at e6c00000 { + compatible = "renesas,msiof-r8a7795", + "renesas,rcar-gen3-msiof"; + reg = <0 0xe6c00000 0 0x0064>; + interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 209>; + dmas = <&dmac0 0x45>, <&dmac0 0x44>; + dma-names = "tx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 209>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof3: spi at e6c10000 { + compatible = "renesas,msiof-r8a7795", + "renesas,rcar-gen3-msiof"; + reg = <0 0xe6c10000 0 0x0064>; + interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 208>; + dmas = <&dmac0 0x47>, <&dmac0 0x46>; + dma-names = "tx", "rx"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 208>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + scif0: serial at e6e60000 { compatible = "renesas,scif-r8a7795", "renesas,rcar-gen3-scif", "renesas,scif";
Signature · 1 line
2.1.4
PATCH 21/31 arm64: dts: r8a7796: Add missing second pair of DMA names to MSIOF nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
MSIOF0 and MSIOF1 are tied to two DMA controllers through two pairs of DMA specifiers. However, the second pair of corresponding DMA names was missing.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +2 -2
@@ -999,7 +999,7 @@ clocks = <&cpg CPG_MOD 211>; dmas = <&dmac1 0x41>, <&dmac1 0x40>, <&dmac2 0x41>, <&dmac2 0x40>; - dma-names = "tx", "rx"; + dma-names = "tx", "rx", "tx", "rx"; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; resets = <&cpg 211>; #address-cells = <1>;
@@ -1015,7 +1015,7 @@ clocks = <&cpg CPG_MOD 210>; dmas = <&dmac1 0x43>, <&dmac1 0x42>, <&dmac2 0x43>, <&dmac2 0x42>; - dma-names = "tx", "rx"; + dma-names = "tx", "rx", "tx", "rx"; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; resets = <&cpg 210>; #address-cells = <1>;
Signature · 1 line
2.1.4
PATCH 22/31 arm64: dts: salvator-xs: Add VC6 clock generator
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The VC6 is an I2C-controlled programmable clock generator, used on the board to provide a display dot clock. Add it to DT.
--- arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/renesas/salvator-xs.dtsi +10 -0
@@ -18,3 +18,13 @@ &extal_clk { clock-frequency = <16640000>; }; + +&i2c4 { + versaclock6: clock-generator at 6a { + compatible = "idt,5p49v6901"; + reg = <0x6a>; + #clock-cells = <1>; + clocks = <&x23_clk>; + clock-names = "xin"; + }; +};
Signature · 1 line
2.1.4
PATCH 23/31 arm64: dts: r8a7795: salvator-xs: Connect DU dot clocks 0 and 3
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The DU dot clocks 0 and 3 are provided by the programmable VC6 clock generator. Connect them to the clock source node.
--- arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +4 -2
@@ -44,10 +44,12 @@ <&cpg CPG_MOD 722>, <&cpg CPG_MOD 721>, <&cpg CPG_MOD 727>, + <&versaclock6 1>, <&x21_clk>, - <&x22_clk>; + <&x22_clk>, + <&versaclock6 2>; clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0", - "dclkin.1", "dclkin.2"; + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; }; &ehci2 {
Signature · 1 line
2.1.4
PATCH 24/31 arm64: renesas: Add Renesas R8A77995 Kconfig support
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Add a configuration option for the R-Car D3 SoC.
Note that r8a77995 is the first Renesas "r8a<n>" SoC using a 5 digit number in its Kconfig symbol, as r8a77990 will be a different SoC.
--- arch/arm64/Kconfig.platforms | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/Kconfig.platforms +6 -0
@@ -184,6 +184,12 @@ config ARCH_R8A7796 help This enables support for the Renesas R-Car M3-W SoC. +config ARCH_R8A77995 + bool "Renesas R-Car D3 SoC Platform" + depends on ARCH_RENESAS + help + This enables support for the Renesas R-Car D3 SoC. + config ARCH_STRATIX10 bool "Altera's Stratix 10 SoCFPGA Family" help
Signature · 1 line
2.1.4
PATCH 25/31 arm64: dts: renesas: Add Renesas R8A77995 SoC support
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Basic support for the R-Car D3 SoC:
- PSCI,
- CPU,
- Cache controller,
- Main clocks and controller,
- Interrupt controller,
- Timer,
- Watchdog,
- PMU,
- Reset controller,
- Product register,
- System controller,
- UART for console.
--- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 150 ++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a77995.dtsi
arch/arm64/boot/dts/renesas/r8a77995.dtsi new file +150 -0
@@ -0,0 +1,150 @@ +/* + * Device Tree Source for the r8a77995 SoC + * + * Copyright (C) 2016 Renesas Electronics Corp. + * Copyright (C) 2017 Glider bvba + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#include <dt-bindings/clock/renesas-cpg-mssr.h> +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + compatible = "renesas,r8a77995"; + #address-cells = <2>; + #size-cells = <2>; + + psci { + compatible = "arm,psci-1.0", "arm,psci-0.2"; + method = "smc"; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + a53_0: cpu at 0 { + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0>; + device_type = "cpu"; + power-domains = <&sysc 5>; + next-level-cache = <&L2_CA53>; + enable-method = "psci"; + }; + + L2_CA53: cache-controller-1 { + compatible = "cache"; + power-domains = <&sysc 21>; + cache-unified; + cache-level = <2>; + }; + }; + + extal_clk: extal { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board */ + clock-frequency = <0>; + }; + + scif_clk: scif { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + + soc { + compatible = "simple-bus"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic: interrupt-controller at f1010000 { + compatible = "arm,gic-400"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x0 0xf1010000 0 0x1000>, + <0x0 0xf1020000 0 0x20000>, + <0x0 0xf1040000 0 0x20000>, + <0x0 0xf1060000 0 0x20000>; + interrupts = <GIC_PPI 9 + (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; + clocks = <&cpg CPG_MOD 408>; + clock-names = "clk"; + power-domains = <&sysc 32>; + resets = <&cpg 408>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <GIC_PPI 13 + (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 + (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 + (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 + (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; + }; + + rwdt: watchdog at e6020000 { + compatible = "renesas,r8a77995-wdt", + "renesas,rcar-gen3-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc 32>; + resets = <&cpg 402>; + status = "disabled"; + }; + + pmu_a53 { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; + }; + + cpg: clock-controller at e6150000 { + compatible = "renesas,r8a77995-cpg-mssr"; + reg = <0 0xe6150000 0 0x1000>; + clocks = <&extal_clk>; + clock-names = "extal"; + #clock-cells = <2>; + #power-domain-cells = <0>; + #reset-cells = <1>; + }; + + rst: reset-controller at e6160000 { + compatible = "renesas,r8a77995-rst"; + reg = <0 0xe6160000 0 0x0200>; + }; + + prr: chipid at fff00044 { + compatible = "renesas,prr"; + reg = <0 0xfff00044 0 4>; + }; + + sysc: system-controller at e6180000 { + compatible = "renesas,r8a77995-sysc"; + reg = <0 0xe6180000 0 0x0400>; + #power-domain-cells = <1>; + }; + + scif2: serial at e6e88000 { + compatible = "renesas,scif-r8a77995", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6e88000 0 64>; + interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 310>, + <&cpg CPG_CORE 16>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + power-domains = <&sysc 32>; + resets = <&cpg 310>; + status = "disabled"; + }; + }; +};
Signature · 1 line
2.1.4
PATCH 26/31 arm64: dts: renesas: Add Renesas Draak board support
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Basic support for the Renesas Draak board based on R-Car D3:
- Memory,
- Main crystal,
- Serial console,
- Watchdog.
--- arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a77995-draak.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb r8a7795-h3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb always := $(dtb-y) clean-files := *.dtb
arch/arm64/boot/dts/renesas/r8a77995-draak.dts new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH 27/31 arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
In reply to Simon HormanFrom: Kazuya Mizuguchi <[email protected]>
This patch adds the "companion" property in the EHCI ch0, ch1 and ch2 nodes to wait for the usb companion controller startup at resume.
--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +3 -0
@@ -1583,6 +1583,7 @@ clocks = <&cpg CPG_MOD 703>; phys = <&usb2_phy0>; phy-names = "usb"; + companion= <&ohci0>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 703>; status = "disabled";
@@ -1595,6 +1596,7 @@ clocks = <&cpg CPG_MOD 702>; phys = <&usb2_phy1>; phy-names = "usb"; + companion= <&ohci1>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 702>; status = "disabled";
@@ -1607,6 +1609,7 @@ clocks = <&cpg CPG_MOD 701>; phys = <&usb2_phy2>; phy-names = "usb"; + companion= <&ohci2>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 701>; status = "disabled";
Signature · 1 line
2.1.4
PATCH 27/31 arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
Quoted 36 lines · Simon Horman
From: Kazuya Mizuguchi <[email protected]>
This patch adds the "companion" property in the EHCI ch0, ch1 and ch2 nodes to wait for the usb companion controller startup at resume.
Signed-off-by Kazuya Mizuguchi <[email protected]>Signed-off-by Takeshi Kihara <[email protected]>[remove ch3 node and revise the commit log]Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/renesas/r8a7795.dtsi +2
-0@@ -1583,6 +1583,7 @@ clocks = <&cpg CPG_MOD 703>; phys = <&usb2_phy0>; phy-names = "usb"; + companion= <&ohci0>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 703>; status = "disabled";@@ -1595,6 +1596,7 @@ clocks = <&cpg CPG_MOD 702>; phys = <&usb2_phy1>; phy-names = "usb"; + companion= <&ohci1>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 702>; status = "disabled";
arch/arm64/boot/dts/renesas/r8a7795.dtsi line 1615
Quoted 7 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi +1
-0@@ -1607,6 +1609,7 @@ clocks = <&cpg CPG_MOD 701>; phys = <&usb2_phy2>; phy-names = "usb"; + companion= <&ohci2>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 701>; status = "disabled";
Looks like a space before = is missing in all 3 cases.
MBR, Sergei
PATCH 27/31 arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
Quoted 39 lines · Sergei Shtylyov
Quoted 37 lines · Simon Horman
From: Kazuya Mizuguchi <[email protected]>
This patch adds the "companion" property in the EHCI ch0, ch1 and ch2 nodes to wait for the usb companion controller startup at resume.
Signed-off-by Kazuya Mizuguchi <[email protected]>Signed-off-by Takeshi Kihara <[email protected]>[remove ch3 node and revise the commit log]Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/renesas/r8a7795.dtsi +2
-0@@ -1583,6 +1583,7 @@ clocks = <&cpg CPG_MOD 703>; phys = <&usb2_phy0>; phy-names = "usb"; + companion= <&ohci0>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 703>; status = "disabled";@@ -1595,6 +1596,7 @@ clocks = <&cpg CPG_MOD 702>; phys = <&usb2_phy1>; phy-names = "usb"; + companion= <&ohci1>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 702>; status = "disabled";@@ -1607,6 +1609,7 @@ clocks = <&cpg CPG_MOD 701>;
Quoted 8 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi line 1615
Quoted 6 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi +1
-0phys = <&usb2_phy2>; phy-names = "usb"; + companion= <&ohci2>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 701>; status = "disabled";Looks like a space before = is missing in all 3 cases.
Thanks.
I'll post a follow-up patch for that. I don't think it warrants respinning this pull request at this point.
PATCH 27/31 arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
Quoted 49 lines · Simon Horman
Quoted 39 lines · Sergei Shtylyov
Quoted 37 lines · Simon Horman
From: Kazuya Mizuguchi <[email protected]>
This patch adds the "companion" property in the EHCI ch0, ch1 and ch2 nodes to wait for the usb companion controller startup at resume.
Signed-off-by Kazuya Mizuguchi <[email protected]>Signed-off-by Takeshi Kihara <[email protected]>[remove ch3 node and revise the commit log]Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/renesas/r8a7795.dtsi +2
-0@@ -1583,6 +1583,7 @@ clocks = <&cpg CPG_MOD 703>; phys = <&usb2_phy0>; phy-names = "usb"; + companion= <&ohci0>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 703>; status = "disabled";@@ -1595,6 +1596,7 @@ clocks = <&cpg CPG_MOD 702>; phys = <&usb2_phy1>; phy-names = "usb"; + companion= <&ohci1>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 702>; status = "disabled";@@ -1607,6 +1609,7 @@ clocks = <&cpg CPG_MOD 701>;Quoted 8 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi line 1615
Quoted 6 lines
arch/arm64/boot/dts/renesas/r8a7795.dtsi +1
-0phys = <&usb2_phy2>; phy-names = "usb"; + companion= <&ohci2>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 701>; status = "disabled";Looks like a space before = is missing in all 3 cases.
Quoted 4 lines
Thanks.
I'll post a follow-up patch for that. I don't think it warrants respinning this pull request at this point.
Follow-up sent as
[PATCH] arm64: dts: renesas: r8a7795: correct whitespace of companion property
PATCH 28/31 arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds support for usb3_phy ch3 device node for R-Car H3 ES2.0.
--- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12 ++++++++++++ 2 files changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +2 -0
@@ -21,6 +21,8 @@ status = "disabled"; }; + /delete-node/ usb-phy at ee0e0200; + fcpf2: fcp at fe952000 { compatible = "renesas,fcpf"; reg = <0 0xfe952000 0 0x200>;
arch/arm64/boot/dts/renesas/r8a7795.dtsi +12 -0
@@ -1576,6 +1576,18 @@ status = "disabled"; }; + usb2_phy3: usb-phy at ee0e0200 { + compatible = "renesas,usb2-phy-r8a7795", + "renesas,rcar-gen3-usb2-phy"; + reg = <0 0xee0e0200 0 0x700>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + #phy-cells = <0>; + status = "disabled"; + }; + ehci0: usb at ee080100 { compatible = "generic-ehci"; reg = <0 0xee080100 0 0x100>;
Signature · 1 line
2.1.4
PATCH 29/31 arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds support for usb2.0 host ch3 device nodes for R-Car H3 ES2.0.
--- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +2 -0
@@ -22,6 +22,8 @@ }; /delete-node/ usb-phy at ee0e0200; + /delete-node/ usb at ee0e0100; + /delete-node/ usb at ee0e0000; fcpf2: fcp at fe952000 { compatible = "renesas,fcpf";
arch/arm64/boot/dts/renesas/r8a7795.dtsi +25 -0
@@ -1627,6 +1627,19 @@ status = "disabled"; }; + ehci3: usb at ee0e0100 { + compatible = "generic-ehci"; + reg = <0 0xee0e0100 0 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + phys = <&usb2_phy3>; + phy-names = "usb"; + companion= <&ohci3>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + status = "disabled"; + }; + ohci0: usb at ee080000 { compatible = "generic-ohci"; reg = <0 0xee080000 0 0x100>;
@@ -1663,6 +1676,18 @@ status = "disabled"; }; + ohci3: usb at ee0e0000 { + compatible = "generic-ohci"; + reg = <0 0xee0e0000 0 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + phys = <&usb2_phy3>; + phy-names = "usb"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + status = "disabled"; + }; + hsusb: usb at e6590000 { compatible = "renesas,usbhs-r8a7795", "renesas,rcar-gen3-usbhs";
Signature · 1 line
2.1.4
PATCH 30/31 arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds support for usb-dmac ch2 and ch3 device nodes for R-Car H3 ES2.0.
--- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 3 +++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +3 -0
@@ -25,6 +25,9 @@ /delete-node/ usb at ee0e0100; /delete-node/ usb at ee0e0000; + /delete-node/ dma-controller at e6460000; + /delete-node/ dma-controller at e6470000; + fcpf2: fcp at fe952000 { compatible = "renesas,fcpf"; reg = <0 0xfe952000 0 0x200>;
arch/arm64/boot/dts/renesas/r8a7795.dtsi +28 -0
@@ -1498,6 +1498,34 @@ dma-channels = <2>; }; + usb_dmac2: dma-controller at e6460000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe6460000 0 0x100>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 326>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 326>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac3: dma-controller at e6470000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe6470000 0 0x100>; + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 329>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 329>; + #dma-cells = <1>; + dma-channels = <2>; + }; + sdhi0: sd at ee100000 { compatible = "renesas,sdhi-r8a7795"; reg = <0 0xee100000 0 0x2000>;
Signature · 1 line
2.1.4
PATCH 31/31 arm64: dts: renesas: r8a7795: add hsusb ch3 device node
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds support for hsusb ch3 device nodes for R-Car H3 ES2.0.
--- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 1 + arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++++++++++++++++ 2 files changed, 18 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +1 -0
@@ -24,6 +24,7 @@ /delete-node/ usb-phy at ee0e0200; /delete-node/ usb at ee0e0100; /delete-node/ usb at ee0e0000; + /delete-node/ usb at e659c000; /delete-node/ dma-controller at e6460000; /delete-node/ dma-controller at e6470000;
arch/arm64/boot/dts/renesas/r8a7795.dtsi +17 -0
@@ -1733,6 +1733,23 @@ status = "disabled"; }; + hsusb3: usb at e659c000 { + compatible = "renesas,usbhs-r8a7795", + "renesas,rcar-gen3-usbhs"; + reg = <0 0xe659c000 0 0x100>; + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 705>; + dmas = <&usb_dmac2 0>, <&usb_dmac2 1>, + <&usb_dmac3 0>, <&usb_dmac3 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; + renesas,buswait = <11>; + phys = <&usb2_phy3>; + phy-names = "usb"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 705>; + status = "disabled"; + }; + pciec0: pcie at fe000000 { compatible = "renesas,pcie-r8a7795", "renesas,pcie-rcar-gen3";
Signature · 1 line
2.1.4
Quoted 45 lines · Simon Horman
----------------------------------------------------------------
Renesas ARM64 Based SoC DT Updates for v4.14* Add usb2.0 for R-Car H3 (r8a7795) ES2.0 SoC
* Add R-Car D3 (r8a77995) SoC and Draak board support
Adds minimal support for the R-Car D3 SoC and the Draak development board, allowing to boot from a ramdisk using a serial console.
* Add Add VC6 clock generator to R-Car H3 (r8a7795)/Salvator-XS board
The VC6 is an I2C-controlled programmable clock generator, used on the board to provide a display dot clock. Add it to DT.
* Add missing second pair of DMA names to MSIOF nodes to R-Car M3-W (r8a7796) SoC
MSIOF0 and MSIOF1 are tied to two DMA controllers through two pairs of DMA specifiers. However, the second pair of corresponding DMA names was missing.
* Add support for the DU to R-Car H3 (r8a7795) SoC
Add a compatible string and VSP links to the DU node. The H3 ES1.x and H3 ES2.0 are compatible save for the links to the VSPs that are described explicitly in DT, so there's no need for a new ES2-specific compatible string.
* Enable HDMI on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
* Enable DU on R-Car M3-W (r8a7796) Salvator-X board
* Enable I2C for DVFS on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
* Add Add DRIF support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
Ramesh Shanmugasundaram says, "R-Car Gen3 DRIF is a SPI like receive only slave device."
* Move
CPG_AUDIO_CLK_Ifrom board to soc filesGeert Uytterhoeven says, "The definition of
CPG_AUDIO_CLK_Iis SoC-specific, not board-specific."
Quoted 7 lines
* Add IMR-LX4 support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
Sergei Shtylyov says, "The image renderer light extended 4 (IMR-LX4) or the distortion correction engine is a drawing processor with a simple instruction system capable of referencing data on an external memory as 2D texture data and performing texture mapping and drawing with respect to any shape that is split into triangular objects."
Pulled into next/dt64, thanks!
Arnd