18c2ecf20Sopenharmony_ciQualcomm Universal Peripheral (QUP) I2C controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible: Should be: 58c2ecf20Sopenharmony_ci * "qcom,i2c-qup-v1.1.1" for 8660, 8960 and 8064. 68c2ecf20Sopenharmony_ci * "qcom,i2c-qup-v2.1.1" for 8974 v1. 78c2ecf20Sopenharmony_ci * "qcom,i2c-qup-v2.2.1" for 8974 v2 and later. 88c2ecf20Sopenharmony_ci - reg: Should contain QUP register address and length. 98c2ecf20Sopenharmony_ci - interrupts: Should contain I2C interrupt. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci - clocks: A list of phandles + clock-specifiers, one for each entry in 128c2ecf20Sopenharmony_ci clock-names. 138c2ecf20Sopenharmony_ci - clock-names: Should contain: 148c2ecf20Sopenharmony_ci * "core" for the core clock 158c2ecf20Sopenharmony_ci * "iface" for the AHB clock 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci - #address-cells: Should be <1> Address cells for i2c device address 188c2ecf20Sopenharmony_ci - #size-cells: Should be <0> as i2c addresses have no size component 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciOptional properties: 218c2ecf20Sopenharmony_ci - clock-frequency: Should specify the desired i2c bus clock frequency in Hz, 228c2ecf20Sopenharmony_ci defaults to 100kHz if omitted. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciChild nodes should conform to i2c bus binding. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciExample: 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci i2c@f9924000 { 298c2ecf20Sopenharmony_ci compatible = "qcom,i2c-qup-v2.2.1"; 308c2ecf20Sopenharmony_ci reg = <0xf9924000 0x1000>; 318c2ecf20Sopenharmony_ci interrupts = <0 96 0>; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 348c2ecf20Sopenharmony_ci clock-names = "core", "iface"; 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci clock-frequency = <355000>; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci #address-cells = <1>; 398c2ecf20Sopenharmony_ci #size-cells = <0>; 408c2ecf20Sopenharmony_ci }; 41