All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linusw@kernel.org>
To: "William Zhang" <william.zhang@broadcom.com>,
	"Anand Gore" <anand.gore@broadcom.com>,
	"Kursad Oney" <kursad.oney@broadcom.com>,
	"Florian Fainelli" <florian.fainelli@broadcom.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>
Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij <linusw@kernel.org>
Subject: [PATCH v2 7/7] ARM: dts: bcm63148: Add I2C block
Date: Wed, 18 Feb 2026 10:30:54 +0100	[thread overview]
Message-ID: <20260218-bcmbca-i2c-dts-v2-7-5373ef82c50c@kernel.org> (raw)
In-Reply-To: <20260218-bcmbca-i2c-dts-v2-0-5373ef82c50c@kernel.org>

The BCM63148 has a brcmper I2C block.

The peripheral range needs to be extended to accommodate
it. The Boot LUT is at offset + 0x10000 so extend it to
cover at least that too, 128 KB.

INTERRUPT_ID_I2C is at (ISR_TABLE3_OFFSET + 19) = 96+19 = 115,
convert back to SPI IRQ 115-32 = 83.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/broadcom/bcm63148.dtsi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/broadcom/bcm63148.dtsi b/arch/arm/boot/dts/broadcom/bcm63148.dtsi
index e071cddb28fc..52aea853095c 100644
--- a/arch/arm/boot/dts/broadcom/bcm63148.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm63148.dtsi
@@ -97,7 +97,7 @@ bus@ff800000 {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
-		ranges = <0 0xfffe8000 0x8000>;
+		ranges = <0 0xfffe8000 0x20000>;
 
 		/* GPIOs 0 .. 31 */
 		gpio0: gpio@100 {
@@ -197,5 +197,14 @@ nandcs: nand@0 {
 				reg = <0>;
 			};
 		};
+
+		i2c0: i2c@be00 {
+			compatible = "brcm,brcmper-i2c";
+			reg = <0xbe00 0x60>;
+			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
 	};
 };

-- 
2.53.0



  parent reply	other threads:[~2026-02-18  9:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18  9:30 [PATCH v2 0/7] ARM: dts: broadcom-bcmbca: Fixes amd I2C buses Linus Walleij
2026-02-18  9:30 ` [PATCH v2 1/7] ARM: dts: bcm6878: Fix PL081 DMA block IRQ Linus Walleij
2026-03-16 20:48   ` Florian Fainelli
2026-02-18  9:30 ` [PATCH v2 2/7] ARM: dts: bcm63138: Fix DMA IRQ Linus Walleij
2026-02-19 18:29   ` William Zhang
2026-03-16 20:48   ` Florian Fainelli
2026-02-18  9:30 ` [PATCH v2 3/7] ARM: dts: bcm6846: Add I2C bus block Linus Walleij
2026-03-17  1:32   ` William Zhang
2026-03-17 17:48   ` Florian Fainelli
2026-02-18  9:30 ` [PATCH v2 4/7] ARM: dts: bcm6855: Add I2C bus blocks Linus Walleij
2026-03-17  1:34   ` William Zhang
2026-03-17 17:48   ` Florian Fainelli
2026-02-18  9:30 ` [PATCH v2 5/7] ARM: dts: bcm6878: Add I2C bus block Linus Walleij
2026-03-17  1:36   ` William Zhang
2026-03-17 17:49   ` Florian Fainelli
2026-02-18  9:30 ` [PATCH v2 6/7] ARM: dts: bcm63138: Add I2C block Linus Walleij
2026-02-19 18:29   ` William Zhang
2026-03-16 20:53     ` Florian Fainelli
2026-03-17  1:42       ` William Zhang
2026-03-17 17:49   ` Florian Fainelli
2026-03-17 18:07     ` Florian Fainelli
2026-02-18  9:30 ` Linus Walleij [this message]
2026-03-17  1:40   ` [PATCH v2 7/7] ARM: dts: bcm63148: " William Zhang
2026-03-17 17:50   ` Florian Fainelli
2026-03-17 18:07     ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260218-bcmbca-i2c-dts-v2-7-5373ef82c50c@kernel.org \
    --to=linusw@kernel.org \
    --cc=anand.gore@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=florian.fainelli@broadcom.com \
    --cc=kursad.oney@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rafal@milecki.pl \
    --cc=william.zhang@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.