xref: /rk3399_rockchip-uboot/doc/device-tree-bindings/i2c/tegra20-i2c.txt (revision f5cdc11775c4b7fdbf52a6dd2f463d329804ab11)
1*34fa833aSSimon Glass(Placeholder note while we locate the kernel Tegra20 bindings)
2*34fa833aSSimon Glass
3*34fa833aSSimon GlassAdded in U-Boot:
4*34fa833aSSimon Glass
5*34fa833aSSimon GlassRequired properties:
6*34fa833aSSimon Glass - clocks : Two clocks must be given, each as a phandle to the Tegra's
7*34fa833aSSimon Glass	    CAR node and the clock number as a parameter:
8*34fa833aSSimon Glass     - the I2C clock to use for the peripheral
9*34fa833aSSimon Glass     - the pll_p_out3 clock, which can be used for fast operation. This
10*34fa833aSSimon Glass	  does not change and is the same for all I2C nodes.
11*34fa833aSSimon Glass
12*34fa833aSSimon GlassExample:
13*34fa833aSSimon Glass(TODO: merge with existing example):
14*34fa833aSSimon Glass
15*34fa833aSSimon Glass	i2c@7000c400 {
16*34fa833aSSimon Glass		#address-cells = <1>;
17*34fa833aSSimon Glass		#size-cells = <0>;
18*34fa833aSSimon Glass		compatible = "nvidia,tegra20-i2c";
19*34fa833aSSimon Glass		reg = <0x7000C400 0x100>;
20*34fa833aSSimon Glass		interrupts = < 116 >;
21*34fa833aSSimon Glass		/* PERIPH_ID_I2C2, PLL_P_OUT3 */
22*34fa833aSSimon Glass		clocks = <&tegra_car 54>, <&tegra_car 124>;
23*34fa833aSSimon Glass	};
24