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