diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-04-28 10:59:42 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-12 13:16:27 (GMT) |
commit | 905ea449c6bf0d3d6d0c89363f4e5e84a56783d8 (patch) | |
tree | 1d240f01586bf013fffcd200d3fe8a4f650cdd66 | |
parent | f4e18ae33f65e1a6ad56d58abca0bde57ef5bb0d (diff) | |
download | linux-905ea449c6bf0d3d6d0c89363f4e5e84a56783d8.tar.xz |
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 a2f5ffe..af33326 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 f33bf56..90d52cc 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"; +}; |