From 34fa833aeeea498033f2c68b33ed8d57bf951e22 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 6 Mar 2012 19:00:22 +0000 Subject: tegra: fdt: i2c: Add extra I2C bindings for U-Boot Add U-Boot's peripheral clock information to the Tegra20 device tree file. Signed-off-by: Simon Glass Acked-by: Stephen Warren Signed-off-by: Tom Warren --- doc/device-tree-bindings/i2c/tegra20-i2c.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/tegra20-i2c.txt (limited to 'doc/device-tree-bindings') diff --git a/doc/device-tree-bindings/i2c/tegra20-i2c.txt b/doc/device-tree-bindings/i2c/tegra20-i2c.txt new file mode 100644 index 0000000000..d601c17f9b --- /dev/null +++ b/doc/device-tree-bindings/i2c/tegra20-i2c.txt @@ -0,0 +1,23 @@ +(Placeholder note while we locate the kernel Tegra20 bindings) + +Added in U-Boot: + +Required properties: + - clocks : Two clocks must be given, each as a phandle to the Tegra's + CAR node and the clock number as a parameter: + - the I2C clock to use for the peripheral + - the pll_p_out3 clock, which can be used for fast operation. This + does not change and is the same for all I2C nodes. + +Example: +(TODO: merge with existing example): + + i2c@7000c400 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "nvidia,tegra20-i2c"; + reg = <0x7000C400 0x100>; + interrupts = < 116 >; + /* PERIPH_ID_I2C2, PLL_P_OUT3 */ + clocks = <&tegra_car 54>, <&tegra_car 124>; + }; -- cgit v1.2.3