6f062866cfb6582a43e5ca38b5cbec211c13e6f5
[oweals/openwrt.git] /
1 From a0a8338e905734518ab9b10b06e7fd0201228f8b Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 11 Jun 2018 15:53:40 -0700
4 Subject: [PATCH] ARM: dts: BCM5301x: Fix i2c controller interrupt type
5
6 The i2c controller should be using IRQ_TYPE_LEVEL_HIGH, fix that.
7
8 Fixes: bb097e3e0045 ("ARM: dts: BCM5301X: Add I2C support to the DT")
9 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
10 ---
11  arch/arm/boot/dts/bcm5301x.dtsi | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/arch/arm/boot/dts/bcm5301x.dtsi
15 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
16 @@ -365,7 +365,7 @@
17         i2c0: i2c@18009000 {
18                 compatible = "brcm,iproc-i2c";
19                 reg = <0x18009000 0x50>;
20 -               interrupts = <GIC_SPI 121 IRQ_TYPE_NONE>;
21 +               interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
22                 #address-cells = <1>;
23                 #size-cells = <0>;
24                 clock-frequency = <100000>;