]>
Commit | Line | Data |
---|---|---|
560746eb TP |
1 | * Wondermedia I2C Controller |
2 | ||
3 | Required 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 | ||
10 | Optional 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 | ||
16 | Example : | |
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 | }; |