1 Device tree configuration for i2c-ocores
4 - compatible : "opencores,i2c-ocores" or "aeroflexgaisler,i2cmst"
5 - reg : bus address start and address range size of device
6 - interrupts : interrupt number
7 - clock-frequency : frequency of bus clock in Hz
8 - #address-cells : should be <1>
9 - #size-cells : should be <0>
12 - reg-shift : device register offsets are shifted by this value
13 - reg-io-width : io register width in bytes (1, 2 or 4)
14 - regstep : deprecated, use reg-shift above
18 i2c0: ocores@a0000000 {
21 compatible = "opencores,i2c-ocores";
22 reg = <0xa0000000 0x8>;
24 clock-frequency = <20000000>;
26 reg-shift = <0>; /* 8 bit registers */
27 reg-io-width = <1>; /* 8 bit read/write */