* [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support
@ 2019-03-22 9:56 Biju Das
2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw)
To: cip-dev
This patch series add Ethernet/Watchdog support for EK874 platform.
This patch series is based on linux-4.19.y-cip and all the patches
in this series are cherry-picked from linux rc tree.
This patch series is depend on the below patch series
https://patchwork.kernel.org/patch/10865441/
Biju Das (1):
arm64: dts: renesas: cat875: Add ethernet support
Fabrizio Castro (4):
dt-bindings: net: ravb: Add support for r8a774c0 SoC
arm64: dts: renesas: r8a774c0: Add Ethernet AVB node
dt-bindings: watchdog: renesas-wdt: Document r8a774c0 support
arm64: dts: renesas: r8a774c0: Add watchdog support
.../devicetree/bindings/net/renesas,ravb.txt | 1 +
.../devicetree/bindings/watchdog/renesas-wdt.txt | 1 +
arch/arm64/boot/dts/renesas/cat875.dtsi | 30 ++++++++++++
arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 55 ++++++++++++++++++++++
4 files changed, 87 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread* [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das @ 2019-03-22 9:56 ` Biju Das 2019-04-09 20:54 ` Pavel Machek 2019-04-11 10:28 ` Pavel Machek 2019-03-22 9:56 ` [cip-dev] [PATCH 2/5] arm64: dts: renesas: r8a774c0: Add Ethernet AVB node Biju Das ` (3 subsequent siblings) 4 siblings, 2 replies; 8+ messages in thread From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw) To: cip-dev From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Document RZ/G2E (R8A774C0) SoC bindings. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net> (cherry picked from commit 1811caa0cf91320baff40c82cbb157c772cfd365) Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/renesas,ravb.txt b/Documentation/devicetree/bindings/net/renesas,ravb.txt index da249b7..9e3d768 100644 --- a/Documentation/devicetree/bindings/net/renesas,ravb.txt +++ b/Documentation/devicetree/bindings/net/renesas,ravb.txt @@ -17,6 +17,7 @@ Required properties: R-Car Gen2 and RZ/G1 devices. - "renesas,etheravb-r8a774a1" for the R8A774A1 SoC. + - "renesas,etheravb-r8a774c0" for the R8A774C0 SoC. - "renesas,etheravb-r8a7795" for the R8A7795 SoC. - "renesas,etheravb-r8a7796" for the R8A7796 SoC. - "renesas,etheravb-r8a77965" for the R8A77965 SoC. -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC 2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das @ 2019-04-09 20:54 ` Pavel Machek 2019-04-11 10:28 ` Pavel Machek 1 sibling, 0 replies; 8+ messages in thread From: Pavel Machek @ 2019-04-09 20:54 UTC (permalink / raw) To: cip-dev On Fri 2019-03-22 09:56:17, Biju Das wrote: > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > > Document RZ/G2E (R8A774C0) SoC bindings. This one rejected when I tried applying it. Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany ^ permalink raw reply [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC 2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das 2019-04-09 20:54 ` Pavel Machek @ 2019-04-11 10:28 ` Pavel Machek 1 sibling, 0 replies; 8+ messages in thread From: Pavel Machek @ 2019-04-11 10:28 UTC (permalink / raw) To: cip-dev On Fri 2019-03-22 09:56:17, Biju Das wrote: > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > Reviewed-by: Simon Horman <horms+renesas@verge.net.au> > Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > Signed-off-by: David S. Miller <davem@davemloft.net> > (cherry picked from commit 1811caa0cf91320baff40c82cbb157c772cfd365) > Signed-off-by: Biju Das <biju.das@bp.renesas.com> Thanks, I applied the series. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20190411/0388fa0b/attachment.sig> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 2/5] arm64: dts: renesas: r8a774c0: Add Ethernet AVB node 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das @ 2019-03-22 9:56 ` Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 3/5] arm64: dts: renesas: cat875: Add ethernet support Biju Das ` (2 subsequent siblings) 4 siblings, 0 replies; 8+ messages in thread From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw) To: cip-dev From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> This patch adds the SoC specific part of the Ethernet AVB device tree node. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> (cherry picked from commit 2f71109eef53e3396510afb724358be91e2eb5c9) Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi index e354b8011..e98f209 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi @@ -451,6 +451,51 @@ dma-channels = <16>; }; + avb: ethernet at e6800000 { + compatible = "renesas,etheravb-r8a774c0", + "renesas,etheravb-rcar-gen3"; + reg = <0 0xe6800000 0 0x800>; + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15", + "ch16", "ch17", "ch18", "ch19", + "ch20", "ch21", "ch22", "ch23", + "ch24"; + clocks = <&cpg CPG_MOD 812>; + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; + resets = <&cpg 812>; + phy-mode = "rgmii"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + scif0: serial at e6e60000 { compatible = "renesas,scif-r8a774c0", "renesas,rcar-gen3-scif", "renesas,scif"; -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 3/5] arm64: dts: renesas: cat875: Add ethernet support 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 2/5] arm64: dts: renesas: r8a774c0: Add Ethernet AVB node Biju Das @ 2019-03-22 9:56 ` Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 4/5] dt-bindings: watchdog: renesas-wdt: Document r8a774c0 support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 5/5] arm64: dts: renesas: r8a774c0: Add watchdog support Biju Das 4 siblings, 0 replies; 8+ messages in thread From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw) To: cip-dev This patch adds ethernet support to the sub board. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> (cherry picked from commit 6b170cd3ed02949f33fb8b6898b3b31ae5e87716) Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- arch/arm64/boot/dts/renesas/cat875.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/cat875.dtsi b/arch/arm64/boot/dts/renesas/cat875.dtsi index a41d0d8..805ffa7 100644 --- a/arch/arm64/boot/dts/renesas/cat875.dtsi +++ b/arch/arm64/boot/dts/renesas/cat875.dtsi @@ -7,4 +7,34 @@ / { model = "Silicon Linux sub board for CAT874 (CAT875)"; + + aliases { + ethernet0 = &avb; + }; +}; + +&avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + renesas,no-ether-link; + phy-handle = <&phy0>; + phy-mode = "rgmii"; + status = "okay"; + + phy0: ethernet-phy at 0 { + rxc-skew-ps = <1500>; + reg = <0>; + interrupt-parent = <&gpio2>; + interrupts = <21 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; + }; +}; + +&pfc { + avb_pins: avb { + mux { + groups = "avb_mii"; + function = "avb"; + }; + }; }; -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 4/5] dt-bindings: watchdog: renesas-wdt: Document r8a774c0 support 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das ` (2 preceding siblings ...) 2019-03-22 9:56 ` [cip-dev] [PATCH 3/5] arm64: dts: renesas: cat875: Add ethernet support Biju Das @ 2019-03-22 9:56 ` Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 5/5] arm64: dts: renesas: r8a774c0: Add watchdog support Biju Das 4 siblings, 0 replies; 8+ messages in thread From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw) To: cip-dev From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> RZ/G2E (R8A774C0) watchdog implementation is compatible with R-Car Gen3, therefore add relevant documentation. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org> (cherry picked from commit 6797f292e4f59211c1763de87a69c9a55fd9caef) Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- Documentation/devicetree/bindings/watchdog/renesas-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt index 9407212..2c0b03a 100644 --- a/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt @@ -8,6 +8,7 @@ Required properties: - "renesas,r8a7743-wdt" (RZ/G1M) - "renesas,r8a7745-wdt" (RZ/G1E) - "renesas,r8a774a1-wdt" (RZ/G2M) + - "renesas,r8a774c0-wdt" (RZ/G2E) - "renesas,r8a7790-wdt" (R-Car H2) - "renesas,r8a7791-wdt" (R-Car M2-W) - "renesas,r8a7792-wdt" (R-Car V2H) -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 5/5] arm64: dts: renesas: r8a774c0: Add watchdog support 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das ` (3 preceding siblings ...) 2019-03-22 9:56 ` [cip-dev] [PATCH 4/5] dt-bindings: watchdog: renesas-wdt: Document r8a774c0 support Biju Das @ 2019-03-22 9:56 ` Biju Das 4 siblings, 0 replies; 8+ messages in thread From: Biju Das @ 2019-03-22 9:56 UTC (permalink / raw) To: cip-dev From: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Add watchdog support to the RZ/G2E (a.k.a. R8A774C0) SoC specific device tree. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> (cherry picked from commit 8d68821ced28391551b5e2014de4b1bf461b667e) Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi index e98f209..96a71e3 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi @@ -114,6 +114,16 @@ #size-cells = <2>; ranges; + rwdt: watchdog at e6020000 { + compatible = "renesas,r8a774c0-wdt", + "renesas,rcar-gen3-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled"; + }; + gpio0: gpio at e6050000 { compatible = "renesas,gpio-r8a774c0", "renesas,rcar-gen3-gpio"; -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-04-11 10:28 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-03-22 9:56 [cip-dev] [PATCH 0/5] Add Ethernet/Watchdog support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 1/5] dt-bindings: net: ravb: Add support for r8a774c0 SoC Biju Das 2019-04-09 20:54 ` Pavel Machek 2019-04-11 10:28 ` Pavel Machek 2019-03-22 9:56 ` [cip-dev] [PATCH 2/5] arm64: dts: renesas: r8a774c0: Add Ethernet AVB node Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 3/5] arm64: dts: renesas: cat875: Add ethernet support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 4/5] dt-bindings: watchdog: renesas-wdt: Document r8a774c0 support Biju Das 2019-03-22 9:56 ` [cip-dev] [PATCH 5/5] arm64: dts: renesas: r8a774c0: Add watchdog support Biju Das
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox