Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp60970lqe; Wed, 3 Apr 2024 22:28:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXS8J8ANrpTU8poDGtiDpciGn0TlyJCJIjMAYFpqUOPppo73ef0kL3IFlIk71fVaacpotCGz5LcFg+CptGrEJuHv7t/kXkqzjtYE5pkwA== X-Google-Smtp-Source: AGHT+IG8pPXVgGauPt0jd2cOxHAJmuZZdJKxMpH0hDG2argpJmdVfbH5OLnOlMjfl2xG7NiXwbk0 X-Received: by 2002:a05:6214:b6a:b0:696:b01a:28df with SMTP id ey10-20020a0562140b6a00b00696b01a28dfmr1487386qvb.45.1712208517997; Wed, 03 Apr 2024 22:28:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712208517; cv=pass; d=google.com; s=arc-20160816; b=fnQAOL2hmF+T88O68RFICpRaT454eRM8Sz+F1glSF5X4x6Wo7JnRkjfe32JOdMf037 GQKamWcSL+kLWeI8I/nNC39jIJLVhJngT0CazGlEF0QQx/+7he/9rSfohfYSrahaAjmu JDe4XuxHz9jzJcpe3ISPpcsu1yasbYpeph5/ifeiWjE22nfoK6WeTqsz19N2CMaa6hVt 3zR4MI7/P52XlxWEVnx/+3qGrIrElI9SC8AMRh46CQ/xs4G68sXd/NCVr5lEz8o46lxu aPg5xZQ20Y9AY46FTz6A0fL9hqq9RaCBu0Gs2xoKYf2TKy4qV1DM5n44TRMiEkbSC0DM cIZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=0hmaGMgPM8/9FTkHKurzzSZrzdlsJPdTu+Zi5MaZb2A=; fh=v4XjIS8ZnkfRSzpdvZ0kX2qBiNaW+cViNlbs+XMLZ44=; b=HfC21g4st5W//EH1WhouOcrTGEh5J4TjvJ17wMuyWx0dIEyS7C/c/J2onbi8WP/WVo PUvggGh8orcEHHqnX81dHdrrAZw0w1q+68OGexibPXDQu7upTvhBlHWC1p8UDRMpBq8D xPCbFcGaDunQmhPYTvusClSz5m7Ngmp2Hj7s6296JF8D0FC56HnQjiewyTXrTnxcBPg9 1EOTyto3yRgkK5f+ixPvEKTY4PsKwAKgu04VJwqaduvyZ7Qvs3SILq9Hf0Pp15+DlHt8 lYnuK7L8SgIOb7rROGUd6qeTXhvuOsDx4PiSfBkIMMWpPD8/V3pj3awlARD4V6brBb/w tbDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130943-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qh2-20020a0562144c0200b006986c5623aesi4772695qvb.428.2024.04.03.22.28.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:28:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130943-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5AEB31C21C59 for ; Thu, 4 Apr 2024 05:28:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1330E5D461; Thu, 4 Apr 2024 05:15:58 +0000 (UTC) Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C432B12EBF0; Thu, 4 Apr 2024 05:15:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=153.127.30.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207757; cv=none; b=r7HMyHE6EBb+H/aTMP4rALxEQidpMoRY4kQwd8ftjdJExWVV0RaxeXMoJQa7GdwFMMH89AUnaD88X+H/zH61XnHyDzuolcomyBkbKtguaF6/SvdQiTJytd8Ol1DJl9TIujLLTaVaXHrNRvG5QRfUKjF751BbUcsRlQwDjbCgV/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207757; c=relaxed/simple; bh=E35zkdaNWcOZao+l7hH8SOZK0OTtDSbuFpdV5m0cZbY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NGWNH7xQmUcsyJe0KpLdFs9S06k9nBwyTiEMrQMpBPyrDM/Q181+0msu7epA5cQ5tUxVBgppU7cMgmykVyIFOJZsRYMLvd5zBFqpK5ZbZlK3SVzS6xgAz3u5Lnm0Zb4H/joUu2oWLNHMPFdBvwf0kLXlum4qyOBhtaSzDwKZUmk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp; spf=fail smtp.mailfrom=users.sourceforge.jp; arc=none smtp.client-ip=153.127.30.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=users.sourceforge.jp Received: from SIOS1075.ysato.name (al128006.dynamic.ppp.asahi-net.or.jp [111.234.128.6]) by sakura.ysato.name (Postfix) with ESMTPSA id C34441C1001; Thu, 4 Apr 2024 14:15:53 +0900 (JST) From: Yoshinori Sato To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Damien Le Moal , Niklas Cassel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Shawn Guo , Sebastian Reichel , Chris Morgan , Linus Walleij , Arnd Bergmann , David Rientjes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Javier Martinez Canillas , Guo Ren , Azeem Shaikh , Max Filippov , Jonathan Corbet , Jacky Huang , Herve Codina , Manikanta Guntupalli , Anup Patel , Biju Das , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Sam Ravnborg , 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: [RESEND v7 32/37] sh: Add IO DATA USL-5P dts Date: Thu, 4 Apr 2024 14:14:43 +0900 Message-Id: <7bdec205571715a318a76ccf7e86cd28798cc5fa.1712207606.git.ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit IO DATA DEVICE Inc. USL-5P devicetree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/usl-5p.dts | 85 +++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 arch/sh/boot/dts/usl-5p.dts diff --git a/arch/sh/boot/dts/usl-5p.dts b/arch/sh/boot/dts/usl-5p.dts new file mode 100644 index 000000000000..b90bff50b29a --- /dev/null +++ b/arch/sh/boot/dts/usl-5p.dts @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the IO DATA DEVICE USL-5P + */ + +/dts-v1/; + +#include "sh7751r.dtsi" + +/ { + model = "IO-DATA Device USL-5P"; + compatible = "iodata,usl-5p", "renesas,sh7751r"; + + aliases { + serial0 = &scif1; + }; + + chosen { + stdout-path = "serial0:9600n8"; + }; + + memory@c000000 { + device_type = "memory"; + reg = <0x0c000000 0x4000000>; + }; + + julianintc: interrupt-controller@b0000005 { + compatible = "renesas,sh7751-irl-ext"; + reg = <0xb0000005 0x01>; + interrupt-controller; + #interrupt-cells = <2>; + /* + * b7: Button + * b6: Power switch + * b5: Compact Flash + * b4: ATA + * b3: PCI-INTD + * b2: PCI-INTC + * b1: PCI-INTB + * b0: PCI-INTA + */ + renesas,enable-reg = <12 11 10 9 8 7 6 5>; + }; + + compact-flash@b4000040 { + compatible = "iodata,usl-5p-ata", "ata-generic"; + reg = <0xb4000040 0x0e>, <0xb400002c 2>; + reg-shift = <1>; + interrupt-parent = <&julianintc>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&extal { + clock-frequency = <22222222>; +}; + +&cpg { + renesas,mode = <5>; +}; + +&scif1 { + status = "okay"; +}; + +&pcic { + ranges = <0x02000000 0 0xfd000000 0xfd000000 0 0x01000000>, + <0x01000000 0 0x00000000 0xfe240000 0 0x00040000>; + dma-ranges = <0x02000000 0 0x0c000000 0x0c000000 0 0x04000000>, + <0x02000000 0 0xd0000000 0xd0000000 0 0x00000001>; + interrupt-map = <0x0000 0 0 1 &julianintc 5 IRQ_TYPE_LEVEL_LOW>, + <0x0000 0 0 2 &julianintc 6 IRQ_TYPE_LEVEL_LOW>, + <0x0000 0 0 3 &julianintc 7 IRQ_TYPE_LEVEL_LOW>, + <0x0000 0 0 4 &julianintc 8 IRQ_TYPE_LEVEL_LOW>, + <0x0800 0 0 1 &julianintc 6 IRQ_TYPE_LEVEL_LOW>, + <0x0800 0 0 2 &julianintc 7 IRQ_TYPE_LEVEL_LOW>, + <0x0800 0 0 3 &julianintc 8 IRQ_TYPE_LEVEL_LOW>, + <0x0800 0 0 4 &julianintc 5 IRQ_TYPE_LEVEL_LOW>, + <0x1000 0 0 1 &julianintc 7 IRQ_TYPE_LEVEL_LOW>, + <0x1000 0 0 2 &julianintc 8 IRQ_TYPE_LEVEL_LOW>, + <0x1000 0 0 3 &julianintc 5 IRQ_TYPE_LEVEL_LOW>, + <0x1000 0 0 4 &julianintc 6 IRQ_TYPE_LEVEL_LOW>; + interrupt-map-mask = <0x1800 0 0 7>; + status = "okay"; +}; -- 2.39.2