mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 10:01:56 +00:00
7679c0e191
This patch adds Device Tree support to the i2c-rcar driver and respective documentation. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
24 lines
569 B
Plaintext
24 lines
569 B
Plaintext
I2C for R-Car platforms
|
|
|
|
Required properties:
|
|
- compatible: Must be one of
|
|
"renesas,i2c-rcar"
|
|
"renesas,i2c-r8a7778"
|
|
"renesas,i2c-r8a7779"
|
|
"renesas,i2c-r8a7790"
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
- interrupts: interrupt specifier.
|
|
|
|
Optional properties:
|
|
- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
|
|
propoerty indicates the default frequency 100 kHz.
|
|
|
|
Examples :
|
|
|
|
i2c0: i2c@e6500000 {
|
|
compatible = "renesas,i2c-rcar-h2";
|
|
reg = <0 0xe6500000 0 0x428>;
|
|
interrupts = <0 174 0x4>;
|
|
};
|