xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunZTE zx2967 I2C controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible: must be "zte,zx296718-i2c"
5*4882a593Smuzhiyun - reg: physical address and length of the device registers
6*4882a593Smuzhiyun - interrupts: a single interrupt specifier
7*4882a593Smuzhiyun - clocks: clock for the device
8*4882a593Smuzhiyun - #address-cells: should be <1>
9*4882a593Smuzhiyun - #size-cells: should be <0>
10*4882a593Smuzhiyun - clock-frequency: the desired I2C bus clock frequency.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExamples:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	i2c@112000 {
15*4882a593Smuzhiyun		compatible = "zte,zx296718-i2c";
16*4882a593Smuzhiyun		reg = <0x00112000 0x1000>;
17*4882a593Smuzhiyun		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
18*4882a593Smuzhiyun		clocks = <&osc24m>;
19*4882a593Smuzhiyun		#address-cells = <1>
20*4882a593Smuzhiyun		#size-cells = <0>;
21*4882a593Smuzhiyun		clock-frequency = <1600000>;
22*4882a593Smuzhiyun	};
23