summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/keystone-k2g.dtsi
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2017-10-09 19:15:25 +0300
committerSantosh Shilimkar <ssantosh@kernel.org>2017-10-10 19:41:20 +0300
commitd0dfe5defdc1eda5cacbf39e63013684a4271e17 (patch)
tree0042bcb9d5092c9153c0c34a841992bfc492d603 /arch/arm/boot/dts/keystone-k2g.dtsi
parent55fe38f0c08f2b79b16bde9cc68eb8f3fe541150 (diff)
downloadlinux-d0dfe5defdc1eda5cacbf39e63013684a4271e17.tar.xz
ARM: dts: keystone-k2g: Add I2C nodes
Add nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/keystone-k2g.dtsi')
-rw-r--r--arch/arm/boot/dts/keystone-k2g.dtsi36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 5fcd2c6da46d..834141173010 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -28,6 +28,9 @@
aliases {
serial0 = &uart0;
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
rproc0 = &dsp0;
};
@@ -133,6 +136,39 @@
clocks = <&k2g_clks 0x0009 1>;
};
+ i2c0: i2c@2530000 {
+ compatible = "ti,keystone-i2c";
+ reg = <0x02530000 0x400>;
+ clocks = <&k2g_clks 0x003a 0>;
+ power-domains = <&k2g_pds 0x003a>;
+ interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@2530400 {
+ compatible = "ti,keystone-i2c";
+ reg = <0x02530400 0x400>;
+ clocks = <&k2g_clks 0x003b 0>;
+ power-domains = <&k2g_pds 0x003b>;
+ interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ i2c2: i2c@2530800 {
+ compatible = "ti,keystone-i2c";
+ reg = <0x02530800 0x400>;
+ clocks = <&k2g_clks 0x003c 0>;
+ power-domains = <&k2g_pds 0x003c>;
+ interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
kirq0: keystone_irq@026202a0 {
compatible = "ti,keystone-irq";
interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;