Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: fad01e866afdbe01a1f3ec06a39c3a8b9e197014 authored by Linus Torvalds on 02 June 2014, 02:12:24 UTC
Linux 3.15-rc8
Tip revision: fad01e8
i2c-davinci.txt
* Texas Instruments Davinci I2C

This file provides information, what the device node for the
davinci i2c interface contain.

Required properties:
- compatible: "ti,davinci-i2c";
- reg : Offset and length of the register set for the device

Recommended properties :
- interrupts : standard interrupt property.
- clock-frequency : desired I2C bus clock frequency in Hz.

Example (enbw_cmc board):
	i2c@1c22000 {
		compatible = "ti,davinci-i2c";
		reg = <0x22000 0x1000>;
		clock-frequency = <100000>;
		interrupts = <15>;
		interrupt-parent = <&intc>;
		#address-cells = <1>;
		#size-cells = <0>;

		dtt@48 {
			compatible = "national,lm75";
			reg = <0x48>;
		};
	};
back to top