1*4882a593Smuzhiyun* Texas Instruments Davinci/Keystone I2C 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis file provides information, what the device node for the 4*4882a593Smuzhiyundavinci/keystone i2c interface contains. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired properties: 7*4882a593Smuzhiyun- compatible: "ti,davinci-i2c" or "ti,keystone-i2c"; 8*4882a593Smuzhiyun- reg : Offset and length of the register set for the device 9*4882a593Smuzhiyun- clocks: I2C functional clock phandle. 10*4882a593Smuzhiyun For 66AK2G this property should be set per binding, 11*4882a593Smuzhiyun Documentation/devicetree/bindings/clock/ti,sci-clk.txt 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSoC-specific Required Properties: 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunThe following are mandatory properties for Keystone 2 66AK2G SoCs only: 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun- power-domains: Should contain a phandle to a PM domain provider node 18*4882a593Smuzhiyun and an args specifier containing the I2C device id 19*4882a593Smuzhiyun value. This property is as per the binding, 20*4882a593Smuzhiyun Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunRecommended properties : 23*4882a593Smuzhiyun- interrupts : standard interrupt property. 24*4882a593Smuzhiyun- clock-frequency : desired I2C bus clock frequency in Hz. 25*4882a593Smuzhiyun- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC 26*4882a593Smuzhiyun registers. PFUNC registers allow to switch I2C pins to function as 27*4882a593Smuzhiyun GPIOs, so they can be toggled manually. 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunExample (enbw_cmc board): 30*4882a593Smuzhiyun i2c@1c22000 { 31*4882a593Smuzhiyun compatible = "ti,davinci-i2c"; 32*4882a593Smuzhiyun reg = <0x22000 0x1000>; 33*4882a593Smuzhiyun clock-frequency = <100000>; 34*4882a593Smuzhiyun interrupts = <15>; 35*4882a593Smuzhiyun interrupt-parent = <&intc>; 36*4882a593Smuzhiyun #address-cells = <1>; 37*4882a593Smuzhiyun #size-cells = <0>; 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun dtt@48 { 40*4882a593Smuzhiyun compatible = "national,lm75"; 41*4882a593Smuzhiyun reg = <0x48>; 42*4882a593Smuzhiyun }; 43*4882a593Smuzhiyun }; 44