xref: /freebsd-src/sys/contrib/device-tree/Bindings/i2c/i2c-axxia.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotLSI Axxia I2C
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties :
4*c66ec88fSEmmanuel Vadot- compatible : Must be "lsi,api2c"
5*c66ec88fSEmmanuel Vadot- reg : Offset and length of the register set for the device
6*c66ec88fSEmmanuel Vadot- interrupts : the interrupt specifier
7*c66ec88fSEmmanuel Vadot- #address-cells : Must be <1>;
8*c66ec88fSEmmanuel Vadot- #size-cells : Must be <0>;
9*c66ec88fSEmmanuel Vadot- clock-names : Must contain "i2c".
10*c66ec88fSEmmanuel Vadot- clocks: Must contain an entry for each name in clock-names. See the common
11*c66ec88fSEmmanuel Vadot  clock bindings.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties :
14*c66ec88fSEmmanuel Vadot- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
15*c66ec88fSEmmanuel Vadot  the default 100 kHz frequency will be used. As only Normal and Fast modes
16*c66ec88fSEmmanuel Vadot  are supported, possible values are 100000 and 400000.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample :
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadoti2c@2010084000 {
21*c66ec88fSEmmanuel Vadot	compatible = "lsi,api2c";
22*c66ec88fSEmmanuel Vadot	device_type = "i2c";
23*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
24*c66ec88fSEmmanuel Vadot	#size-cells = <0>;
25*c66ec88fSEmmanuel Vadot	reg = <0x20 0x10084000 0x00 0x1000>;
26*c66ec88fSEmmanuel Vadot	interrupts = <0 19 4>;
27*c66ec88fSEmmanuel Vadot	clocks = <&clk_per>;
28*c66ec88fSEmmanuel Vadot	clock-names = "i2c";
29*c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
30*c66ec88fSEmmanuel Vadot};
31