1*c66ec88fSEmmanuel VadotQualcomm Universal Peripheral (QUP) I2C controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible: Should be: 5*c66ec88fSEmmanuel Vadot * "qcom,i2c-qup-v1.1.1" for 8660, 8960 and 8064. 6*c66ec88fSEmmanuel Vadot * "qcom,i2c-qup-v2.1.1" for 8974 v1. 7*c66ec88fSEmmanuel Vadot * "qcom,i2c-qup-v2.2.1" for 8974 v2 and later. 8*c66ec88fSEmmanuel Vadot - reg: Should contain QUP register address and length. 9*c66ec88fSEmmanuel Vadot - interrupts: Should contain I2C interrupt. 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot - clocks: A list of phandles + clock-specifiers, one for each entry in 12*c66ec88fSEmmanuel Vadot clock-names. 13*c66ec88fSEmmanuel Vadot - clock-names: Should contain: 14*c66ec88fSEmmanuel Vadot * "core" for the core clock 15*c66ec88fSEmmanuel Vadot * "iface" for the AHB clock 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot - #address-cells: Should be <1> Address cells for i2c device address 18*c66ec88fSEmmanuel Vadot - #size-cells: Should be <0> as i2c addresses have no size component 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotOptional properties: 21*c66ec88fSEmmanuel Vadot - clock-frequency: Should specify the desired i2c bus clock frequency in Hz, 22*c66ec88fSEmmanuel Vadot defaults to 100kHz if omitted. 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel VadotChild nodes should conform to i2c bus binding. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotExample: 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot i2c@f9924000 { 29*c66ec88fSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 30*c66ec88fSEmmanuel Vadot reg = <0xf9924000 0x1000>; 31*c66ec88fSEmmanuel Vadot interrupts = <0 96 0>; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 34*c66ec88fSEmmanuel Vadot clock-names = "core", "iface"; 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot clock-frequency = <355000>; 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot #address-cells = <1>; 39*c66ec88fSEmmanuel Vadot #size-cells = <0>; 40*c66ec88fSEmmanuel Vadot }; 41