From patchwork Thu Aug 31 11:52:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371462 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50ADAC83F10 for ; Thu, 31 Aug 2023 11:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QK3C9hzBUYGkTPq3YcUNd3ZydvbFcCmU+8RebSceeKY=; b=tv6fqrqQkG0P/f HnEfJkRSUkMrn6W1q7C3LqycfRmPh3DjD9Hb1/ilVmNU3+dLngON/K02OosR5H3ZWv30WmOOkHu+p wOJIcGfnSnZu7DfI0JRcDSUo8x0IyMjDjqrLEnEvqQjA/QZuEY9JlywqEcMDUpqG8NNi+90R8V3ne IKsB3+/ke7jE3pM1MIzi4Xq570JkRC9rR4+K96VtL3EUFz9YDo4n4S2JmJRV5gPjh5GEDzYt2DifN pc5BhE9IIUagDU/TUXwAb3q8MFbQDctitb/p2oC48YLbGklH91MPOam4uuJaV7zy5vwl1AsiDraQ8 MtjG9wRoG80XGPSO9LFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgEU-00FEIp-1c; Thu, 31 Aug 2023 11:53:06 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE8-00FE7L-1w for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:47 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by laurent.telenet-ops.be with bizsmtp id gBse2A00J3874jb01Bsevr; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274L-4k; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUY-Ja; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 01/13] ARM: dts: renesas: ape6evm: Drop bogus "mtd-rom" compatible value Date: Thu, 31 Aug 2023 13:52:23 +0200 Message-Id: <1c773aed6bd794cf36a9a787f77469eaa1359bef.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045244_796185_CA122A0E X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org make dtbs_check: arch/arm/boot/dts/r8a73a4-ape6evm.dtb: flash@0: compatible: 'oneOf' conditional failed, one must be fixed: ['cfi-flash', 'mtd-rom'] is too long 'cfi-flash' is not one of ['amd,s29gl01gp', 'amd,s29gl032a', 'amd,s29gl256n', 'amd,s29gl512n', 'arm,versatile-flash', 'arm,vexpress-flash', 'cortina,gemini-flash', 'cypress,hyperflash', 'ge,imp3a-firmware-mirror', 'ge,imp3a-paged-flash', 'gef,ppc9a-firmware-mirror', 'gef,ppc9a-paged-flash', 'gef,sbc310-firmware-mirror', 'gef,sbc310-paged-flash', 'gef,sbc610-firmware-mirror', 'gef,sbc610-paged-flash', 'intel,28f128j3', 'intel,dt28f160', 'intel,ixp4xx-flash', 'intel,JS28F128', 'intel,JS28F640', 'intel,PC28F640P30T85', 'numonyx,js28f00a', 'numonyx,js28f128', 'sst,sst39vf320', 'xlnx,xps-mch-emc-2.00.a'] 'cfi-flash' is not one of ['cypress,cy7c1019dv33-10zsxi', 'arm,vexpress-psram'] 'mtd-rom' is not one of ['cfi-flash', 'jedec-flash'] 'mtd-ram' was expected From schema: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dts index 91b27258be36ff45..de87f2682e323866 100644 --- a/arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dts +++ b/arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dts @@ -178,7 +178,7 @@ &cpu0 { &bsc { flash@0 { - compatible = "cfi-flash", "mtd-rom"; + compatible = "cfi-flash"; reg = <0x0 0x08000000>; bank-width = <2>; From patchwork Thu Aug 31 11:52:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371466 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A58FDC83F32 for ; Thu, 31 Aug 2023 11:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7+clrdZn/q6+/RaV9x4sSmJUI6z12exb7ZphATogBOk=; b=AvgqUxJ/R+baV9 jTa55SKPk/X3heI3YaBQ3yBsOCZevfTPaPZzHK9HCdxrJlaq/KuknRyBIIbcBeQKN15qMjn7tHKXU F0G/uVa8OygFa7C+pQAfVss+YMwfivFYFhb2HH4wutgyGeaOLAWUrDa2P0cN+u3/e8FAFf+x92Rzu Uj1SuMeFyYw/fk7LIgI9c+GH5OfiEUB5lDouwPhRh381LXccUh+nRclk2n63AvnWNhI9MRWv0twsi qof5GIXohjH+AZYqIMNAdNH/a1PL2lmKOLWvi18gTYUecnzDdibKpEtzFbOm5wWbkRkfinS2f6zL1 bekLzDLfCv8VF4R5NlmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgET-00FEHp-0s; Thu, 31 Aug 2023 11:53:05 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE8-00FE7K-1w for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:47 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by laurent.telenet-ops.be with bizsmtp id gBse2A00K3874jb01Bsevs; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274Q-5Y; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUb-LE; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 02/13] ARM: dts: renesas: gr-peach: Remove unneeded probe-type property Date: Thu, 31 Aug 2023 13:52:24 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045244_834245_FCDD537C X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "probe-type" property was only needed when used with the (long obsolete) "direct-mapped" compatible value. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts b/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts index 105f9c71f9fd54f4..dc05eaf391f8e069 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts @@ -36,7 +36,6 @@ lbsc { flash@18000000 { compatible = "mtd-rom"; - probe-type = "map_rom"; reg = <0x18000000 0x00800000>; bank-width = <4>; device-width = <1>; From patchwork Thu Aug 31 11:52:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371453 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D364C83F39 for ; Thu, 31 Aug 2023 11:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pA+PeEXAlLCDiUJ4oEQoilub2E6+GX6uy5JKUaAGuSg=; b=oBjUmusRJObPuA QA6dCcmAs8qNc+COJQnQ94WPUuS8eEti25bvIMhSX58ksWiHosbVcv9ANn/fcpOC/jRUism9jHOi0 7yd7JHkE6rY/jUY+kO1++PUSRJeNLWuprTmHza7p8zGV3f1uoVG2sbHruUv+yc2mGuKCod9vrnMwE Vi2uTYMBTfCyPEPi1ekdMkGhKWNWAND0jgKJIOHetdGHczBSnGUas4z5yvYeSQ6+X3xKxiVcyWv+M cZXmihKlYfIYLgS74k4b6bx3YTBtvcC3WgBDJ1Qt/tjAoPwrp2vQcW0sWRXHPN6WGvgT/lg1nXPBy r9YxYjUnAMSw1kw5ruvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE8-00FE9i-1C; Thu, 31 Aug 2023 11:52:44 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE5-00FE7G-0J for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:42 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by albert.telenet-ops.be with bizsmtp id gBse2A00A3874jb06BseXY; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274S-6N; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUg-M7; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 03/13] ARM: dts: renesas: Remove unused LBSC nodes from board DTS Date: Thu, 31 Aug 2023 13:52:25 +0200 Message-Id: <76ece7602045670cbb8dff684c3366ba6eb89add.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045241_277201_83452BE5 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Several board DTS files contain minimal device nodes that represent on-SoC Local Bus State Controllers (LBSC), although they belong in the SoC-specific DTS files instead. As these device nodes are incomplete and unused, and hamper adding proper nodes later, it is better to just remove them. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 5 ----- arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts | 5 ----- arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts | 5 ----- arch/arm/boot/dts/renesas/r7s9210-rza2mevb.dts | 5 ----- arch/arm/boot/dts/renesas/r8a7790-lager.dts | 5 ----- arch/arm/boot/dts/renesas/r8a7791-koelsch.dts | 5 ----- arch/arm/boot/dts/renesas/r8a7794-alt.dts | 5 ----- 7 files changed, 35 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index 1e8447176b1051f3..ee52c6d5349d0046 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -29,11 +29,6 @@ memory@8000000 { reg = <0x08000000 0x08000000>; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - leds { status = "okay"; compatible = "gpio-leds"; diff --git a/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts b/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts index dc05eaf391f8e069..9d29861f23f1d964 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-gr-peach.dts @@ -29,11 +29,6 @@ memory@20000000 { reg = <0x20000000 0x00a00000>; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - flash@18000000 { compatible = "mtd-rom"; reg = <0x18000000 0x00800000>; diff --git a/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts b/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts index 9bfa7d8e2888b9ee..e95b820e401663eb 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts @@ -60,11 +60,6 @@ key-3 { }; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - leds { compatible = "gpio-leds"; diff --git a/arch/arm/boot/dts/renesas/r7s9210-rza2mevb.dts b/arch/arm/boot/dts/renesas/r7s9210-rza2mevb.dts index 69a5a44b8a2fdd74..cd2324b8e8ffbddf 100644 --- a/arch/arm/boot/dts/renesas/r7s9210-rza2mevb.dts +++ b/arch/arm/boot/dts/renesas/r7s9210-rza2mevb.dts @@ -63,11 +63,6 @@ key-3 { }; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - leds { compatible = "gpio-leds"; diff --git a/arch/arm/boot/dts/renesas/r8a7790-lager.dts b/arch/arm/boot/dts/renesas/r8a7790-lager.dts index 5ad5349a50dc9b26..4d666ad8b114b33b 100644 --- a/arch/arm/boot/dts/renesas/r8a7790-lager.dts +++ b/arch/arm/boot/dts/renesas/r8a7790-lager.dts @@ -73,11 +73,6 @@ memory@140000000 { reg = <1 0x40000000 0 0xc0000000>; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - keyboard { compatible = "gpio-keys"; diff --git a/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts b/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts index 26a40782cc899bd0..545515b41ea3fae1 100644 --- a/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts @@ -73,11 +73,6 @@ memory@200000000 { reg = <2 0x00000000 0 0x40000000>; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - keyboard { compatible = "gpio-keys"; diff --git a/arch/arm/boot/dts/renesas/r8a7794-alt.dts b/arch/arm/boot/dts/renesas/r8a7794-alt.dts index 4d93319674c6efcf..08df031bc27c9e03 100644 --- a/arch/arm/boot/dts/renesas/r8a7794-alt.dts +++ b/arch/arm/boot/dts/renesas/r8a7794-alt.dts @@ -90,11 +90,6 @@ vccq_sdhi1: regulator-vccq-sdhi1 { states = <3300000 1>, <1800000 0>; }; - lbsc { - #address-cells = <1>; - #size-cells = <1>; - }; - keyboard { compatible = "gpio-keys"; From patchwork Thu Aug 31 11:52:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371455 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D82CC83F10 for ; Thu, 31 Aug 2023 11:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IW+9DTdOSLsEUHsODY/IIJOyNtSZYJNy05W/waa4yFo=; b=kjnxe3QBiYNFEJ CX9JQoU6jF5LwVDzP2fET3O3F8s1dyM69WiG3wNT52RASbnH7nIlYu7eiwlOi6LFkaxMVKW4cig63 Y/9Ki9KEq8mteHegBOpx4gcgleRhY44E43IuiuQPRxCyLM5T5n16V5/C/FUv8tsB4gyIcuaBAXnwS sTVyokfVLm7EdWz6oiTShoCuIIMozmGtXJ/iP4a7xfy5l3JA76vJ0uQf4BJpZXfJJH6V/kIqjpr8E i0/SqbVvQb6q5VR3eHxISYjk9aONm4xY1JNr2M/2HgjDTO6YrB9VZxJ4o60AlxHHsRbN0Ipv/PQrH lT3geduaY7wIAqABzuxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgES-00FEHP-1w; Thu, 31 Aug 2023 11:53:04 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE8-00FE7I-1v for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:46 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by laurent.telenet-ops.be with bizsmtp id gBse2A00L3874jb01Bsevt; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274Y-7F; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUk-Mo; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 04/13] ARM: dts: renesas: r7s72100: Add BSC node Date: Thu, 31 Aug 2023 13:52:26 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045244_794078_4C467676 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a minimal device node for the Bus State Controller (BSC) on the RZ/A1H SoC, to be extended by board DTS files for devices residing in the BSC external address space. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100.dtsi b/arch/arm/boot/dts/renesas/r7s72100.dtsi index b07b71307f24ad59..e6d8da6faffb5576 100644 --- a/arch/arm/boot/dts/renesas/r7s72100.dtsi +++ b/arch/arm/boot/dts/renesas/r7s72100.dtsi @@ -36,6 +36,13 @@ b_clk: b { clock-div = <3>; }; + bsc: bsc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x18000000>; + }; + cpus { #address-cells = <1>; #size-cells = <0>; From patchwork Thu Aug 31 11:52:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371459 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8853EC83F12 for ; Thu, 31 Aug 2023 11:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ciljvPcIORRLM6cLmPwXkIW6Yq7RgRMiGC1xkgdbdmw=; b=roP2lWJIcxoa73 tVLMHzUKe2PxcMhkHeBDUKDiTP2d0HocebNG03vBOm20jkf04+RJLoJYVqpRmkyPIrEWx+0rH0rSu lsKyNLNDeybjP2TM36W4pklEp7zCaWS7hjfDUW+jBuQPdIxrGi5kkqI0RTS1OUejFRg38vuj82rEI 9WmpmsvuZsX+fvi/pPCDXbPeVSNS+IsCLmuIeGy+6J7FjK159mhNOBCDDIHYV7fvHKgU3RsNGRhV4 7bAxUvJxsdjZniPNC79HL9JWGJU0GNLAmKZjR7uZGnVlBxgVQvAkmv72hTUeBCWUCKKmgRoR2TmMi HUv9//XAgqOMLzvIMYLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgEV-00FEJJ-0G; Thu, 31 Aug 2023 11:53:07 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE9-00FE7Q-08 for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:47 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by michel.telenet-ops.be with bizsmtp id gBse2A00N3874jb06Bse6L; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274e-84; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUo-Np; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 05/13] ARM: dts: renesas: r8a7779: Add LBSC node Date: Thu, 31 Aug 2023 13:52:27 +0200 Message-Id: <2d0a6054306b4975355e65fe012f860ec00fcf55.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045245_288459_D20AFA98 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a minimal device node for the Local Bus State Controller (LBSC) on the R-Car H1 SoC, to be extended by board DTS files for devices residing in the LBSC external address space. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7779.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r8a7779.dtsi b/arch/arm/boot/dts/renesas/r8a7779.dtsi index bba0c6d2386cd042..eaed2ae339383b34 100644 --- a/arch/arm/boot/dts/renesas/r8a7779.dtsi +++ b/arch/arm/boot/dts/renesas/r8a7779.dtsi @@ -706,6 +706,13 @@ R8A7779_CLK_MMC1 R8A7779_CLK_MMC0 }; }; + lbsc: lbsc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x1c000000>; + }; + prr: chipid@ff000044 { compatible = "renesas,prr"; reg = <0xff000044 4>; From patchwork Thu Aug 31 11:52:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371456 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1F4CC83F12 for ; Thu, 31 Aug 2023 11:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ERoFv0IIz12Sm/2fLkhte+rGWJyUdp0cuTIOasHNnsU=; b=x+qYuCfWpFcvgE 3dwVIOFQHRxEVAC84BykLe1O03oxb0W9aecINIIyCZ+Rv1HvMf6JawF3WKiDSDQVfEhJ/jTA37Ugi fp1pNhZ9wZR49ZWvpXWU8HzaK9Vo6EoyoWhEhwYpmbVUB6iK77A2FX/XmgC0/5TvOhbmm6NbwmU2k sntFhBW4c3cFgQ5LNMivsrtpeQzjfSnhvBXr+ufAyNm9GuARwRvCi2m9hj7WW//sEkWcxifAeZEls CeN7rNG28oVTW78WxK9rvuDPO6ALx/A97aJsIYZbO0chlZv2O/sCuddWHs296Ch09sGa009hKhwpx FmIYHCEExZh7oYWNPDog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgER-00FEGh-1v; Thu, 31 Aug 2023 11:53:03 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE7-00FE7U-2C for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:45 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by baptiste.telenet-ops.be with bizsmtp id gBse2A00Z3874jb01BseNd; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274h-8p; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUu-Oe; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 06/13] ARM: dts: renesas: r8a7792: Add LBSC node Date: Thu, 31 Aug 2023 13:52:28 +0200 Message-Id: <182fce2257679f6a8963ecb77aae68af617556d1.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045243_909778_11E0E5DA X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a minimal device node for the Local Bus State Controller (LBSC) on the R-Car V2H SoC, to be extended by board DTS files for devices residing in the LBSC external address space. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7792.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r8a7792.dtsi b/arch/arm/boot/dts/renesas/r8a7792.dtsi index a6d9367f8fa047be..ecfab3ff59e843ff 100644 --- a/arch/arm/boot/dts/renesas/r8a7792.dtsi +++ b/arch/arm/boot/dts/renesas/r8a7792.dtsi @@ -84,6 +84,13 @@ extal_clk: extal { clock-frequency = <0>; }; + lbsc: lbsc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0x1c000000>; + }; + pmu { compatible = "arm,cortex-a15-pmu"; interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, From patchwork Thu Aug 31 11:52:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371465 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 192B0C83F10 for ; Thu, 31 Aug 2023 11:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=THHGmmacACFbfj0erYifyfCIOM+tGTAjfLqntFX1Vqc=; b=wKNv+uAZxxc+Hm DlY62s75dEaPKi8LjMQmNwV7qXaXyX2pkp85dHAcrXgbUruRto9H5ogCJnlrsL3V1a0POdXfpr3Yh 2nVWwz2ecB+M7jkaZhNfHHUmqX1Hp++10gUlevLdaH0Z5sZwM1XCAPDXUqdA4bOmMKnS21XtV5618 fRgLrp7tdgiskOedPjPM/ztslNhvEAZ0LLahCPRdV/5mWzrau7snahgaribnKwQDctH9U4gkmRk3y si7KP9jF0HINUKUf682jd5FMjaM712toFAskd6A7YjG/9TpDNwrC8wxA6wN00AklzNfd8XJjYX1jh pv2Iv2/BmtQRRjJgeYZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgEW-00FEL3-2Z; Thu, 31 Aug 2023 11:53:08 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE9-00FE7O-07 for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:48 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by michel.telenet-ops.be with bizsmtp id gBse2A00Q3874jb06Bse6M; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274l-9c; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIUz-PN; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 07/13] ARM: dts: renesas: marzen: Move Ethernet node to LBSC Date: Thu, 31 Aug 2023 13:52:29 +0200 Message-Id: <74a8ee61ed89c9ca0489156a4f135ecb825e56b9.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045245_333078_5173BCF9 X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SMSC LAN89218AQ Ethernet controller on the Marzen development board resides in the external address space of the Local Bus State Controller (LBSC). Move the Ethernet device node to reflect this. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7779-marzen.dts | 32 +++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r8a7779-marzen.dts b/arch/arm/boot/dts/renesas/r8a7779-marzen.dts index 50a468c8018351df..9c001cbfc02f79f7 100644 --- a/arch/arm/boot/dts/renesas/r8a7779-marzen.dts +++ b/arch/arm/boot/dts/renesas/r8a7779-marzen.dts @@ -52,21 +52,6 @@ vccq_sdhi0: regulator-vccq-sdhi0 { states = <3300000 1>, <1800000 0>; }; - ethernet@18000000 { - compatible = "smsc,lan89218", "smsc,lan9115"; - reg = <0x18000000 0x100>; - pinctrl-0 = <ðernet_pins>; - pinctrl-names = "default"; - - phy-mode = "mii"; - interrupt-parent = <&irqpin0>; - interrupts = <1 IRQ_TYPE_EDGE_FALLING>; - smsc,irq-push-pull; - reg-io-width = <4>; - vddvario-supply = <&fixedregulator3v3>; - vdd33a-supply = <&fixedregulator3v3>; - }; - keyboard-irq { compatible = "gpio-keys"; @@ -229,6 +214,23 @@ &extal_clk { clock-frequency = <31250000>; }; +&lbsc { + ethernet@18000000 { + compatible = "smsc,lan89218", "smsc,lan9115"; + reg = <0x18000000 0x100>; + pinctrl-0 = <ðernet_pins>; + pinctrl-names = "default"; + + phy-mode = "mii"; + interrupt-parent = <&irqpin0>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + smsc,irq-push-pull; + reg-io-width = <4>; + vddvario-supply = <&fixedregulator3v3>; + vdd33a-supply = <&fixedregulator3v3>; + }; +}; + &tmu0 { status = "okay"; }; From patchwork Thu Aug 31 11:52:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371463 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D8EAC83F32 for ; Thu, 31 Aug 2023 11:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gE+WI71Qx3wOlumOsHcWOAWTTPsO2aAYy+ShOX67CaM=; b=LJU+fBFZouCycW hcDsQyY7nwNPjm9o02b2KpOWsFXViBjgPeMWy5fYVMgRLmJdY9TByyvomFH4AdmGZgk3PqkoaNUrY 70yECi/4awUL8UDMDnEZFmaof2xGjGVgRqTV7Nbjixn/mPyzZnijhmFke0pceBD1f1Sg5Ruc0ecdY g5Wfu+jfIaONB0OmdO+Z+XEMr4Bz0ptcQcOIzaA/s0+oT6dtqWdSLTO87Uoz4u9zwNJLU7lOGaxTs obKKp7fAMSlBpUvCaQ1ANIqJLKHL66k5moz8LStjOj06vE9Xogruh1jP2uG0pntvzy9d09Gk0TFnr Alet4mbbD6KwWRtj3ehw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgEV-00FEJw-24; Thu, 31 Aug 2023 11:53:07 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE9-00FE7N-07 for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:48 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by michel.telenet-ops.be with bizsmtp id gBse2A00R3874jb06Bse6N; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274o-AN; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIV4-Q7; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 08/13] ARM: dts: renesas: blanche: Move Ethernet node to LBSC Date: Thu, 31 Aug 2023 13:52:30 +0200 Message-Id: <457239047bc8b5deabf15d816043a89ab00db5ef.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045245_280745_48FFE1BB X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SMSC LAN89218AQ Ethernet controller on the Blanche development board resides in the external address space of the Local Bus State Controller (LBSC). Move the Ethernet device node to reflect this. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7792-blanche.dts | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts index 6a83923aa4612e71..e793134f32a3020a 100644 --- a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts @@ -39,21 +39,6 @@ d3_3v: regulator-3v3 { regulator-always-on; }; - ethernet@18000000 { - compatible = "smsc,lan89218", "smsc,lan9115"; - reg = <0 0x18000000 0 0x100>; - phy-mode = "mii"; - interrupt-parent = <&irqc>; - interrupts = <0 IRQ_TYPE_EDGE_FALLING>; - smsc,irq-push-pull; - reg-io-width = <4>; - vddvario-supply = <&d3_3v>; - vdd33a-supply = <&d3_3v>; - - pinctrl-0 = <&lan89218_pins>; - pinctrl-names = "default"; - }; - vga-encoder { compatible = "adi,adv7123"; @@ -196,6 +181,23 @@ &can_clk { clock-frequency = <48000000>; }; +&lbsc { + ethernet@18000000 { + compatible = "smsc,lan89218", "smsc,lan9115"; + reg = <0x18000000 0x100>; + phy-mode = "mii"; + interrupt-parent = <&irqc>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + smsc,irq-push-pull; + reg-io-width = <4>; + vddvario-supply = <&d3_3v>; + vdd33a-supply = <&d3_3v>; + + pinctrl-0 = <&lan89218_pins>; + pinctrl-names = "default"; + }; +}; + &pfc { scif0_pins: scif0 { groups = "scif0_data"; From patchwork Thu Aug 31 11:52:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371458 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08797C83F32 for ; Thu, 31 Aug 2023 11:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oP3LXcJA8tiQLhIueviKj4MqrrytLTCXKQdIkryMVQE=; b=lnUZKct0SV73f8 6km/vPe8CD2fJ/gYc/uW6an/Z7Nm7FHL+4qCzZmFmwSF4WFqgJ0OhCMcF1gEpQUOJ6xt0rX9F1x5w M6yBEGF2riYqOKGdfmXDSREsIbhrJBRxqFlHdJfe1sTe6+B3SHw8jtn/7J5pG0dYLsxVLuwR3iNtE Yt9+AJEguae8E0kIkBApoydvY78E5ttqZMicBSbqeMCQMTRCZMJwG2vUMcq05pw/jMNbMI812iWz8 8XYGzDuptYTzY5rnfhY49qQax/j8sO95QnafonlVoiE3EkmiT0gxIQSO1U8UoTECBgXiSAe4xoo05 BJ0y+DgX2gUVguGzd6KQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgER-00FEGI-0I; Thu, 31 Aug 2023 11:53:03 +0000 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE5-00FE7V-18 for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:43 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by xavier.telenet-ops.be with bizsmtp id gBse2A00z3874jb01BseSK; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274s-B2; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIV9-Qq; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 09/13] ARM: dts: renesas: wheat: Move Ethernet node to LBSC Date: Thu, 31 Aug 2023 13:52:31 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045241_523308_6AD7BE46 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SMSC LAN89218AQ Ethernet controller on the Wheat development board resides in the external address space of the Local Bus State Controller (LBSC). Move the Ethernet device node to reflect this. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7792-wheat.dts | 34 +++++++++++---------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r8a7792-wheat.dts b/arch/arm/boot/dts/renesas/r8a7792-wheat.dts index 434e4655be9daff7..f87e78fe3f6e6aec 100644 --- a/arch/arm/boot/dts/renesas/r8a7792-wheat.dts +++ b/arch/arm/boot/dts/renesas/r8a7792-wheat.dts @@ -38,22 +38,6 @@ d3_3v: regulator-3v3 { regulator-always-on; }; - ethernet@18000000 { - compatible = "smsc,lan89218", "smsc,lan9115"; - reg = <0 0x18000000 0 0x100>; - phy-mode = "mii"; - interrupt-parent = <&irqc>; - interrupts = <0 IRQ_TYPE_EDGE_FALLING>; - smsc,irq-push-pull; - smsc,save-mac-address; - reg-io-width = <4>; - vddvario-supply = <&d3_3v>; - vdd33a-supply = <&d3_3v>; - - pinctrl-0 = <&lan89218_pins>; - pinctrl-names = "default"; - }; - keyboard { compatible = "gpio-keys"; @@ -117,6 +101,24 @@ &extal_clk { clock-frequency = <20000000>; }; +&lbsc { + ethernet@18000000 { + compatible = "smsc,lan89218", "smsc,lan9115"; + reg = <0x18000000 0x100>; + phy-mode = "mii"; + interrupt-parent = <&irqc>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + smsc,irq-push-pull; + smsc,save-mac-address; + reg-io-width = <4>; + vddvario-supply = <&d3_3v>; + vdd33a-supply = <&d3_3v>; + + pinctrl-0 = <&lan89218_pins>; + pinctrl-names = "default"; + }; +}; + &pfc { scif0_pins: scif0 { groups = "scif0_data"; From patchwork Thu Aug 31 11:52:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371454 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D864BC83F32 for ; Thu, 31 Aug 2023 11:53:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OAS3qf3H+FT8xVWaaQl0V+W7EzzVFxxrxKJVlSzysDM=; b=G01GJKxbXksAhq to9rS53pV6i+O+pNJiZBUgy4v/6yt4LZ+mTYJ06VfAGGMV5oP1cWGWX4hw4bvlpX9q991gm6cea6b Q7/Mcb1vCoyIszfey91AjYGEy6YZwp6iQnVf1WTaShkCanELoYbNyMIQ1lBoEJYu301ip6DL0aiwE SZkXOrp5fRJAK59DxuDVUGbG16QjHYrjWzM339kTeTKq7WbiJVmMrROtPX3MUR1hpTwoEpkfF3+Xs UaLDTUEePXFcZNL7wqBWU1hjxGaUg5PxGHCmrWl2IBc6EkUhVNq3O2w7WWK/UmQmYrIpgGU1PBJPh iazKr9zYIzX9LsDsnOwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE7-00FE99-2R; Thu, 31 Aug 2023 11:52:43 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE5-00FE7J-0J for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:42 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by albert.telenet-ops.be with bizsmtp id gBsf2A0033874jb06BsfXb; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274y-Bt; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIVE-Rb; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 10/13] ARM: dts: renesas: genmai: Add FLASH nodes Date: Thu, 31 Aug 2023 13:52:32 +0200 Message-Id: <53c89c70c6b010702fd9ab5247e19986857671ba.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045241_277659_0433B53F X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device nodes for the two Spansion S29GL512S NOR FLASHes and the dual Spansion S25FL512S QSPI NOR FLASH on the Genmai development board. The former reside in the address space of the Bus State Controller (BSC). The latter is mapped directly through the SPI Multi I/O Bus Controller. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index ee52c6d5349d0046..29ba098f5dd5e86b 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -29,6 +29,35 @@ memory@8000000 { reg = <0x08000000 0x08000000>; }; + flash@18000000 { + compatible = "mtd-rom"; + reg = <0x18000000 0x08000000>; + bank-width = <4>; + device-width = <1>; + + clocks = <&mstp9_clks R7S72100_CLK_SPIBSC0>; + power-domains = <&cpg_clocks>; + + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "user"; + reg = <0x00000000 0x04000000>; + }; + + partition@4000000 { + label = "user1"; + reg = <0x04000000 0x40000000>; + }; + }; + }; + leds { status = "okay"; compatible = "gpio-leds"; @@ -82,6 +111,62 @@ &extal_clk { clock-frequency = <13330000>; }; +&bsc { + flash@0 { + compatible = "cfi-flash"; + reg = <0x00000000 0x04000000>; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000000 0x00040000>; + }; + + partition@40000 { + label = "uboot-env"; + reg = <0x00040000 0x00020000>; + }; + + partition@60000 { + label = "flash"; + reg = <0x00060000 0x03fa0000>; + }; + }; + }; + + flash@4000000 { + compatible = "cfi-flash"; + reg = <0x04000000 0x04000000>; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot1"; + reg = <0x00000000 0x00040000>; + }; + + partition@40000 { + label = "uboot-env1"; + reg = <0x00040000 0x00020000>; + }; + + partition@60000 { + label = "flash1"; + reg = <0x00060000 0x03fa0000>; + }; + }; + }; +}; + &usb_x1_clk { clock-frequency = <48000000>; }; From patchwork Thu Aug 31 11:52:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371461 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B59C0C83F34 for ; Thu, 31 Aug 2023 11:53:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pmpudxbe88bU5vkhsUFC+ejRn+ZoCK4zzwy9bI8+gLg=; b=AjsDcoNpnL2+Yg TQUnO6re2d9J9q4yitJWGeDSYRrhrobsFONyjemN161N593MCUTyMCC6NmiaBHlFQI8Obt99PrhFL /7jnBsmtKiCOBu60IYUNl9235SMo6VcvngjSoMikpbuYlBB2LPE+OwIIPxw5Wfg4VCAyMRH0hGvTk MnmJCcCBKhO3954sEn13oq3lbc1IJtlWAfTrLeWc29cqX/ZrCxohuZqZ2sk6UdkkvmDLtYsqM5E3x ZQYVsEs9mrrJFhEWc5Wxy2ubsdoAB+dK/NfN1RY1g3DdX5JEVd3BIY2olSn3PfQEs6sA+8QKGsa44 4jdT/sHEOfJBnu60wwiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgET-00FEID-2g; Thu, 31 Aug 2023 11:53:05 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE8-00FE7M-1w for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:47 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by laurent.telenet-ops.be with bizsmtp id gBsf2A0023874jb01Bsfvy; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-00274z-Cg; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIVJ-SJ; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 11/13] ARM: dts: renesas: rskrza1: Add FLASH nodes Date: Thu, 31 Aug 2023 13:52:33 +0200 Message-Id: <17a221699da14639e72264ffa39d47592d470f9a.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045244_828950_F86F9C60 X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device nodes for the Spansion S29GL512S NOR FLASH and the dual Spansion S25FL512S QSPI NOR FLASH on the RSK+RZA1 development board. The former resides in the external address space of the Bus State Controller (BSC). The latter is mapped directly through the SPI Multi I/O Bus Controller. Signed-off-by: Geert Uytterhoeven --- .../arm/boot/dts/renesas/r7s72100-rskrza1.dts | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts b/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts index e95b820e401663eb..f3233290041d0b52 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts @@ -29,6 +29,48 @@ memory@8000000 { reg = <0x08000000 0x02000000>; }; + flash@18000000 { + compatible = "mtd-rom"; + reg = <0x18000000 0x08000000>; + clocks = <&mstp9_clks R7S72100_CLK_SPIBSC0>; + power-domains = <&cpg_clocks>; + bank-width = <4>; + device-width = <1>; + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000000 0x00080000>; + }; + + partition@80000 { + label = "uboot-env"; + reg = <0x00080000 0x00040000>; + }; + + partition@c0000 { + label = "dt"; + reg = <0x000c0000 0x00040000>; + }; + + partition@100000 { + label = "kernel"; + reg = <0x00100000 0x00280000>; + }; + + partition@400000 { + label = "rootfs"; + reg = <0x00400000 0x01c00000>; + }; + }; + }; + keyboard { compatible = "gpio-keys"; @@ -113,6 +155,30 @@ eeprom@50 { }; }; +&bsc { + flash@0 { + compatible = "cfi-flash"; + reg = <0x00000000 0x4000000>; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "apps"; + reg = <0x00000000 0x01000000>; + }; + + partition@1000000 { + label = "data"; + reg = <0x01000000 0x03000000>; + }; + }; + }; +}; + &usb_x1_clk { clock-frequency = <48000000>; }; From patchwork Thu Aug 31 11:52:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371464 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05E7FC83F10 for ; Thu, 31 Aug 2023 11:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oqReGemPrPQxK8eOQXPtQSNBNu5WXqhIGTKmuIt7eg0=; b=A4+PDsPvBp9YrX xkjaewTX/IpUoUDV4Y5UaKBVpDLR4uHh6nNLAxWpUjHqFQjKNTtx9TURgbKG5+6DTIixq+1jxYEdQ R7qAYLuGRRoddBuXYCYeDsEGw0VD1jzVEt+qstFQs68n9+NdSX3oqZmdpenxr5QI1lTjStpuzk1Bi iabeNgbwwVU+MxwNXahP8/8ilt98aiCOLJoXjcU+dqqt/9/E9nqCPzHeOZfQWizc/hx8iu8EZBS53 2YTezr3u/qSFR53MLd+HReJumREEjR503Q4R+sWybYcVYIEYzmpeyXwsfsppjzFPJ4zTcksLa6p/6 mMVEuykmhkhaMsMhEl+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgES-00FEGz-0G; Thu, 31 Aug 2023 11:53:04 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE7-00FE7S-2C for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:45 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by baptiste.telenet-ops.be with bizsmtp id gBsf2A00B3874jb01BsfNn; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-002755-Dw; Thu, 31 Aug 2023 13:52:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIVN-T8; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 12/13] ARM: dts: renesas: marzen: Add FLASH node Date: Thu, 31 Aug 2023 13:52:34 +0200 Message-Id: <440ce3bb950c34fd57071b4eec83ad9643b682e5.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045243_893862_6FEF54CB X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a device node for the Spansion S29GL512N NOR FLASH on the Marzen development board. This FLASH resides in the external address space of the Local Bus State Controller. Note that as the CFI-FLASH has a run-time conflict with CPU bring-up, it will only be available when booting with SMP disabled. Signed-off-by: Geert Uytterhoeven --- Changes compared to RFC: - Use "cfi-flash" compatible value, - Add pin control, - Move to LBSC, - Depends on "[PATCH] ARM: shmobile: r8a7779: Reserve boot area when SMP is enabled". [1] "[PATCH/RFC] ARM: dts: marzen: Add FLASH node" https://lore.kernel.org/r/07cf5e2b466f3ba217403afc66a8246460609e09.1679330105.git.geert+renesas@glider.be/ --- arch/arm/boot/dts/renesas/r8a7779-marzen.dts | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r8a7779-marzen.dts b/arch/arm/boot/dts/renesas/r8a7779-marzen.dts index 9c001cbfc02f79f7..dfc6d63a21cd5474 100644 --- a/arch/arm/boot/dts/renesas/r8a7779-marzen.dts +++ b/arch/arm/boot/dts/renesas/r8a7779-marzen.dts @@ -229,6 +229,35 @@ &extal_clk { }; &lbsc { + flash@0 { + compatible = "cfi-flash"; + reg = <0x0 0x04000000>; + pinctrl-0 = <&flash_pins>; + pinctrl-names = "default"; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000000 0x00040000>; + read-only; + }; + partition@40000 { + label = "uboot-env"; + reg = <0x00040000 0x00040000>; + read-only; + }; + partition@80000 { + label = "flash"; + reg = <0x00080000 0x03f80000>; + }; + }; + }; + ethernet@18000000 { compatible = "smsc,lan89218", "smsc,lan9115"; reg = <0x18000000 0x100>; @@ -288,6 +317,11 @@ lbsc { }; }; + flash_pins: flash { + groups = "lbsc_cs0"; + function = "lbsc"; + }; + scif2_pins: scif2 { groups = "scif2_data_c"; function = "scif2"; From patchwork Thu Aug 31 11:52:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13371460 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F63EC83F33 for ; Thu, 31 Aug 2023 11:53:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5TzbVrX9wqbsHBknVV8dGX/b92Vr2AbC5QyDo6/xVdQ=; b=3LhxKqGdnJuu+G w2RQoan4cR2SiUuBSMgIBqhvZMgRPRdj0NInhbRlgrte2JPTcU51lI+pPN8tsHJwddSOjdfYRC7/G duLWy7UtSR+3VXOfNcakRegTh0v9h9skSWBFAOlxQ0nFFQ8bz0vqAflsvLzsnfKmrtOoPQOp91iYJ xkxQlZF+N2C/9skL6G+b+I6VfyyOHBZuJb5svgj7DoV5XyqCOsuGoZutulSwYr4SffVPDoGUPOAy8 3XM7ZhS6Vi0IrRHMlEFDlJaxto1tpzYXYgDFGQ4HNoin7InBYdSqpeZzYz4vziIUxtUQ2Kyh0GsUZ onFi+l70HT81d787ApdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbgEW-00FEKQ-0k; Thu, 31 Aug 2023 11:53:08 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbgE9-00FE7R-08 for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2023 11:52:48 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:6c13:6b1b:7366:87c0]) by michel.telenet-ops.be with bizsmtp id gBsf2A0033874jb06Bsf6P; Thu, 31 Aug 2023 13:52:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qbgDq-002759-F1; Thu, 31 Aug 2023 13:52:39 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qbgE2-00CIVT-Tt; Thu, 31 Aug 2023 13:52:38 +0200 From: Geert Uytterhoeven To: Magnus Damm , Marek Vasut , Jacopo Mondi , Chris Brandt , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 13/13] ARM: dts: renesas: blanche: Add FLASH node Date: Thu, 31 Aug 2023 13:52:35 +0200 Message-Id: <7edb26bc29ad58198901ae6b6f869684473bb29d.1693481518.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230831_045245_331387_AB58756F X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a device node for the Spansion S29GL512S NOR FLASH on the Blanche development board. This FLASH resides in the external address space of the Local Bus State Controller. Signed-off-by: Geert Uytterhoeven --- This depends on "[PATCH] ARM: shmobile: rcar-gen2: Reserve boot area when SMP is enabled". --- arch/arm/boot/dts/renesas/r8a7792-blanche.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts index e793134f32a3020a..4ee83b8aae2a4f19 100644 --- a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts @@ -182,6 +182,35 @@ &can_clk { }; &lbsc { + flash@0 { + compatible = "cfi-flash"; + reg = <0x00000000 0x04000000>; + pinctrl-0 = <&flash_pins>; + pinctrl-names = "default"; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000000 0x00040000>; + read-only; + }; + partition@40000 { + label = "uboot-env"; + reg = <0x00040000 0x00040000>; + read-only; + }; + partition@80000 { + label = "flash"; + reg = <0x00080000 0x03f80000>; + }; + }; + }; + ethernet@18000000 { compatible = "smsc,lan89218", "smsc,lan9115"; reg = <0x18000000 0x100>; @@ -240,6 +269,11 @@ du1_pins: du1 { function = "du1"; }; + flash_pins: flash { + groups = "lbsc_cs0"; + function = "lbsc"; + }; + keyboard_pins: keyboard { pins = "GP_3_10", "GP_3_11", "GP_3_12", "GP_3_15", "GP_11_2"; bias-pull-up;