ARM: dts: bcm63148: Add I2C block

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>
Reviewed-by: William Zhang <william.zhang@broadcom.com>
Link: https://lore.kernel.org/r/20260218-bcmbca-i2c-dts-v2-7-5373ef82c50c@kernel.org
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
This commit is contained in:
Linus Walleij 2026-02-18 10:30:54 +01:00 committed by Florian Fainelli
parent c0a82d19e2
commit 2fd6ea6878

View File

@ -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@3e00 {
compatible = "brcm,brcmper-i2c";
reg = <0x3e00 0x60>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
};
};