xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-xlp9xx.txt (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1Device tree configuration for the I2C controller on the XLP9xx/5xx SoC
2
3Required properties:
4- compatible      : should be "netlogic,xlp980-i2c"
5- reg             : bus address start and address range size of device
6- interrupts      : interrupt number
7
8Optional properties:
9- clock-frequency : frequency of bus clock in Hz
10                    Defaults to 100 KHz when the property is not specified
11
12Example:
13
14i2c0: i2c@113100 {
15	compatible = "netlogic,xlp980-i2c";
16	#address-cells = <1>;
17	#size-cells = <0>;
18	reg = <0 0x113100 0x100>;
19	clock-frequency = <400000>;
20	interrupts = <30>;
21	interrupt-parent = <&pic>;
22};
23