xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-xlp9xx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDevice tree configuration for the I2C controller on the XLP9xx/5xx SoC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible      : should be "netlogic,xlp980-i2c"
5*4882a593Smuzhiyun- reg             : bus address start and address range size of device
6*4882a593Smuzhiyun- interrupts      : interrupt number
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun- clock-frequency : frequency of bus clock in Hz
10*4882a593Smuzhiyun                    Defaults to 100 KHz when the property is not specified
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyuni2c0: i2c@113100 {
15*4882a593Smuzhiyun	compatible = "netlogic,xlp980-i2c";
16*4882a593Smuzhiyun	#address-cells = <1>;
17*4882a593Smuzhiyun	#size-cells = <0>;
18*4882a593Smuzhiyun	reg = <0 0x113100 0x100>;
19*4882a593Smuzhiyun	clock-frequency = <400000>;
20*4882a593Smuzhiyun	interrupts = <30>;
21*4882a593Smuzhiyun	interrupt-parent = <&pic>;
22*4882a593Smuzhiyun};
23