Path: blob/main/sys/contrib/device-tree/Bindings/i2c/i2c-efm32.txt
48375 views
* Energymicro efm32 i2c controller12Required properties :34- reg : Offset and length of the register set for the device5- compatible : should be "energymicro,efm32-i2c"6- interrupts : the interrupt number7- clocks : reference to the module clock89Recommended properties :1011- clock-frequency : maximal I2C bus clock frequency in Hz.12- energymicro,location : Decides the location of the USART I/O pins.13Allowed range : [0 .. 6]1415Example:16i2c0: i2c@4000a000 {17#address-cells = <1>;18#size-cells = <0>;19compatible = "energymicro,efm32-i2c";20reg = <0x4000a000 0x400>;21interrupts = <9>;22clocks = <&cmu clk_HFPERCLKI2C0>;23clock-frequency = <100000>;24energymicro,location = <3>;2526eeprom@50 {27compatible = "microchip,24c02";28reg = <0x50>;29pagesize = <16>;30};31};32333435