1*c66ec88fSEmmanuel VadotDevice tree configuration for the I2C controller on the XLP9xx/5xx SoC 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : should be "netlogic,xlp980-i2c" 5*c66ec88fSEmmanuel Vadot- reg : bus address start and address range size of device 6*c66ec88fSEmmanuel Vadot- interrupts : interrupt number 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel VadotOptional properties: 9*c66ec88fSEmmanuel Vadot- clock-frequency : frequency of bus clock in Hz 10*c66ec88fSEmmanuel Vadot Defaults to 100 KHz when the property is not specified 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel VadotExample: 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadoti2c0: i2c@113100 { 15*c66ec88fSEmmanuel Vadot compatible = "netlogic,xlp980-i2c"; 16*c66ec88fSEmmanuel Vadot #address-cells = <1>; 17*c66ec88fSEmmanuel Vadot #size-cells = <0>; 18*c66ec88fSEmmanuel Vadot reg = <0 0x113100 0x100>; 19*c66ec88fSEmmanuel Vadot clock-frequency = <400000>; 20*c66ec88fSEmmanuel Vadot interrupts = <30>; 21*c66ec88fSEmmanuel Vadot interrupt-parent = <&pic>; 22*c66ec88fSEmmanuel Vadot}; 23