bcm53xx: backport BCM5301X patches
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.9 / 033-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch
1 From bb097e3e00457bd69ad3a767f6b99424e2e06411 Mon Sep 17 00:00:00 2001
2 From: Jon Mason <jonmason@broadcom.com>
3 Date: Mon, 6 Mar 2017 11:24:45 -0500
4 Subject: [PATCH] ARM: dts: BCM5301X: Add I2C support to the DT
5
6 Add I2C support to the bcm5301x Device Tree. Since no driver changes
7 are needed to enable this hardware, only the device tree changes are
8 required to make this functional.
9
10 Signed-off-by: Jon Mason <jonmason@broadcom.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 ---
13 arch/arm/boot/dts/bcm5301x.dtsi | 10 ++++++++++
14 1 file changed, 10 insertions(+)
15
16 --- a/arch/arm/boot/dts/bcm5301x.dtsi
17 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
18 @@ -338,6 +338,16 @@
19 };
20 };
21
22 + i2c0: i2c@18009000 {
23 + compatible = "brcm,iproc-i2c";
24 + reg = <0x18009000 0x50>;
25 + interrupts = <GIC_SPI 121 IRQ_TYPE_NONE>;
26 + #address-cells = <1>;
27 + #size-cells = <0>;
28 + clock-frequency = <100000>;
29 + status = "disabled";
30 + };
31 +
32 lcpll0: lcpll0@1800c100 {
33 #clock-cells = <1>;
34 compatible = "brcm,nsp-lcpll0";