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