aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-18 18:31:36 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-04-20 23:04:24 +0200
commit9437fbb7ab2c979b5b464c031d50a243706799ab (patch)
tree4056c538b54275fc2fbf878e38888677794831c8 /target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch
parent3ff31f8a7822aad352d2714cafce7db9ea15541d (diff)
downloadupstream-9437fbb7ab2c979b5b464c031d50a243706799ab.tar.gz
upstream-9437fbb7ab2c979b5b464c031d50a243706799ab.tar.bz2
upstream-9437fbb7ab2c979b5b464c031d50a243706799ab.zip
bcm53xx: backport BCM5301X patches
This fixes GIC interrupts (required before switching to 4.9), adds few new entires & introduces DTS for Archer C5. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch34
1 files changed, 34 insertions, 0 deletions
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 <jonmason@broadcom.com>
+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 <jonmason@broadcom.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+---
+ 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 = <GIC_SPI 121 IRQ_TYPE_NONE>;
++ #address-cells = <1>;
++ #size-cells = <0>;
++ clock-frequency = <100000>;
++ status = "disabled";
++ };
++
+ lcpll0: lcpll0@1800c100 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-lcpll0";