xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-zx2967.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotZTE zx2967 I2C controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: must be "zte,zx296718-i2c"
5*c66ec88fSEmmanuel Vadot - reg: physical address and length of the device registers
6*c66ec88fSEmmanuel Vadot - interrupts: a single interrupt specifier
7*c66ec88fSEmmanuel Vadot - clocks: clock for the device
8*c66ec88fSEmmanuel Vadot - #address-cells: should be <1>
9*c66ec88fSEmmanuel Vadot - #size-cells: should be <0>
10*c66ec88fSEmmanuel Vadot - clock-frequency: the desired I2C bus clock frequency.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExamples:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot	i2c@112000 {
15*c66ec88fSEmmanuel Vadot		compatible = "zte,zx296718-i2c";
16*c66ec88fSEmmanuel Vadot		reg = <0x00112000 0x1000>;
17*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
18*c66ec88fSEmmanuel Vadot		clocks = <&osc24m>;
19*c66ec88fSEmmanuel Vadot		#address-cells = <1>
20*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
21*c66ec88fSEmmanuel Vadot		clock-frequency = <1600000>;
22*c66ec88fSEmmanuel Vadot	};
23