From nobody Sun Feb 8 08:16:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1829DC4167B for ; Tue, 5 Dec 2023 09:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344895AbjLEJrC (ORCPT ); Tue, 5 Dec 2023 04:47:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbjLEJq7 (ORCPT ); Tue, 5 Dec 2023 04:46:59 -0500 X-Greylist: delayed 61 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Dec 2023 01:47:05 PST Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1ED059A; Tue, 5 Dec 2023 01:47:05 -0800 (PST) Received: from SIOS1075.ysato.name (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by sakura.ysato.name (Postfix) with ESMTPSA id 8A2C81C0868; Tue, 5 Dec 2023 18:47:02 +0900 (JST) From: Yoshinori Sato To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Randy Dunlap , Arnd Bergmann , Hyeonggon Yoo <42.hyeyoo@gmail.com>, David Rientjes , Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Stephen Rothwell , Guo Ren , Javier Martinez Canillas , Azeem Shaikh , Palmer Dabbelt , Bin Meng , Max Filippov , Tom Rix , Herve Codina , Jacky Huang , Lukas Bulwahn , Jonathan Corbet , Biju Das , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Sam Ravnborg , Michael Karcher , Sergey Shtylyov , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [DO NOT MERGE v5 30/37] sh: add RTS7751R2D Plus DTS Date: Tue, 5 Dec 2023 18:45:49 +0900 Message-Id: <9a32654249d357d3147e824a8c56321b7a486326.1701768028.git.ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Renesas RTS7751R2D Plus devicetree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/rts7751r2dplus.dts | 157 ++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts diff --git a/arch/sh/boot/dts/rts7751r2dplus.dts b/arch/sh/boot/dts/rts7751= r2dplus.dts new file mode 100644 index 000000000000..4fb75e814615 --- /dev/null +++ b/arch/sh/boot/dts/rts7751r2dplus.dts @@ -0,0 +1,157 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Renesas RTS7751R2D Plus + */ + +/dts-v1/; + +#include "sh7751r.dtsi" +#include + +/ { + model =3D "Renesas RTS7715R2D Plus"; + compatible =3D "renesas,rts7751r2d", "renesas,sh7751r"; + + aliases { + serial0 =3D &scif1; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + memory@c000000 { + device_type =3D "memory"; + reg =3D <0x0c000000 0x4000000>; + }; + + r2dintc: interrupt_controller@a4000000 { + compatible =3D "renesas,sh7751-irl-ext"; + reg =3D <0xa4000000 0x02>; + interrupt-controller; + #address-cells =3D <0>; + #size-cells =3D <0>; + #interrupt-cells =3D <1>; + renesas,width =3D <16>; + renesas,enable-bit =3D <0 11>, /* PCI INTD */ + <1 9>, /* CF IDE */ + <2 8>, /* CF CD */ + <3 12>, /* PCI INTC */ + <4 10>, /* SM501 */ + <5 6>, /* KEY */ + <6 5>, /* RTC ALARM */ + <7 4>, /* RTC T */ + <8 7>, /* SDCARD */ + <9 14>, /* PCI INTA */ + <10 13>, /* PCI INTB */ + <11 0>, /* EXT */ + <12 15>; /* TP */ + }; + + display@0 { + compatible =3D "smi,sm501"; + reg =3D <0x10000000 0x03e00000 + 0x13e00000 0x00200000>; + interrupt-parent =3D <&r2dintc>; + interrupts =3D <4>; + mode =3D "640x480-16@60"; + little-endian; + smi,devices =3D <(SM501_USE_USB_HOST | SM501_USE_UART0)>; + interrupt-name =3D "sm501"; + swap-fb-endian; + + crt { + smi,flags =3D <(SM501FB_FLAG_USE_INIT_MODE | + SM501FB_FLAG_DISABLE_AT_EXIT | + SM501FB_FLAG_USE_HWCURSOR | + SM501FB_FLAG_USE_HWACCEL)>; + }; + + panel { + bpp =3D <16>; + edid =3D [00 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 + 00 00 01 04 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 f0 0a 80 fb 20 e0 25 10 32 60 + 02 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bd]; + smi,flags =3D <(SM501FB_FLAG_USE_INIT_MODE | + SM501FB_FLAG_DISABLE_AT_EXIT | + SM501FB_FLAG_USE_HWCURSOR | + SM501FB_FLAG_USE_HWACCEL)>; + }; + }; + + compact-flash@b4001000 { + compatible =3D "renesas,rts7751r2d-ata", "ata-generic"; + reg =3D <0xb4001000 0x0e>, <0xb400080c 2>; + reg-shift =3D <1>; + interrupt-parent =3D <&r2dintc>; + interrupts =3D <1>; + }; + + flash@0 { + compatible =3D "cfi-flash"; + reg =3D <0x00000000 0x02000000>; + device-width =3D <2>; + #address-cells =3D <1>; + #size-cells =3D <1>; + + partition@0 { + label =3D "U-Boot"; + reg =3D <0x00000000 0x00040000>; + }; + + partition@1 { + label =3D "Environemt"; + reg =3D <0x00040000 0x00040000>; + }; + + partition@2 { + label =3D "Kernel"; + reg =3D <0x00080000 0x001c0000>; + }; + + partition@3 { + label =3D "Flash_FS"; + reg =3D <0x00240000 0x00dc0000>; + }; + }; +}; + +&xtal { + clock-frequency =3D <22222222>; +}; + +&cpg { + renesas,mode =3D <5>; +}; + +&scif1 { + status =3D "okay"; +}; + +&pcic { + renesas,bcr1 =3D <0x40080000>; + renesas,intm =3D <0x0000c3ff>; + renesas,aintm =3D <0x0000380f>; + renesas,config =3D <1 0xfb900047>, <4 0xab000001>; + renesas,mcrmask =3D <0x40000004>; + + interrupt-map =3D <0x0000 0 0 1 &r2dintc 9>, + <0x0000 0 0 2 &r2dintc 10>, + <0x0000 0 0 3 &r2dintc 3>, + <0x0000 0 0 4 &r2dintc 0>, + <0x0800 0 0 1 &r2dintc 10>, + <0x0800 0 0 2 &r2dintc 3>, + <0x0800 0 0 3 &r2dintc 0>, + <0x0800 0 0 4 &r2dintc 9>, + <0x1000 0 0 1 &r2dintc 3>, + <0x1000 0 0 2 &r2dintc 0>, + <0x1000 0 0 3 &r2dintc 9>, + <0x1000 0 0 4 &r2dintc 10>; + interrupt-map-mask =3D <0x1800 0 0 7>; + status =3D "okay"; +}; --=20 2.39.2