* [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
@ 2025-03-30 19:56 Marek Vasut
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
` (5 more replies)
0 siblings, 6 replies; 16+ messages in thread
From: Marek Vasut @ 2025-03-30 19:56 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Krzysztof Wilczyński, Rafał Miłecki,
Aradhya Bhatia, Bjorn Helgaas, Conor Dooley, Geert Uytterhoeven,
Heiko Stuebner, Junhao Xie, Kever Yang, Krzysztof Kozlowski,
Kuninori Morimoto, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
UART and JTAG.
The board uses split clock for PCIe controller and device, which requires
slight extension of rcar-gen4-pci-host.yaml DT schema, to cover this kind
of description. The DWC PCIe controller driver already supports this mode
of clock operation, hence no driver change is needed.
Marek Vasut (4):
dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk
board support
arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk
board support
.../bindings/pci/rcar-gen4-pci-host.yaml | 8 +-
.../bindings/soc/renesas/renesas.yaml | 7 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm64/boot/dts/renesas/Makefile | 2 +
.../dts/renesas/r8a779g3-sparrow-hawk.dts | 671 ++++++++++++++++++
5 files changed, 687 insertions(+), 3 deletions(-)
create mode 100644 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
---
Cc: "Krzysztof Wilczyński" <kw@linux.com>
Cc: "Rafał Miłecki" <rafal@milecki.pl>
Cc: Aradhya Bhatia <a-bhatia1@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Junhao Xie <bigfoot@classfun.cn>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
--
2.47.2
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
@ 2025-03-30 19:56 ` Marek Vasut
2025-03-31 8:19 ` Krzysztof Kozlowski
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
` (4 subsequent siblings)
5 siblings, 1 reply; 16+ messages in thread
From: Marek Vasut @ 2025-03-30 19:56 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Krzysztof Wilczyński, Rafał Miłecki,
Aradhya Bhatia, Bjorn Helgaas, Conor Dooley, Geert Uytterhoeven,
Heiko Stuebner, Junhao Xie, Kever Yang, Krzysztof Kozlowski,
Kuninori Morimoto, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Document 'aux' clock which are used to supply the PCIe bus. This
is useful in case of a hardware setup, where the PCIe controller
input clock and the PCIe bus clock are supplied from the same
clock synthesiser, but from different differential clock outputs:
____________ _____________
| R-Car PCIe | | PCIe device |
| | | |
| PCIe RX<|==================|>PCIe TX |
| PCIe TX<|==================|>PCIe RX |
| | | |
| PCIe CLK<|======.. ..======|>PCIe CLK |
'------------' || || '-------------'
|| ||
____________ || ||
| 9FGV0441 | || ||
| | || ||
| CLK DIF0<|======'' ||
| CLK DIF1<|==========''
| CLK DIF2<|
| CLK DIF3<|
'------------'
The clock are named 'aux' because those are one of the clock listed in
Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml which
fit closest to the PCIe bus clock. According to that binding document,
the 'aux' clock describe clock which supply the PMC domain, which is
likely PCIe Mezzanine Card domain.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
NOTE: Shall we patch Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml
instead and add 'bus' clock outright ?
---
Cc: "Krzysztof Wilczyński" <kw@linux.com>
Cc: "Rafał Miłecki" <rafal@milecki.pl>
Cc: Aradhya Bhatia <a-bhatia1@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Junhao Xie <bigfoot@classfun.cn>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
.../devicetree/bindings/pci/rcar-gen4-pci-host.yaml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
index bb3f843c59d91..5e2624d4c62c7 100644
--- a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
+++ b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
@@ -46,12 +46,14 @@ properties:
- const: app
clocks:
- maxItems: 2
+ minItems: 2
+ maxItems: 3
clock-names:
items:
- const: core
- const: ref
+ - const: aux
power-domains:
maxItems: 1
@@ -105,8 +107,8 @@ examples:
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "msi", "dma", "sft_ce", "app";
- clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>;
- clock-names = "core", "ref";
+ clocks = <&cpg CPG_MOD 624>, <&pcie0_clkref>, <&pcie0_clkgen>;
+ clock-names = "core", "ref", "aux";
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
resets = <&cpg 624>;
reset-names = "pwr";
--
2.47.2
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
@ 2025-03-30 19:56 ` Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-31 10:02 ` Geert Uytterhoeven
2025-03-30 19:56 ` [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
` (3 subsequent siblings)
5 siblings, 2 replies; 16+ messages in thread
From: Marek Vasut @ 2025-03-30 19:56 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Krzysztof Wilczyński, Rafał Miłecki,
Aradhya Bhatia, Bjorn Helgaas, Conor Dooley, Geert Uytterhoeven,
Heiko Stuebner, Junhao Xie, Kever Yang, Krzysztof Kozlowski,
Kuninori Morimoto, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Add vendor prefix for Retronix Technology Inc.
https://www.retronix.com.tw/en/about.html
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: "Krzysztof Wilczyński" <kw@linux.com>
Cc: "Rafał Miłecki" <rafal@milecki.pl>
Cc: Aradhya Bhatia <a-bhatia1@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Junhao Xie <bigfoot@classfun.cn>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 86f6a19b28ae2..2b1bf6709aac7 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1262,6 +1262,8 @@ patternProperties:
description: Renesas Electronics Corporation
"^rervision,.*":
description: Shenzhen Rervision Technology Co., Ltd.
+ "^retronix,.*":
+ description: Retronix Technology Inc.
"^revotics,.*":
description: Revolution Robotics, Inc. (Revotics)
"^rex,.*":
--
2.47.2
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
@ 2025-03-30 19:56 ` Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
` (2 subsequent siblings)
5 siblings, 1 reply; 16+ messages in thread
From: Marek Vasut @ 2025-03-30 19:56 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Krzysztof Wilczyński, Rafał Miłecki,
Aradhya Bhatia, Bjorn Helgaas, Conor Dooley, Geert Uytterhoeven,
Heiko Stuebner, Junhao Xie, Kever Yang, Krzysztof Kozlowski,
Kuninori Morimoto, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Document Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0
(R8A779G3) SoC. This is a single-board computer with single gigabit ethernet,
DSI-to-eDP bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports,
micro SD card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD,
debug UART and JTAG.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: "Krzysztof Wilczyński" <kw@linux.com>
Cc: "Rafał Miłecki" <rafal@milecki.pl>
Cc: Aradhya Bhatia <a-bhatia1@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Junhao Xie <bigfoot@classfun.cn>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
index 51a4c48eea6d7..201088277514d 100644
--- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
+++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
@@ -375,6 +375,13 @@ properties:
- renesas,r8a779g3 # ES3.x
- const: renesas,r8a779g0
+ - description: R-Car V4H (R8A779G3)
+ items:
+ - enum:
+ - retronix,sparrow-hawk # Sparrow Hawk board
+ - const: renesas,r8a779g3 # ES3.x
+ - const: renesas,r8a779g0
+
- description: R-Car V4M (R8A779H0)
items:
- enum:
--
2.47.2
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
` (2 preceding siblings ...)
2025-03-30 19:56 ` [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
@ 2025-03-30 19:56 ` Marek Vasut
2025-03-31 0:27 ` Kuninori Morimoto
2025-04-01 9:49 ` Geert Uytterhoeven
2025-03-31 10:05 ` [PATCH 0/4] " Niklas Söderlund
2025-03-31 13:32 ` Rob Herring (Arm)
5 siblings, 2 replies; 16+ messages in thread
From: Marek Vasut @ 2025-03-30 19:56 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Krzysztof Wilczyński, Rafał Miłecki,
Aradhya Bhatia, Bjorn Helgaas, Conor Dooley, Geert Uytterhoeven,
Heiko Stuebner, Junhao Xie, Kever Yang, Krzysztof Kozlowski,
Kuninori Morimoto, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
UART and JTAG.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: "Krzysztof Wilczyński" <kw@linux.com>
Cc: "Rafał Miłecki" <rafal@milecki.pl>
Cc: Aradhya Bhatia <a-bhatia1@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Junhao Xie <bigfoot@classfun.cn>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
arch/arm64/boot/dts/renesas/Makefile | 2 +
.../dts/renesas/r8a779g3-sparrow-hawk.dts | 671 ++++++++++++++++++
2 files changed, 673 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index d25e665ee4bfb..8bed8069a007e 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -94,6 +94,8 @@ dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g2-white-hawk-single.dtb
r8a779g2-white-hawk-single-ard-audio-da7212-dtbs := r8a779g2-white-hawk-single.dtb white-hawk-ard-audio-da7212.dtbo
dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g2-white-hawk-single-ard-audio-da7212.dtb
+dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g3-sparrow-hawk.dtb
+
dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g3-white-hawk-single.dtb
r8a779g3-white-hawk-single-ard-audio-da7212-dtbs := r8a779g3-white-hawk-single.dtb white-hawk-ard-audio-da7212.dtbo
dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g3-white-hawk-single-ard-audio-da7212.dtb
diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
new file mode 100644
index 0000000000000..33df5af85f551
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
@@ -0,0 +1,671 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Device Tree Source for the R-Car V4H ES3.0 Sparrow Hawk board
+ *
+ * Copyright (C) 2025 Marek Vasut <marek.vasut+renesas@mailbox.org>
+ */
+
+/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+
+#include "r8a779g3.dtsi"
+
+/ {
+ model = "Retronix Sparrow Hawk board based on r8a779g3";
+ compatible = "retronix,sparrow-hawk", "renesas,r8a779g3",
+ "renesas,r8a779g0";
+
+ aliases {
+ ethernet0 = &avb0;
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
+ i2c3 = &i2c3;
+ i2c4 = &i2c4;
+ i2c5 = &i2c5;
+ serial0 = &hscif0;
+ spi0 = &rpc;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
+ stdout-path = "serial0:921600n8";
+ };
+
+ /* Page 31 / FAN */
+ fan: pwm-fan {
+ pinctrl-0 = <&irq4_pins>;
+ pinctrl-names = "default";
+ compatible = "pwm-fan";
+ #cooling-cells = <2>;
+ cooling-levels = <0 50 100 150 200 255>;
+ pwms = <&pwm0 0 50000>;
+ pulses-per-revolution = <2>;
+ interrupts-extended = <&intc_ex 4 IRQ_TYPE_EDGE_FALLING>;
+ /* No FAN connected by default. */
+ status = "disabled";
+ };
+
+ /*
+ * Page 15 / LPDDR5
+ *
+ * This configuration listed below is for the 8 GiB board variant
+ * with MT62F1G64D8EK-023 WT:C LPDDR5 part populated on the board.
+ *
+ * A variant with 16 GiB MT62F2G64D8EK-023 WT:C part populated on
+ * the board is automatically handled by the bootloader, which
+ * adjusts the correct DRAM size into the memory nodes below.
+ */
+ memory@48000000 {
+ device_type = "memory";
+ /* first 128MB is reserved for secure area. */
+ reg = <0x0 0x48000000 0x0 0x78000000>;
+ };
+
+ memory@480000000 {
+ device_type = "memory";
+ reg = <0x4 0x80000000 0x0 0x80000000>;
+ };
+
+ memory@600000000 {
+ device_type = "memory";
+ reg = <0x6 0x00000000 0x1 0x00000000>;
+ };
+
+ /* Page 27 / DSI to Display */
+ mini-dp-con {
+ compatible = "dp-connector";
+ label = "CN6";
+ type = "full-size";
+
+ port {
+ mini_dp_con_in: endpoint {
+ remote-endpoint = <&sn65dsi86_out>;
+ };
+ };
+ };
+
+ reg_1p2v: regulator-1p2v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-1.2V";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ reg_1p8v: regulator-1p8v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-1.8V";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ reg_3p3v: regulator-3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ /* Page 27 / DSI to Display */
+ sn65dsi86_refclk: clk-x9 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <38400000>;
+ };
+
+ /* Page 26 / PCIe.0/1 CLK */
+ pcie_refclk: clk-x8 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ };
+
+ /* Page 17 uSD-Slot */
+ vcc_sdhi: regulator-vcc-sdhi {
+ compatible = "regulator-gpio";
+ regulator-name = "SDHI VccQ";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ gpios = <&gpio8 13 GPIO_ACTIVE_HIGH>;
+ gpios-states = <1>;
+ states = <3300000 0>, <1800000 1>;
+ };
+};
+
+/* Page 22 / Ether_AVB0 */
+&avb0 {
+ pinctrl-0 = <&avb0_pins>;
+ pinctrl-names = "default";
+ phy-handle = <&avb0_phy>;
+ tx-internal-delay-ps = <2000>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ avb0_phy: ethernet-phy@0 { /* KSZ9031RNXVB */
+ compatible = "ethernet-phy-id0022.1622",
+ "ethernet-phy-ieee802.3-c22";
+ rxc-skew-ps = <1500>;
+ reg = <0>;
+ /* AVB0_PHY_INT_V */
+ interrupts-extended = <&gpio7 5 IRQ_TYPE_LEVEL_LOW>;
+ /* GP7_10/AVB0_RESETN_V */
+ reset-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <300>;
+ };
+ };
+};
+
+/* Page 28 / CANFD_IF */
+&can_clk {
+ clock-frequency = <40000000>;
+};
+
+/* Page 28 / CANFD_IF */
+&canfd {
+ pinctrl-0 = <&canfd3_pins>, <&canfd4_pins>, <&can_clk_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ channel3 {
+ status = "okay";
+ };
+
+ channel4 {
+ status = "okay";
+ };
+};
+
+/* Page 27 / DSI to Display */
+&dsi1 {
+ status = "okay";
+
+ ports {
+ port@1 {
+ dsi1_out: endpoint {
+ remote-endpoint = <&sn65dsi86_in>;
+ data-lanes = <1 2 3 4>;
+ };
+ };
+ };
+};
+
+/* Page 27 / DSI to Display */
+&du {
+ status = "okay";
+};
+
+/* Page 5 / R-Car V4H_INT_I2C */
+&extal_clk { /* X3 */
+ clock-frequency = <16666666>;
+};
+
+/* Page 5 / R-Car V4H_INT_I2C */
+&extalr_clk { /* X2 */
+ clock-frequency = <32768>;
+};
+
+/* Page 26 / 2230 Key M M.2 */
+&gpio4 {
+ /* 9FGV0441 nOE inputs 0 and 1 */
+ pcie-m2-oe-hog {
+ gpio-hog;
+ gpios = <21 GPIO_ACTIVE_HIGH>;
+ output-low;
+ line-name = "PCIe-CLK-nOE-M2";
+ };
+
+ /* 9FGV0441 nOE inputs 2 and 3 */
+ pcie-usb-oe-hog {
+ gpio-hog;
+ gpios = <22 GPIO_ACTIVE_HIGH>;
+ output-low;
+ line-name = "PCIe-CLK-nOE-USB";
+ };
+};
+
+/* Page 23 / DEBUG */
+&hscif0 { /* FTDI ADBUS[3:0] */
+ pinctrl-0 = <&hscif0_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+ bootph-all;
+
+ status = "okay";
+};
+
+/* Page 23 / DEBUG */
+&hscif1 { /* FTDI BDBUS[3:0] */
+ pinctrl-0 = <&hscif1_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+
+ status = "okay";
+};
+
+/* Page 24 / UART */
+&hscif3 { /* CN7 pins 8 (TX) and 10 (RX) */
+ pinctrl-0 = <&hscif3_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+/* Page 24 / I2C SWITCH */
+&i2c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c0_pins>;
+ pinctrl-names = "default";
+ clock-frequency = <400000>;
+ status = "okay";
+
+ mux@71 {
+ compatible = "nxp,pca9544"; /* TCA9544 */
+ reg = <0x71>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ vdd-supply = <®_3p3v>;
+
+ i2c0_mux0: i2c@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* Page 27 / DSI to Display */
+ bridge@2c {
+ pinctrl-0 = <&irq0_pins>;
+ pinctrl-names = "default";
+
+ compatible = "ti,sn65dsi86";
+ reg = <0x2c>;
+
+ clocks = <&sn65dsi86_refclk>;
+ clock-names = "refclk";
+
+ interrupts-extended = <&intc_ex 0 IRQ_TYPE_LEVEL_HIGH>;
+
+ enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+
+ vccio-supply = <®_1p8v>;
+ vpll-supply = <®_1p8v>;
+ vcca-supply = <®_1p2v>;
+ vcc-supply = <®_1p2v>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ sn65dsi86_in: endpoint {
+ remote-endpoint = <&dsi1_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ sn65dsi86_out: endpoint {
+ remote-endpoint = <&mini_dp_con_in>;
+ };
+ };
+ };
+ };
+ };
+
+ i2c0_mux1: i2c@1 {
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ i2c0_mux2: i2c@2 {
+ reg = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* Page 26 / PCIe.0/1 CLK */
+ pcie_clk: clk@68 {
+ compatible = "renesas,9fgv0441";
+ reg = <0x68>;
+ clocks = <&pcie_refclk>;
+ #clock-cells = <1>;
+ };
+ };
+
+ i2c0_mux3: i2c@3 {
+ reg = <3>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+};
+
+/* Page 29 / CSI_IF_CN / CAM_CN0 */
+&i2c1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+};
+
+/* Page 29 / CSI_IF_CN / CAM_CN1 */
+&i2c2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c2_pins>;
+ pinctrl-names = "default";
+};
+
+/* Page 31 / IO_CN */
+&i2c3 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c3_pins>;
+ pinctrl-names = "default";
+};
+
+/* Page 31 / IO_CN */
+&i2c4 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c4_pins>;
+ pinctrl-names = "default";
+};
+
+/* Page 18 / POWER_CORE and Page 19 / POWER_PMIC */
+&i2c5 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-0 = <&i2c5_pins>;
+ pinctrl-names = "default";
+};
+
+/* Page 17 uSD-Slot */
+&mmc0 {
+ pinctrl-0 = <&sd_pins>;
+ pinctrl-1 = <&sd_uhs_pins>;
+ pinctrl-names = "default", "state_uhs";
+ bus-width = <4>;
+ cd-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; /* SD_CD */
+ sd-uhs-sdr50;
+ sd-uhs-sdr104;
+ vmmc-supply = <®_3p3v>;
+ vqmmc-supply = <&vcc_sdhi>;
+ status = "okay";
+};
+
+/* Page 26 / 2230 Key M M.2 */
+&pcie0_clkref {
+ status = "disabled";
+};
+
+&pciec0 {
+ clocks = <&cpg CPG_MOD 624>, <&pcie_clk 0>, <&pcie_clk 1>;
+ clock-names = "core", "ref", "aux";
+ reset-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+ status = "okay";
+};
+
+/* Page 25 / PCIe to USB */
+&pcie1_clkref {
+ status = "disabled";
+};
+
+&pciec1 {
+ clocks = <&cpg CPG_MOD 625>, <&pcie_clk 2>, <&pcie_clk 3>;
+ clock-names = "core", "ref", "aux";
+ /* uPD720201 is PCIe Gen2 x1 device */
+ num-lanes = <1>;
+ reset-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+ status = "okay";
+};
+
+&pfc {
+ pinctrl-0 = <&scif_clk_pins>;
+ pinctrl-names = "default";
+
+ /* Page 22 / Ether_AVB0 */
+ avb0_pins: avb0 {
+ mux {
+ groups = "avb0_link", "avb0_mdio", "avb0_rgmii",
+ "avb0_txcrefclk";
+ function = "avb0";
+ };
+
+ pins_mdio {
+ groups = "avb0_mdio";
+ drive-strength = <21>;
+ };
+
+ pins_mii {
+ groups = "avb0_rgmii";
+ drive-strength = <21>;
+ };
+
+ };
+
+ /* Page 28 / CANFD_IF */
+ can_clk_pins: can-clk {
+ groups = "can_clk";
+ function = "can_clk";
+ };
+
+ /* Page 28 / CANFD_IF */
+ canfd3_pins: canfd3 {
+ groups = "canfd3_data";
+ function = "canfd3";
+ };
+
+ /* Page 28 / CANFD_IF */
+ canfd4_pins: canfd4 {
+ groups = "canfd4_data";
+ function = "canfd4";
+ };
+
+ /* Page 23 / DEBUG */
+ hscif0_pins: hscif0 {
+ groups = "hscif0_data", "hscif0_ctrl";
+ function = "hscif0";
+ };
+
+ /* Page 23 / DEBUG */
+ hscif1_pins: hscif1 {
+ groups = "hscif1_data_a", "hscif1_ctrl_a";
+ function = "hscif1";
+ };
+
+ /* Page 24 / UART */
+ hscif3_pins: hscif3 {
+ groups = "hscif3_data_a";
+ function = "hscif3";
+ };
+
+ /* Page 24 / I2C SWITCH */
+ i2c0_pins: i2c0 {
+ groups = "i2c0";
+ function = "i2c0";
+ };
+
+ /* Page 29 / CSI_IF_CN / CAM_CN0 */
+ i2c1_pins: i2c1 {
+ groups = "i2c1";
+ function = "i2c1";
+ };
+
+ /* Page 29 / CSI_IF_CN / CAM_CN1 */
+ i2c2_pins: i2c2 {
+ groups = "i2c2";
+ function = "i2c2";
+ };
+
+ /* Page 31 / IO_CN */
+ i2c3_pins: i2c3 {
+ groups = "i2c3";
+ function = "i2c3";
+ };
+
+ /* Page 31 / IO_CN */
+ i2c4_pins: i2c4 {
+ groups = "i2c4";
+ function = "i2c4";
+ };
+
+ /* Page 18 / POWER_CORE */
+ i2c5_pins: i2c5 {
+ groups = "i2c5";
+ function = "i2c5";
+ };
+
+ /* Page 27 / DSI to Display */
+ irq0_pins: irq0 {
+ groups = "intc_ex_irq0_a";
+ function = "intc_ex";
+ };
+
+ /* Page 31 / FAN */
+ irq4_pins: irq4 {
+ groups = "intc_ex_irq4_b";
+ function = "intc_ex";
+ };
+
+ /* Page 31 / FAN */
+ pwm0_pins: pwm0 {
+ groups = "pwm0";
+ function = "pwm0";
+ };
+
+ /* Page 31 / CN7 pin 12 */
+ pwm1_pins: pwm1 {
+ groups = "pwm1_b";
+ function = "pwm1";
+ };
+
+ /* Page 31 / CN7 pin 32 */
+ pwm6_pins: pwm6 {
+ groups = "pwm6";
+ function = "pwm6";
+ };
+
+ /* Page 31 / CN7 pin 33 */
+ pwm7_pins: pwm7 {
+ groups = "pwm7";
+ function = "pwm7";
+ };
+
+ /* Page 16 / QSPI_FLASH */
+ qspi0_pins: qspi0 {
+ groups = "qspi0_ctrl", "qspi0_data4";
+ function = "qspi0";
+ bootph-all;
+ };
+
+ /* Page 6 / SCIF_CLK_SOC_V */
+ scif_clk_pins: scif_clk {
+ groups = "scif_clk";
+ function = "scif_clk";
+ };
+
+ /* Page 17 uSD-Slot */
+ sd_pins: sd {
+ groups = "mmc_data4", "mmc_ctrl";
+ function = "mmc";
+ power-source = <3300>;
+ };
+
+ /* Page 17 uSD-Slot */
+ sd_uhs_pins: sd_uhs {
+ groups = "mmc_data4", "mmc_ctrl";
+ function = "mmc";
+ power-source = <1800>;
+ };
+};
+
+/* Page 31 / FAN */
+&pwm0 {
+ pinctrl-0 = <&pwm0_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+/* Page 31 / CN7 pin 12 */
+&pwm1 {
+ pinctrl-0 = <&pwm1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+/* Page 31 / CN7 pin 32 */
+&pwm6 {
+ pinctrl-0 = <&pwm6_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+/* Page 31 / CN7 pin 33 */
+&pwm7 {
+ pinctrl-0 = <&pwm7_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+/* Page 16 / QSPI_FLASH */
+&rpc {
+ pinctrl-0 = <&qspi0_pins>;
+ pinctrl-names = "default";
+ bootph-all;
+
+ status = "okay";
+
+ flash@0 {
+ compatible = "spansion,s25fs512s", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <40000000>;
+ spi-rx-bus-width = <4>;
+ spi-tx-bus-width = <4>;
+ bootph-all;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ boot@0 {
+ reg = <0x0 0x1000000>;
+ read-only;
+ };
+
+ user@1000000 {
+ reg = <0x1000000 0x2f80000>;
+ };
+
+ env1@3f80000 {
+ reg = <0x3f80000 0x40000>;
+ };
+
+ env2@3fc0000 {
+ reg = <0x3fc0000 0x40000>;
+ };
+ };
+ };
+};
+
+&rwdt {
+ timeout-sec = <60>;
+ status = "okay";
+};
+
+/* Page 6 / SCIF_CLK_SOC_V */
+&scif_clk { /* X12 */
+ clock-frequency = <24000000>;
+};
--
2.47.2
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
@ 2025-03-31 0:27 ` Kuninori Morimoto
2025-04-01 9:49 ` Geert Uytterhoeven
1 sibling, 0 replies; 16+ messages in thread
From: Kuninori Morimoto @ 2025-03-31 0:27 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Lorenzo Pieralisi, Magnus Damm,
Manivannan Sadhasivam, Neil Armstrong, Rob Herring,
Yoshihiro Shimoda, devicetree, linux-kernel, linux-pci,
linux-renesas-soc
Hi Marek
Thank you for the patch
> Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
> SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
> bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
> card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
> UART and JTAG.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Not all parts, but for my related part only
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
One concern from my side is
> + /* Page 31 / FAN */
> + fan: pwm-fan {
> + pinctrl-0 = <&irq4_pins>;
> + pinctrl-names = "default";
> + compatible = "pwm-fan";
> + #cooling-cells = <2>;
> + cooling-levels = <0 50 100 150 200 255>;
> + pwms = <&pwm0 0 50000>;
> + pulses-per-revolution = <2>;
> + interrupts-extended = <&intc_ex 4 IRQ_TYPE_EDGE_FALLING>;
> + /* No FAN connected by default. */
> + status = "disabled";
> + };
Indeed "base kit" doesn't have FAN, but "complete kit" will have, and
official page/site will recommend to buy and use it because the board will
be very hot. Default "enable" is better idea, IMO.
But it is not a big deal for now. Additional patch instead of v2 is OK for me.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
@ 2025-03-31 8:19 ` Krzysztof Kozlowski
2025-03-31 13:45 ` Marek Vasut
0 siblings, 1 reply; 16+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-31 8:19 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On Sun, Mar 30, 2025 at 09:56:09PM +0200, Marek Vasut wrote:
> diff --git a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
> index bb3f843c59d91..5e2624d4c62c7 100644
> --- a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
> @@ -46,12 +46,14 @@ properties:
> - const: app
>
> clocks:
> - maxItems: 2
> + minItems: 2
> + maxItems: 3
>
> clock-names:
missing minItems: 2
(xxx and xxx-names are always synced in dimensions)
I understand that clock is optional? Your diagram in commit msg suggests
that clock is there always.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
@ 2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-31 10:02 ` Geert Uytterhoeven
1 sibling, 0 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-31 8:20 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On Sun, Mar 30, 2025 at 09:56:10PM +0200, Marek Vasut wrote:
> Add vendor prefix for Retronix Technology Inc.
> https://www.retronix.com.tw/en/about.html
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 ` [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
@ 2025-03-31 8:20 ` Krzysztof Kozlowski
0 siblings, 0 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-31 8:20 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On Sun, Mar 30, 2025 at 09:56:11PM +0200, Marek Vasut wrote:
> Document Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0
> (R8A779G3) SoC. This is a single-board computer with single gigabit ethernet,
> DSI-to-eDP bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports,
> micro SD card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD,
> debug UART and JTAG.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
@ 2025-03-31 10:02 ` Geert Uytterhoeven
1 sibling, 0 replies; 16+ messages in thread
From: Geert Uytterhoeven @ 2025-03-31 10:02 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On Sun, 30 Mar 2025 at 21:58, Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
> Add vendor prefix for Retronix Technology Inc.
> https://www.retronix.com.tw/en/about.html
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Although too many companies are named "Retronix"...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
` (3 preceding siblings ...)
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
@ 2025-03-31 10:05 ` Niklas Söderlund
2025-03-31 13:32 ` Rob Herring (Arm)
5 siblings, 0 replies; 16+ messages in thread
From: Niklas Söderlund @ 2025-03-31 10:05 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
Hi Marek,
Thanks for your work.
On 2025-03-30 21:56:08 +0200, Marek Vasut wrote:
> Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
> SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
> bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
> card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
> UART and JTAG.
>
> The board uses split clock for PCIe controller and device, which requires
> slight extension of rcar-gen4-pci-host.yaml DT schema, to cover this kind
> of description. The DWC PCIe controller driver already supports this mode
> of clock operation, hence no driver change is needed.
For the whole series,
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
>
> Marek Vasut (4):
> dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
> dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
> dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk
> board support
> arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk
> board support
>
> .../bindings/pci/rcar-gen4-pci-host.yaml | 8 +-
> .../bindings/soc/renesas/renesas.yaml | 7 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> arch/arm64/boot/dts/renesas/Makefile | 2 +
> .../dts/renesas/r8a779g3-sparrow-hawk.dts | 671 ++++++++++++++++++
> 5 files changed, 687 insertions(+), 3 deletions(-)
> create mode 100644 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
>
> ---
> Cc: "Krzysztof Wilczyński" <kw@linux.com>
> Cc: "Rafał Miłecki" <rafal@milecki.pl>
> Cc: Aradhya Bhatia <a-bhatia1@ti.com>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Junhao Xie <bigfoot@classfun.cn>
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-pci@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
>
> --
> 2.47.2
>
>
--
Kind Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
` (4 preceding siblings ...)
2025-03-31 10:05 ` [PATCH 0/4] " Niklas Söderlund
@ 2025-03-31 13:32 ` Rob Herring (Arm)
2025-03-31 13:48 ` Marek Vasut
5 siblings, 1 reply; 16+ messages in thread
From: Rob Herring (Arm) @ 2025-03-31 13:32 UTC (permalink / raw)
To: Marek Vasut
Cc: devicetree, linux-arm-kernel, Bjorn Helgaas, Geert Uytterhoeven,
Magnus Damm, Yoshihiro Shimoda, Conor Dooley, Neil Armstrong,
Kever Yang, Aradhya Bhatia, Krzysztof Wilczyński,
Heiko Stuebner, linux-pci, Lorenzo Pieralisi,
Rafał Miłecki, Krzysztof Kozlowski, Kuninori Morimoto,
linux-renesas-soc, Manivannan Sadhasivam, linux-kernel,
Junhao Xie
On Sun, 30 Mar 2025 21:56:08 +0200, Marek Vasut wrote:
> Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
> SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
> bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
> card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
> UART and JTAG.
>
> The board uses split clock for PCIe controller and device, which requires
> slight extension of rcar-gen4-pci-host.yaml DT schema, to cover this kind
> of description. The DWC PCIe controller driver already supports this mode
> of clock operation, hence no driver change is needed.
>
> Marek Vasut (4):
> dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
> dt-bindings: vendor-prefixes: Add Retronix Technology Inc.
> dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk
> board support
> arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk
> board support
>
> .../bindings/pci/rcar-gen4-pci-host.yaml | 8 +-
> .../bindings/soc/renesas/renesas.yaml | 7 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> arch/arm64/boot/dts/renesas/Makefile | 2 +
> .../dts/renesas/r8a779g3-sparrow-hawk.dts | 671 ++++++++++++++++++
> 5 files changed, 687 insertions(+), 3 deletions(-)
> create mode 100644 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
>
> ---
> Cc: "Krzysztof Wilczyński" <kw@linux.com>
> Cc: "Rafał Miłecki" <rafal@milecki.pl>
> Cc: Aradhya Bhatia <a-bhatia1@ti.com>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Junhao Xie <bigfoot@classfun.cn>
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-pci@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
>
> --
> 2.47.2
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/next-20250328 (exact match)
If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/renesas/' for 20250330195715.332106-1-marek.vasut+renesas@mailbox.org:
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g3-white-hawk-single.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g3-white-hawk-single.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779f0-spider.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779f0-spider.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtb: pcie@e65d8000: clock-names: ['core', 'ref'] is too short
from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
2025-03-31 8:19 ` Krzysztof Kozlowski
@ 2025-03-31 13:45 ` Marek Vasut
0 siblings, 0 replies; 16+ messages in thread
From: Marek Vasut @ 2025-03-31 13:45 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On 3/31/25 10:19 AM, Krzysztof Kozlowski wrote:
> On Sun, Mar 30, 2025 at 09:56:09PM +0200, Marek Vasut wrote:
>> diff --git a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> index bb3f843c59d91..5e2624d4c62c7 100644
>> --- a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> +++ b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> @@ -46,12 +46,14 @@ properties:
>> - const: app
>>
>> clocks:
>> - maxItems: 2
>> + minItems: 2
>> + maxItems: 3
>>
>> clock-names:
>
> missing minItems: 2
>
> (xxx and xxx-names are always synced in dimensions)
Fixed, noted, thanks !
> I understand that clock is optional? Your diagram in commit msg suggests
> that clock is there always.
The clocks which supply the PCIe controller ("ref" clock) and PCIe bus
("aux" clock) can be modeled as either, single clock (one clock for both
controller AND bus, i.e. single "ref" clock), or two separate clocks
(one for controller AND one for bus, i.e. "ref" clock AND "aux" clock).
That depends on whether the clock generator (the 9FGV0441 brick in the
ASCII schematic in the commit message in this case) has one flip switch
to enable both clock (controller and bus, i.e. "ref" clock only), or has
separate flip switches to enable the different outputs (controller or
bus, i.e. "ref" and "aux" clock).
So yes, the "aux" is optional from the software side, but on the
hardware side, the "aux" bus clock are always there. They however do not
always have separate flip switch to enable/disable them.
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-31 13:32 ` Rob Herring (Arm)
@ 2025-03-31 13:48 ` Marek Vasut
0 siblings, 0 replies; 16+ messages in thread
From: Marek Vasut @ 2025-03-31 13:48 UTC (permalink / raw)
To: Rob Herring (Arm), Marek Vasut
Cc: devicetree, linux-arm-kernel, Bjorn Helgaas, Geert Uytterhoeven,
Magnus Damm, Yoshihiro Shimoda, Conor Dooley, Neil Armstrong,
Kever Yang, Aradhya Bhatia, Krzysztof Wilczyński,
Heiko Stuebner, linux-pci, Lorenzo Pieralisi,
Rafał Miłecki, Krzysztof Kozlowski, Kuninori Morimoto,
linux-renesas-soc, Manivannan Sadhasivam, linux-kernel,
Junhao Xie
On 3/31/25 3:32 PM, Rob Herring (Arm) wrote:
Hi,
> My bot found new DTB warnings on the .dts files added or changed in this
> series.
>
> Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
> are fixed by another series. Ultimately, it is up to the platform
> maintainer whether these warnings are acceptable or not. No need to reply
> unless the platform maintainer has comments.
>
> If you already ran DT checks and didn't see these error(s), then
> make sure dt-schema is up to date:
>
> pip3 install dtschema --upgrade
>
>
> This patch series was applied (using b4) to base:
> Base: attempting to guess base-commit...
> Base: tags/next-20250328 (exact match)
>
> If this is not the correct base, please add 'base-commit' tag
> (or use b4 which does this automatically)
>
> New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/renesas/' for 20250330195715.332106-1-marek.vasut+renesas@mailbox.org:
>
> arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dtb: pcie@e65d0000: clock-names: ['core', 'ref'] is too short
> from schema $id: http://devicetree.org/schemas/pci/rcar-gen4-pci-host.yaml#
I believe this will be fixed by input from Krzysztof on 1/4 which I
already added to V2 , thanks !
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
2025-03-31 0:27 ` Kuninori Morimoto
@ 2025-04-01 9:49 ` Geert Uytterhoeven
2025-04-01 10:55 ` Marek Vasut
1 sibling, 1 reply; 16+ messages in thread
From: Geert Uytterhoeven @ 2025-04-01 9:49 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
Hi Marek,
Thanks for your patch!
On Sun, 30 Mar 2025 at 21:58, Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
> Add Renesas R-Car V4H Sparrow Hawk board based on R-Car V4H ES3.0 (R8A779G3)
Retronix
> SoC. This is a single-board computer with single gigabit ethernet, DSI-to-eDP
> bridge, DSI and two CSI2 interfaces, audio codec, two CANFD ports, micro SD
> card slot, USB PD supply, USB 3.0 ports, M.2 Key-M slot for NVMe SSD, debug
> UART and JTAG.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
> @@ -0,0 +1,671 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Device Tree Source for the R-Car V4H ES3.0 Sparrow Hawk board
> + *
> + * Copyright (C) 2025 Marek Vasut <marek.vasut+renesas@mailbox.org>
> + */
> +
> +/dts-v1/;
> +#include <dt-bindings/gpio/gpio.h>
> +
> +#include "r8a779g3.dtsi"
> +
> +/ {
> + model = "Retronix Sparrow Hawk board based on r8a779g3";
> + compatible = "retronix,sparrow-hawk", "renesas,r8a779g3",
> + "renesas,r8a779g0";
> +
> + aliases {
> + ethernet0 = &avb0;
> + i2c0 = &i2c0;
> + i2c1 = &i2c1;
> + i2c2 = &i2c2;
> + i2c3 = &i2c3;
> + i2c4 = &i2c4;
> + i2c5 = &i2c5;
> + serial0 = &hscif0;
This assumes HSCIF0 is the main console.
As you also have a second debug console on USB:
serial1 = &hscif1;
And the serial port on the RPI I/O connector:
serial2 = &hscif3;
> + spi0 = &rpc;
Do you need the spi0 alias?
> +&pfc {
> + pinctrl-0 = <&scif_clk_pins>;
> + pinctrl-names = "default";
> +
> + /* Page 22 / Ether_AVB0 */
> + avb0_pins: avb0 {
> + mux {
> + groups = "avb0_link", "avb0_mdio", "avb0_rgmii",
> + "avb0_txcrefclk";
> + function = "avb0";
> + };
> +
> + pins_mdio {
Please no underscores in node names (everywhere).
The rest LGTM.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support
2025-04-01 9:49 ` Geert Uytterhoeven
@ 2025-04-01 10:55 ` Marek Vasut
0 siblings, 0 replies; 16+ messages in thread
From: Marek Vasut @ 2025-04-01 10:55 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: linux-arm-kernel, Krzysztof Wilczyński,
Rafał Miłecki, Aradhya Bhatia, Bjorn Helgaas,
Conor Dooley, Geert Uytterhoeven, Heiko Stuebner, Junhao Xie,
Kever Yang, Krzysztof Kozlowski, Kuninori Morimoto,
Lorenzo Pieralisi, Magnus Damm, Manivannan Sadhasivam,
Neil Armstrong, Rob Herring, Yoshihiro Shimoda, devicetree,
linux-kernel, linux-pci, linux-renesas-soc
On 4/1/25 11:49 AM, Geert Uytterhoeven wrote:
> Hi Marek,
Hi,
>> + spi0 = &rpc;
>
> Do you need the spi0 alias?
Yes, it is used by U-Boot to enumerate SPI controllers.
The rest is fixed in V2, thanks !
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-04-01 11:06 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
2025-03-31 8:19 ` Krzysztof Kozlowski
2025-03-31 13:45 ` Marek Vasut
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-31 10:02 ` Geert Uytterhoeven
2025-03-30 19:56 ` [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
2025-03-31 0:27 ` Kuninori Morimoto
2025-04-01 9:49 ` Geert Uytterhoeven
2025-04-01 10:55 ` Marek Vasut
2025-03-31 10:05 ` [PATCH 0/4] " Niklas Söderlund
2025-03-31 13:32 ` Rob Herring (Arm)
2025-03-31 13:48 ` Marek Vasut
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).