Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271626

[PATCH 2/2] ARM: dts: NSP: Add I2C support to the DT

From Jon Mason <jonmason@broadcom.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: dts: NSP: Add I2C support to the DT
Date 2015-11-17 21:00 +0100
Message-ID <qvUA1-Xn-11@gated-at.bofh.it> (permalink)
References <qvUA1-Xn-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add I2C support to the Broadcom Northstar Plus 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>
---
 arch/arm/boot/dts/bcm-nsp.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 7335a74..b74438c 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -217,5 +217,14 @@
 
 			brcm,nand-has-wp;
 		};
+
+		i2c0: i2c@38000 {
+			compatible = "brcm,iproc-i2c";
+			reg = <0x38000 0x50>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
+			clock-frequency = <100000>;
+		};
 	};
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] ARM: dts: NSP: clean-ups and I2C support Jon Mason <jonmason@broadcom.com> - 2015-11-17 21:00 +0100
  [PATCH 2/2] ARM: dts: NSP: Add I2C support to the DT Jon Mason <jonmason@broadcom.com> - 2015-11-17 21:00 +0100
  [PATCH 1/2] ARM: dts: NSP: Device Tree clean-ups Jon Mason <jonmason@broadcom.com> - 2015-11-17 21:00 +0100
  Re: [PATCH 0/2] ARM: dts: NSP: clean-ups and I2C support Florian Fainelli <f.fainelli@gmail.com> - 2015-11-20 00:40 +0100

csiph-web