xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-axxia.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunLSI Axxia I2C
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties :
4*4882a593Smuzhiyun- compatible : Must be "lsi,api2c"
5*4882a593Smuzhiyun- reg : Offset and length of the register set for the device
6*4882a593Smuzhiyun- interrupts : the interrupt specifier
7*4882a593Smuzhiyun- #address-cells : Must be <1>;
8*4882a593Smuzhiyun- #size-cells : Must be <0>;
9*4882a593Smuzhiyun- clock-names : Must contain "i2c".
10*4882a593Smuzhiyun- clocks: Must contain an entry for each name in clock-names. See the common
11*4882a593Smuzhiyun  clock bindings.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunOptional properties :
14*4882a593Smuzhiyun- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
15*4882a593Smuzhiyun  the default 100 kHz frequency will be used. As only Normal and Fast modes
16*4882a593Smuzhiyun  are supported, possible values are 100000 and 400000.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample :
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuni2c@2010084000 {
21*4882a593Smuzhiyun	compatible = "lsi,api2c";
22*4882a593Smuzhiyun	device_type = "i2c";
23*4882a593Smuzhiyun	#address-cells = <1>;
24*4882a593Smuzhiyun	#size-cells = <0>;
25*4882a593Smuzhiyun	reg = <0x20 0x10084000 0x00 0x1000>;
26*4882a593Smuzhiyun	interrupts = <0 19 4>;
27*4882a593Smuzhiyun	clocks = <&clk_per>;
28*4882a593Smuzhiyun	clock-names = "i2c";
29*4882a593Smuzhiyun	clock-frequency = <400000>;
30*4882a593Smuzhiyun};
31