From patchwork Thu Jan 25 14:48:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 766133 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9F536E2CD for ; Thu, 25 Jan 2024 14:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194151; cv=none; b=scWJcv+rO2iyuKPaVSyZJ3/sZoD11+TRD3L/LFYahQaMW8r5vNrr11jvzMTgDre0u2OgYoi4xq6MUFtXnLwTDigxol9bZH9WVaKxXtySEHF/iXDInN2ZyAYtdbLamVkQoieD6ncRjtLjsDy0hwBPjG1W/9u55JmxzjFM7sUjCsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194151; c=relaxed/simple; bh=h2S7gudS05g3P6ahM94tO5OpEENw4AIqEsDRznUjj7k=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=D1Z8dZf8MNFXWFr/F9i13JTx1lTwMpqIPEZzLFOh9IQ7mW3pa5qnnrLqQzv815RNdv2ixjRCICVi3b1dHZSGC5oyHeOwamD6NfQH/5rRQTatD2OLACyqurBpwyE5PD4v8vXq7nbkSwWCEZ+T6mqZX/7c7WnhixrE6Lyi4Teq8EE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:bc9e:fcb8:8aa3:5dc0]) by baptiste.telenet-ops.be with bizsmtp id f2p02B00Q58agq2012p0l7; Thu, 25 Jan 2024 15:49:01 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rT11W-00GUs3-Jd; Thu, 25 Jan 2024 15:49:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rT12K-00Flu0-J7; Thu, 25 Jan 2024 15:49:00 +0100 From: Geert Uytterhoeven To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH v2 3/9] arm64: dts: renesas: white-hawk-cpu: Restore sort order Date: Thu, 25 Jan 2024 15:48:53 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Geert Uytterhoeven Alphabetical by node name. Signed-off-by: Geert Uytterhoeven --- v2: - New. --- .../boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi index 19ca831756f78124..6d53b4006db3c27f 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi @@ -25,6 +25,12 @@ chosen { stdout-path = "serial0:921600n8"; }; + sn65dsi86_refclk: clk-x6 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <38400000>; + }; + keys { compatible = "gpio-keys"; @@ -135,12 +141,6 @@ reg_3p3v: regulator-3p3v { regulator-boot-on; regulator-always-on; }; - - sn65dsi86_refclk: clk-x6 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <38400000>; - }; }; &avb0 { From patchwork Thu Jan 25 14:48:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 766131 Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03DFF6E2D3 for ; Thu, 25 Jan 2024 14:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194152; cv=none; b=g4P7xK40HSFKwW3HVUwh2H40gLhOKKeWTiVblHDb6+9WAH4QeHrkITMhYBhG/slUv3RHhMmHGabAoLgcgmrZBpIz62lwyvduZL2wO3b7TVFyg5Hvxh6SDUuQNe+PIg3tZNrC92hxxq+/OMaWweH9KBgN1XMK6RHVG0kopgrqQh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194152; c=relaxed/simple; bh=T92brzQTI2qbzOot7Dlymqbh7IB2R4r3HdEMQ66oJZs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DsKOk2psmhFnAaeNY10t08ztTihI+FLn2keapsJWYXov9Q6hNigG7xC1jXml/QVxichFUtJa1zLFhbbnW2c1txrST4gR50XI2dnZ1nrKa8nUhv/ymyUkbsGTdcFLMpTgC4BxWVHszVdWTiTEbbDytxPpUN5D/OkKQCNSbzAxCp8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:bc9e:fcb8:8aa3:5dc0]) by andre.telenet-ops.be with bizsmtp id f2p02B00T58agq2012p0GB; Thu, 25 Jan 2024 15:49:01 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rT11W-00GUsE-LN; Thu, 25 Jan 2024 15:49:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rT12K-00Flu8-Ki; Thu, 25 Jan 2024 15:49:00 +0100 From: Geert Uytterhoeven To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH v2 5/9] arm64: dts: renesas: white-hawk: Add SoC name to top-level comment Date: Thu, 25 Jan 2024 15:48:55 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Geert Uytterhoeven The White Hawk CPU and BreakOut board DTS is specific to R-Car V4H. Document it in the top-level comment. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v2: - New. --- arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts index 8d82294a1a56444c..a9bc258cbf55587f 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* - * Device Tree Source for the White Hawk CPU and BreakOut boards + * Device Tree Source for the R-Car V4H White Hawk CPU and BreakOut boards * * Copyright (C) 2022 Renesas Electronics Corp. */ From patchwork Thu Jan 25 14:48:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 766130 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B60496E2BF for ; Thu, 25 Jan 2024 14:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194152; cv=none; b=CRhVC9EESJvvUTdYC3CkRCmQPy79+jo/JgKejutpXT5SzR1tsMBO9YYf7aKOjV69j3MdZiBNi4OBVGX0Jz91L0M5wbcwOWE0wvilcAE7c601Inva1f7vLHNGgGTh+VeOsw+Tkn8rkVLL70zdMT5NgoySbiEX+iufwMEDyFUrY4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194152; c=relaxed/simple; bh=aupD3kAOcdN2ZGDJhNMx7T0OeVXOL6E9M+5jZxYsg0Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=W0R5AMsROO2I7lAACaedSGkFRroWkqHL1iBWMwP3hefYCICottP630Pd+wPQx9n4nqy9yYMoeFPdXk3WILLxHc6WykoY5k3MYpf9+VP+QMFKbEpuMO7irr9O0hmQQ3XjlG2x9iLcZfN3x53s2n/1niFNNQuPrzA8nLqe+Dd6PRU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:bc9e:fcb8:8aa3:5dc0]) by xavier.telenet-ops.be with bizsmtp id f2p02B00D58agq2012p01K; Thu, 25 Jan 2024 15:49:01 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rT11W-00GUsM-N3; Thu, 25 Jan 2024 15:49:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rT12K-00FluJ-Ma; Thu, 25 Jan 2024 15:49:00 +0100 From: Geert Uytterhoeven To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , Wolfram Sang Subject: [PATCH v2 7/9] arm64: dts: renesas: white-hawk: Factor out common parts Date: Thu, 25 Jan 2024 15:48:57 +0100 Message-Id: <8c05b4d283b5d765fbc6f64cee9a247cded29409.1706192990.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Factor out the parts on the White Hawk BreakOut board that are also present on the White Hawk Single board, so they can be reused when introducing support for the latter. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v2: - Add Reviewed-by. --- .../boot/dts/renesas/r8a779g0-white-hawk.dts | 56 +------------------ ...-white-hawk.dts => white-hawk-common.dtsi} | 8 +-- 2 files changed, 3 insertions(+), 61 deletions(-) copy arch/arm64/boot/dts/renesas/{r8a779g0-white-hawk.dts => white-hawk-common.dtsi} (77%) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts index a9bc258cbf55587f..784d4e8b204ce85a 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts @@ -7,63 +7,9 @@ /dts-v1/; #include "r8a779g0-white-hawk-cpu.dtsi" -#include "white-hawk-csi-dsi.dtsi" -#include "white-hawk-ethernet.dtsi" +#include "white-hawk-common.dtsi" / { model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0"; compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0"; - - can_transceiver0: can-phy0 { - compatible = "nxp,tjr1443"; - #phy-cells = <0>; - enable-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; - max-bitrate = <5000000>; - }; -}; - -&can_clk { - clock-frequency = <40000000>; -}; - -&canfd { - pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>; - pinctrl-names = "default"; - - status = "okay"; - - channel0 { - status = "okay"; - phys = <&can_transceiver0>; - }; - - channel1 { - status = "okay"; - }; -}; - -&i2c0 { - eeprom@51 { - compatible = "rohm,br24g01", "atmel,24c01"; - label = "breakout-board"; - reg = <0x51>; - pagesize = <8>; - }; -}; - -&pfc { - can_clk_pins: can-clk { - groups = "can_clk"; - function = "can_clk"; - }; - - canfd0_pins: canfd0 { - groups = "canfd0_data"; - function = "canfd0"; - }; - - canfd1_pins: canfd1 { - groups = "canfd1_data"; - function = "canfd1"; - }; }; diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts b/arch/arm64/boot/dts/renesas/white-hawk-common.dtsi similarity index 77% copy from arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts copy to arch/arm64/boot/dts/renesas/white-hawk-common.dtsi index a9bc258cbf55587f..c99086edadcaacdb 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts +++ b/arch/arm64/boot/dts/renesas/white-hawk-common.dtsi @@ -1,19 +1,15 @@ // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* - * Device Tree Source for the R-Car V4H White Hawk CPU and BreakOut boards + * Device Tree Source for the common parts shared by the White Hawk BreakOut + * and White Hawk Single boards * * Copyright (C) 2022 Renesas Electronics Corp. */ -/dts-v1/; -#include "r8a779g0-white-hawk-cpu.dtsi" #include "white-hawk-csi-dsi.dtsi" #include "white-hawk-ethernet.dtsi" / { - model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0"; - compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0"; - can_transceiver0: can-phy0 { compatible = "nxp,tjr1443"; #phy-cells = <0>; From patchwork Thu Jan 25 14:48:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 766132 Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03DAE6E2D0 for ; Thu, 25 Jan 2024 14:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194151; cv=none; b=qQS4K2tVwxz7D3d3uMIseKm7b1RghnY9pmz3Wd0kvO23ksseki2D+DIsYN9a88iAjcXqoySCLnZCbZ7hUn2nv2DxB0v1IVnVAEZV9/GCid0DWWEJ1iCFnXDK/5+vIXg43vx+/GTFYjOPb6nIwzt+cE/88k3Sc/JpnIkM1PwhR6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194151; c=relaxed/simple; bh=x7o7jeI2krSuoJURPzP2NxANKTR9RXMg7aSzVRhnONw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BhHmh25TaArsE2moahCDPCG3aGz+tYCOUCE5FYoCVJifZFYiTe/f3JLyR7mFSpI8Ox2TcDMRu3ejl6A7Rz1oDqyyBBLYATDztIoIDlWtsNX7vV7JjC+d7t6+A5cfFBUG1AFNRUfC71OqJCKf4Z96NSNrqiyX2gjjI/mzDP6ksS8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:bc9e:fcb8:8aa3:5dc0]) by andre.telenet-ops.be with bizsmtp id f2p02B00a58agq2012p0GF; Thu, 25 Jan 2024 15:49:01 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rT11W-00GUsP-Np; Thu, 25 Jan 2024 15:49:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rT12K-00FluO-NI; Thu, 25 Jan 2024 15:49:00 +0100 From: Geert Uytterhoeven To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , Wolfram Sang Subject: [PATCH v2 8/9] arm64: dts: renesas: Add Renesas R8A779G2 SoC support Date: Thu, 25 Jan 2024 15:48:58 +0100 Message-Id: <4f773dbb66af5da51d1e171424ec8f97ee933b36.1706192990.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add support for the Renesas R-Car V4H ES2.0 (R8A779G2) SoC, which is an updated version of the R-Car V4H (R8A779G0) SoC. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v2: - Add Reviewed-by. --- arch/arm64/boot/dts/renesas/r8a779g2.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779g2.dtsi diff --git a/arch/arm64/boot/dts/renesas/r8a779g2.dtsi b/arch/arm64/boot/dts/renesas/r8a779g2.dtsi new file mode 100644 index 0000000000000000..e08f531843e28b7f --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779g2.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H (R8A779G2) SoC + * + * Copyright (C) 2023 Glider bv + */ + +#include "r8a779g0.dtsi" + +/ { + compatible = "renesas,r8a779g2", "renesas,r8a779g0"; +}; From patchwork Thu Jan 25 14:48:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 766129 Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B57176E2D9 for ; Thu, 25 Jan 2024 14:49:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194153; cv=none; b=c/smbrFONvS+luSWobwl9yM7f4nY16shcOxuBFl+NEF5MwnSPt7f25jzCZZ48LvHY/bio33QWY0Zllzxw5tfQh/xr4veX5z5wddpvicqbryAuPA7i2yIqZG3K7G36yHavrfGuI0P+5IepQzFhhbDo98mNP7r81JhcOYfgjQ3SQQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706194153; c=relaxed/simple; bh=+jWrWdCZq0fG2ztm1xynDF2ijuBofKXejOH/ekBMNL0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JMW5Xs9yW/93rExYw3g2e2xTAiMHaOGJKJxCxSJccNkPQNyOxcTalLjr4hKP+ZIYo6MimOBmMHqyOwW/YXhaXCwhdE0Dnbj6lGbrsJjL3tbLhcFSm/3DAW53y5GnS0WXXP+TmohYPBYN9SN6X4GLRljnPBo5rJWZHl2PD9Zve14= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:bc9e:fcb8:8aa3:5dc0]) by albert.telenet-ops.be with bizsmtp id f2p02B00h58agq2062p024; Thu, 25 Jan 2024 15:49:02 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rT11W-00GUsU-Oq; Thu, 25 Jan 2024 15:49:00 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rT12K-00FluT-O4; Thu, 25 Jan 2024 15:49:00 +0100 From: Geert Uytterhoeven To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , Wolfram Sang Subject: [PATCH v2 9/9] arm64: dts: renesas: r8a779g2: Add White Hawk Single support Date: Thu, 25 Jan 2024 15:48:59 +0100 Message-Id: <2b8d37949c17cca170c1d9e97f10a100b20c5cd9.1706192990.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The White Hawk Single board is a single-board integration of the Renesas White Hawk CPU and Breakout board stack, based on the R-Car V4H ES2.0 (R8A779G2) SoC. For now, the only visible differences compared to the board stack are: - The SoC is an updated version of R-Car V4H (R8A779G0), - The serial console uses an FT2232H instead of a CP2102 USB-UART bridge, with CTS/RTS wired. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v2: - Add Reviewed-by, - Refer to hscif0_pins directly, - Add SoC name to top-level comment. --- arch/arm64/boot/dts/renesas/Makefile | 2 ++ .../renesas/r8a779g2-white-hawk-single.dts | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index b959ae4a586bf8f7..1d7d69657a1f0559 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -87,6 +87,8 @@ dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk-ard-audio-da7212.dtbo r8a779g0-white-hawk-ard-audio-da7212-dtbs := r8a779g0-white-hawk.dtb r8a779g0-white-hawk-ard-audio-da7212.dtbo dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk-ard-audio-da7212.dtb +dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g2-white-hawk-single.dtb + dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb r8a779m1-salvator-xs-panel-aa104xd12-dtbs := r8a779m1-salvator-xs.dtb salvator-panel-aa104xd12.dtbo dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs-panel-aa104xd12.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts new file mode 100644 index 0000000000000000..2f79e5a6124897ef --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H ES2.0 White Hawk Single board + * + * Copyright (C) 2023 Glider bv + */ + +/dts-v1/; +#include "r8a779g2.dtsi" +#include "white-hawk-cpu-common.dtsi" +#include "white-hawk-common.dtsi" + +/ { + model = "Renesas White Hawk Single board based on r8a779g2"; + compatible = "renesas,white-hawk-single", "renesas,r8a779g2", + "renesas,r8a779g0"; +}; + +&hscif0 { + uart-has-rtscts; +}; + +&hscif0_pins { + groups = "hscif0_data", "hscif0_ctrl"; + function = "hscif0"; +};