X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbcm53xx%2Fpatches-4.4%2F047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch;fp=target%2Flinux%2Fbcm53xx%2Fpatches-4.4%2F047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch;h=d233e06817687f31583683126dbe3a3cf8ef78d4;hb=3a2e735b966586b930ac0f0b1d662d72ac4e7bc8;hp=0000000000000000000000000000000000000000;hpb=8e0775197a3a3cdcf9653d62c5195120b830efa1;p=openwrt%2Fstaging%2Flynxis%2Fomap.git diff --git a/target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch b/target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch new file mode 100644 index 0000000000..d233e06817 --- /dev/null +++ b/target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch @@ -0,0 +1,34 @@ +From bb097e3e00457bd69ad3a767f6b99424e2e06411 Mon Sep 17 00:00:00 2001 +From: Jon Mason +Date: Mon, 6 Mar 2017 11:24:45 -0500 +Subject: [PATCH] ARM: dts: BCM5301X: Add I2C support to the DT + +Add I2C support to the bcm5301x Device Tree. Since no driver changes +are needed to enable this hardware, only the device tree changes are +required to make this functional. + +Signed-off-by: Jon Mason +Signed-off-by: Florian Fainelli +--- + arch/arm/boot/dts/bcm5301x.dtsi | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -338,6 +338,16 @@ + }; + }; + ++ i2c0: i2c@18009000 { ++ compatible = "brcm,iproc-i2c"; ++ reg = <0x18009000 0x50>; ++ interrupts = ; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ clock-frequency = <100000>; ++ status = "disabled"; ++ }; ++ + lcpll0: lcpll0@1800c100 { + #clock-cells = <1>; + compatible = "brcm,nsp-lcpll0";