xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/i2c/i2c-cdns.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunCadence I2C controller Device Tree Bindings
2*4882a593Smuzhiyun-------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible		: Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10".
6*4882a593Smuzhiyun- reg			: Physical base address and size of I2C registers map.
7*4882a593Smuzhiyun- interrupts		: Property with a value describing the interrupt
8*4882a593Smuzhiyun			  number.
9*4882a593Smuzhiyun- interrupt-parent	: Must be core interrupt controller
10*4882a593Smuzhiyun- clocks		: Clock phandles (see clock bindings for details).
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyun	i2c0: i2c@e0004000 {
14*4882a593Smuzhiyun		compatible = "cdns,i2c-r1p10";
15*4882a593Smuzhiyun		reg = <0xe0004000 0x1000>;
16*4882a593Smuzhiyun		clocks = <&clkc 38>;
17*4882a593Smuzhiyun		interrupts = <0 25 4>;
18*4882a593Smuzhiyun		interrupt-parent = <&intc>;
19*4882a593Smuzhiyun		status = "disabled";
20*4882a593Smuzhiyun	};
21