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