Commit | Line | Data |
---|---|---|
6a62974b MY |
1 | UniPhier I2C controller (FIFO-builtin) |
2 | ||
3 | Required properties: | |
4 | - compatible: should be "socionext,uniphier-fi2c". | |
5 | - #address-cells: should be 1. | |
6 | - #size-cells: should be 0. | |
7 | - reg: offset and length of the register set for the device. | |
8 | - interrupts: a single interrupt specifier. | |
9 | - clocks: phandle to the input clock. | |
10 | ||
11 | Optional properties: | |
12 | - clock-frequency: desired I2C bus frequency in Hz. The maximum supported | |
13 | value is 400000. Defaults to 100000 if not specified. | |
14 | ||
15 | Examples: | |
16 | ||
17 | i2c0: i2c@58780000 { | |
18 | compatible = "socionext,uniphier-fi2c"; | |
19 | reg = <0x58780000 0x80>; | |
20 | #address-cells = <1>; | |
21 | #size-cells = <0>; | |
22 | interrupts = <0 41 4>; | |
23 | clocks = <&i2c_clk>; | |
24 | clock-frequency = <100000>; | |
25 | }; |