Re: [PATCH 4/4] ARM: dts: keystone-k2g: Add I2C nodes
On 08/02/2017 05:17 PM, Franklin S Cooper Jr wrote: From: Vitaly AndrianovAdd nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov [d-gerl...@ti.com: Add power domain and clock properties] Signed-off-by: Dave Gerlach [fcoo...@ti.com: Update subject and commit message] Signed-off-by: Franklin S Cooper Jr It might be better to send this patch separately as it will go to the different tree. Reviewed-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2g.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index bf4d1fa..5c0acf37 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -27,6 +27,9 @@ aliases { serial0 = + i2c0 = + i2c1 = + i2c2 = }; cpus { @@ -113,6 +116,39 @@ status = "disabled"; }; + i2c0: i2c@253 { + compatible = "ti,keystone-i2c"; + reg = <0x0253 0x400>; + clocks = <_clks 0x003a 0>; + power-domains = <_pds 0x003a>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@2530400 { + compatible = "ti,keystone-i2c"; + reg = <0x02530400 0x400>; + clocks = <_clks 0x003b 0>; + power-domains = <_pds 0x003b>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@2530800 { + compatible = "ti,keystone-i2c"; + reg = <0x02530800 0x400>; + clocks = <_clks 0x003c 0>; + power-domains = <_pds 0x003c>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + kirq0: keystone_irq@026202a0 { compatible = "ti,keystone-irq"; interrupts = ; -- regards, -grygorii
Re: [PATCH 4/4] ARM: dts: keystone-k2g: Add I2C nodes
On 08/02/2017 05:17 PM, Franklin S Cooper Jr wrote: From: Vitaly Andrianov Add nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov [d-gerl...@ti.com: Add power domain and clock properties] Signed-off-by: Dave Gerlach [fcoo...@ti.com: Update subject and commit message] Signed-off-by: Franklin S Cooper Jr It might be better to send this patch separately as it will go to the different tree. Reviewed-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2g.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index bf4d1fa..5c0acf37 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -27,6 +27,9 @@ aliases { serial0 = + i2c0 = + i2c1 = + i2c2 = }; cpus { @@ -113,6 +116,39 @@ status = "disabled"; }; + i2c0: i2c@253 { + compatible = "ti,keystone-i2c"; + reg = <0x0253 0x400>; + clocks = <_clks 0x003a 0>; + power-domains = <_pds 0x003a>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@2530400 { + compatible = "ti,keystone-i2c"; + reg = <0x02530400 0x400>; + clocks = <_clks 0x003b 0>; + power-domains = <_pds 0x003b>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@2530800 { + compatible = "ti,keystone-i2c"; + reg = <0x02530800 0x400>; + clocks = <_clks 0x003c 0>; + power-domains = <_pds 0x003c>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + kirq0: keystone_irq@026202a0 { compatible = "ti,keystone-irq"; interrupts = ; -- regards, -grygorii