14058f6dcSBaolin WangI2C for Spreadtrum platforms 24058f6dcSBaolin Wang 34058f6dcSBaolin WangRequired properties: 44058f6dcSBaolin Wang- compatible: Should be "sprd,sc9860-i2c". 54058f6dcSBaolin Wang- reg: Specify the physical base address of the controller and length 64058f6dcSBaolin Wang of memory mapped region. 74058f6dcSBaolin Wang- interrupts: Should contain I2C interrupt. 84058f6dcSBaolin Wang- clock-names: Should contain following entries: 94058f6dcSBaolin Wang "i2c" for I2C clock, 104058f6dcSBaolin Wang "source" for I2C source (parent) clock, 114058f6dcSBaolin Wang "enable" for I2C module enable clock. 124058f6dcSBaolin Wang- clocks: Should contain a clock specifier for each entry in clock-names. 134058f6dcSBaolin Wang- clock-frequency: Constains desired I2C bus clock frequency in Hz. 144058f6dcSBaolin Wang- #address-cells: Should be 1 to describe address cells for I2C device address. 154058f6dcSBaolin Wang- #size-cells: Should be 0 means no size cell for I2C device address. 164058f6dcSBaolin Wang 174058f6dcSBaolin WangOptional properties: 184058f6dcSBaolin Wang- Child nodes conforming to I2C bus binding 194058f6dcSBaolin Wang 204058f6dcSBaolin WangExamples: 214058f6dcSBaolin Wangi2c0: i2c@70500000 { 224058f6dcSBaolin Wang compatible = "sprd,sc9860-i2c"; 234058f6dcSBaolin Wang reg = <0 0x70500000 0 0x1000>; 244058f6dcSBaolin Wang interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 254058f6dcSBaolin Wang clock-names = "i2c", "source", "enable"; 264058f6dcSBaolin Wang clocks = <&clk_i2c3>, <&ext_26m>, <&clk_ap_apb_gates 11>; 274058f6dcSBaolin Wang clock-frequency = <400000>; 284058f6dcSBaolin Wang #address-cells = <1>; 294058f6dcSBaolin Wang #size-cells = <0>; 304058f6dcSBaolin Wang}; 314058f6dcSBaolin Wang 32