diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-10-27 21:37:29 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2021-11-16 04:09:40 +0100 |
commit | 754c4050a00e802e122690112fc2c3a6abafa7e2 (patch) | |
tree | 8e37bf9aa0a3871e602b833d08107de70e9ff173 /arch/arm | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-754c4050a00e802e122690112fc2c3a6abafa7e2.tar.xz linux-754c4050a00e802e122690112fc2c3a6abafa7e2.zip |
ARM: dts: BCM5301X: Fix I2C controller interrupt
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: bb097e3e0045 ("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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/bcm5301x.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index d4f355015e3c..437a2b0f68de 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -408,7 +408,7 @@ i2c0: i2c@18009000 { compatible = "brcm,iproc-i2c"; reg = <0x18009000 0x50>; - interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; #size-cells = <0>; clock-frequency = <100000>; |