diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-04-28 13:59:42 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-12 15:16:27 +0200 |
commit | 905ea449c6bf0d3d6d0c89363f4e5e84a56783d8 (patch) | |
tree | 1d240f01586bf013fffcd200d3fe8a4f650cdd66 | |
parent | f4e18ae33f65e1a6ad56d58abca0bde57ef5bb0d (diff) |
ARM: digicolor: add i2c master controller support
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/boot/dts/cx92755.dtsi | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/cx92755_equinox.dts | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/cx92755.dtsi b/arch/arm/boot/dts/cx92755.dtsi index a2f5ffe1e8a8..af333261d046 100644 --- a/arch/arm/boot/dts/cx92755.dtsi +++ b/arch/arm/boot/dts/cx92755.dtsi @@ -116,4 +116,15 @@ interrupts = <46>; status = "disabled"; }; + + i2c: i2c@f0000120 { + compatible = "cnxt,cx92755-i2c"; + reg = <0xf0000120 0x10>; + interrupts = <28>; + clocks = <&main_clk>; + clock-frequency = <100000>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/cx92755_equinox.dts b/arch/arm/boot/dts/cx92755_equinox.dts index f33bf5635d47..90d52cc416dc 100644 --- a/arch/arm/boot/dts/cx92755_equinox.dts +++ b/arch/arm/boot/dts/cx92755_equinox.dts @@ -72,3 +72,7 @@ &uart0 { status = "okay"; }; + +&i2c { + status = "okay"; +}; |