xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-wmt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Wondermedia I2C Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties :
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot - compatible : should be "wm,wm8505-i2c"
6*c66ec88fSEmmanuel Vadot - reg : Offset and length of the register set for the device
7*c66ec88fSEmmanuel Vadot - interrupts : <IRQ> where IRQ is the interrupt number
8*c66ec88fSEmmanuel Vadot - clocks : phandle to the I2C clock source
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional properties :
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot - clock-frequency : desired I2C bus clock frequency in Hz.
13*c66ec88fSEmmanuel Vadot	Valid values are 100000 and 400000.
14*c66ec88fSEmmanuel Vadot	Default to 100000 if not specified, or invalid value.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample :
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	i2c_0: i2c@d8280000 {
19*c66ec88fSEmmanuel Vadot		compatible = "wm,wm8505-i2c";
20*c66ec88fSEmmanuel Vadot		reg = <0xd8280000 0x1000>;
21*c66ec88fSEmmanuel Vadot		interrupts = <19>;
22*c66ec88fSEmmanuel Vadot		clocks = <&clki2c0>;
23*c66ec88fSEmmanuel Vadot		clock-frequency = <400000>;
24*c66ec88fSEmmanuel Vadot	};
25