1
0
Fork 0

ARM: digicolor: add i2c master controller support

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
hifive-unleashed-5.1
Baruch Siach 2015-04-28 13:59:42 +03:00 committed by Arnd Bergmann
parent f4e18ae33f
commit 905ea449c6
2 changed files with 15 additions and 0 deletions

View File

@ -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";
};
};

View File

@ -72,3 +72,7 @@
&uart0 {
status = "okay";
};
&i2c {
status = "okay";
};