blob: 50b25c3da186e0f625c2715d123509820a8c98c1 [file] [log] [blame]
Uwe Kleine-König1b5b2372014-03-25 11:48:46 +01001* Energymicro efm32 i2c controller
2
3Required properties :
4
5 - reg : Offset and length of the register set for the device
Uwe Kleine-König3428f012014-04-01 09:42:20 +02006 - compatible : should be "energymicro,efm32-i2c"
Uwe Kleine-König1b5b2372014-03-25 11:48:46 +01007 - 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.
Uwe Kleine-König281ec362014-07-11 10:50:14 +020013 - energymicro,location : Decides the location of the USART I/O pins.
Uwe Kleine-König1b5b2372014-03-25 11:48:46 +010014 Allowed range : [0 .. 6]
15
16Example:
17 i2c0: i2c@4000a000 {
18 #address-cells = <1>;
19 #size-cells = <0>;
Uwe Kleine-König3428f012014-04-01 09:42:20 +020020 compatible = "energymicro,efm32-i2c";
Uwe Kleine-König1b5b2372014-03-25 11:48:46 +010021 reg = <0x4000a000 0x400>;
22 interrupts = <9>;
23 clocks = <&cmu clk_HFPERCLKI2C0>;
24 clock-frequency = <100000>;
Uwe Kleine-König3428f012014-04-01 09:42:20 +020025 status = "ok";
Uwe Kleine-König281ec362014-07-11 10:50:14 +020026 energymicro,location = <3>;
Uwe Kleine-König1b5b2372014-03-25 11:48:46 +010027
28 eeprom@50 {
29 compatible = "microchip,24c02";
30 reg = <0x50>;
31 pagesize = <16>;
32 };
33 };
34