Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-davinci.txt
26307 views
* Texas Instruments Davinci/Keystone I2C12This file provides information, what the device node for the3davinci/keystone i2c interface contains.45Required properties:6- compatible: "ti,davinci-i2c" or "ti,keystone-i2c";7- reg : Offset and length of the register set for the device8- clocks: I2C functional clock phandle.9For 66AK2G this property should be set per binding,10Documentation/devicetree/bindings/clock/ti,sci-clk.yaml1112SoC-specific Required Properties:1314The following are mandatory properties for Keystone 2 66AK2G SoCs only:1516- power-domains: Should contain a phandle to a PM domain provider node17and an args specifier containing the I2C device id18value. This property is as per the binding,19Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml2021Recommended properties :22- interrupts : standard interrupt property.23- clock-frequency : desired I2C bus clock frequency in Hz.24- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC25registers. PFUNC registers allow to switch I2C pins to function as26GPIOs, so they can be toggled manually.2728Example (enbw_cmc board):29i2c@1c22000 {30compatible = "ti,davinci-i2c";31reg = <0x22000 0x1000>;32clock-frequency = <100000>;33interrupts = <15>;34interrupt-parent = <&intc>;35#address-cells = <1>;36#size-cells = <0>;3738dtt@48 {39compatible = "national,lm75";40reg = <0x48>;41};42};434445