i2c: efm32: fix binding doc
[deliverable/linux.git] / Documentation / devicetree / bindings / i2c / i2c-efm32.txt
CommitLineData
1b5b2371
UKK
1* Energymicro efm32 i2c controller
2
3Required properties :
4
5 - reg : Offset and length of the register set for the device
3428f018 6 - compatible : should be "energymicro,efm32-i2c"
1b5b2371
UKK
7 - interrupts : the interrupt number
8 - clocks : reference to the module clock
9
10Recommended properties :
11
12 - clock-frequency : maximal I2C bus clock frequency in Hz.
13 - efm32,location : Decides the location of the USART I/O pins.
14 Allowed range : [0 .. 6]
15
16Example:
17 i2c0: i2c@4000a000 {
18 #address-cells = <1>;
19 #size-cells = <0>;
3428f018 20 compatible = "energymicro,efm32-i2c";
1b5b2371
UKK
21 reg = <0x4000a000 0x400>;
22 interrupts = <9>;
23 clocks = <&cmu clk_HFPERCLKI2C0>;
24 clock-frequency = <100000>;
3428f018 25 status = "ok";
1b5b2371
UKK
26 efm32,location = <3>;
27
28 eeprom@50 {
29 compatible = "microchip,24c02";
30 reg = <0x50>;
31 pagesize = <16>;
32 };
33 };
34
This page took 0.027637 seconds and 5 git commands to generate.