1*6be33864SEmmanuel VadotDevice tree configuration for the Mellanox I2C SMBus on BlueField SoCs 2*6be33864SEmmanuel Vadot 3*6be33864SEmmanuel VadotRequired Properties: 4*6be33864SEmmanuel Vadot 5*6be33864SEmmanuel Vadot- compatible : should be "mellanox,i2c-mlxbf1" or "mellanox,i2c-mlxbf2". 6*6be33864SEmmanuel Vadot 7*6be33864SEmmanuel Vadot- reg : address offset and length of the device registers. The 8*6be33864SEmmanuel Vadot registers consist of the following set of resources: 9*6be33864SEmmanuel Vadot 1) Smbus block registers. 10*6be33864SEmmanuel Vadot 2) Cause master registers. 11*6be33864SEmmanuel Vadot 3) Cause slave registers. 12*6be33864SEmmanuel Vadot 4) Cause coalesce registers (if compatible isn't set 13*6be33864SEmmanuel Vadot to "mellanox,i2c-mlxbf1"). 14*6be33864SEmmanuel Vadot 15*6be33864SEmmanuel Vadot- interrupts : interrupt number. 16*6be33864SEmmanuel Vadot 17*6be33864SEmmanuel VadotOptional Properties: 18*6be33864SEmmanuel Vadot 19*6be33864SEmmanuel Vadot- clock-frequency : bus frequency used to configure timing registers; 20*6be33864SEmmanuel Vadot allowed values are 100000, 400000 and 1000000; 21*6be33864SEmmanuel Vadot those are expressed in Hz. Default is 100000. 22*6be33864SEmmanuel Vadot 23*6be33864SEmmanuel VadotExample: 24*6be33864SEmmanuel Vadot 25*6be33864SEmmanuel Vadoti2c@2804000 { 26*6be33864SEmmanuel Vadot compatible = "mellanox,i2c-mlxbf1"; 27*6be33864SEmmanuel Vadot reg = <0x02804000 0x800>, 28*6be33864SEmmanuel Vadot <0x02801200 0x020>, 29*6be33864SEmmanuel Vadot <0x02801260 0x020>; 30*6be33864SEmmanuel Vadot interrupts = <57>; 31*6be33864SEmmanuel Vadot clock-frequency = <100000>; 32*6be33864SEmmanuel Vadot}; 33*6be33864SEmmanuel Vadot 34*6be33864SEmmanuel Vadoti2c@2808800 { 35*6be33864SEmmanuel Vadot compatible = "mellanox,i2c-mlxbf2"; 36*6be33864SEmmanuel Vadot reg = <0x02808800 0x600>, 37*6be33864SEmmanuel Vadot <0x02808e00 0x020>, 38*6be33864SEmmanuel Vadot <0x02808e20 0x020>, 39*6be33864SEmmanuel Vadot <0x02808e40 0x010>; 40*6be33864SEmmanuel Vadot interrupts = <57>; 41*6be33864SEmmanuel Vadot clock-frequency = <400000>; 42*6be33864SEmmanuel Vadot}; 43