Skip to content

Commit b2cd6fd

Browse files
ffainelligregkh
authored andcommitted
ARM: dts: BCM5301X: Fix I2C controller interrupt
[ Upstream commit 754c405 ] The I2C interrupt controller line is off by 32 because the datasheet describes interrupt inputs into the GIC which are for Shared Peripheral Interrupts and are starting at offset 32. The ARM GIC binding expects the SPI interrupts to be numbered from 0 relative to the SPI base. Fixes: bb097e3 ("ARM: dts: BCM5301X: Add I2C support to the DT") Tested-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b7ef25e commit b2cd6fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/boot/dts/bcm5301x.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
i2c0: i2c@18009000 {
409409
compatible = "brcm,iproc-i2c";
410410
reg = <0x18009000 0x50>;
411-
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
411+
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
412412
#address-cells = <1>;
413413
#size-cells = <0>;
414414
clock-frequency = <100000>;

0 commit comments

Comments
 (0)