ARM: dts: qcom: msm8226: Add blsp1_i2c6 and blsp1_uart2
authorLuca Weiss <luca@z3ntu.xyz>
Fri, 22 Sep 2023 16:55:14 +0000 (18:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Sep 2023 08:42:26 +0000 (10:42 +0200)
Add more busses found on msm8226 SoC.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230922-msm8226-i2c6-v2-3-3fb55c47a084@z3ntu.xyz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/qcom/qcom-msm8226.dtsi

index 44f3f0127fd709b3575c6421860edd6266078cbc..82e830e9d254a118fa909f9a00ff13f4c50f489a 100644 (file)
                        status = "disabled";
                };
 
+               blsp1_uart2: serial@f991e000 {
+                       compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
+                       reg = <0xf991e000 0x1000>;
+                       interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
+                                <&gcc GCC_BLSP1_AHB_CLK>;
+                       clock-names = "core",
+                                     "iface";
+                       status = "disabled";
+               };
+
                blsp1_uart3: serial@f991f000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0xf991f000 0x1000>;
                        #size-cells = <0>;
                };
 
+               blsp1_i2c6: i2c@f9928000 {
+                       compatible = "qcom,i2c-qup-v2.1.1";
+                       reg = <0xf9928000 0x1000>;
+                       interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
+                                <&gcc GCC_BLSP1_AHB_CLK>;
+                       clock-names = "core",
+                                     "iface";
+                       pinctrl-0 = <&blsp1_i2c6_pins>;
+                       pinctrl-names = "default";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                cci: cci@fda0c000 {
                        compatible = "qcom,msm8226-cci";
                        #address-cells = <1>;
                                bias-disable;
                        };
 
+                       blsp1_i2c6_pins: blsp1-i2c6-state {
+                               pins = "gpio22", "gpio23";
+                               function = "blsp_i2c6";
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
                        cci_default: cci-default-state {
                                pins = "gpio29", "gpio30";
                                function = "cci_i2c0";