Simon Glass | 34fa833 | 2012-03-06 19:00:22 +0000 | [diff] [blame] | 1 | (Placeholder note while we locate the kernel Tegra20 bindings) |
| 2 | |
| 3 | Added in U-Boot: |
| 4 | |
| 5 | Required properties: |
| 6 | - clocks : Two clocks must be given, each as a phandle to the Tegra's |
Wolfgang Denk | f5cdc11 | 2012-04-16 23:13:51 +0200 | [diff] [blame] | 7 | CAR node and the clock number as a parameter: |
Simon Glass | 34fa833 | 2012-03-06 19:00:22 +0000 | [diff] [blame] | 8 | - the I2C clock to use for the peripheral |
| 9 | - the pll_p_out3 clock, which can be used for fast operation. This |
Wolfgang Denk | f5cdc11 | 2012-04-16 23:13:51 +0200 | [diff] [blame] | 10 | does not change and is the same for all I2C nodes. |
Simon Glass | 34fa833 | 2012-03-06 19:00:22 +0000 | [diff] [blame] | 11 | |
| 12 | Example: |
| 13 | (TODO: merge with existing example): |
| 14 | |
| 15 | i2c@7000c400 { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | compatible = "nvidia,tegra20-i2c"; |
| 19 | reg = <0x7000C400 0x100>; |
| 20 | interrupts = < 116 >; |
| 21 | /* PERIPH_ID_I2C2, PLL_P_OUT3 */ |
| 22 | clocks = <&tegra_car 54>, <&tegra_car 124>; |
| 23 | }; |