diff mbox series

ARM: dts: qcom: add MSM8660 GSBI6 and GSBI7

Message ID 20171010083924.19244-1-linus.walleij@linaro.org
State Accepted
Commit 0adb92437c1ac711fbac8ffb20ea759ac5862f5e
Headers show
Series ARM: dts: qcom: add MSM8660 GSBI6 and GSBI7 | expand

Commit Message

Linus Walleij Oct. 10, 2017, 8:39 a.m. UTC
This adds the GSBI6 and GSBI7 IO blocks to the MSM8660 DTSI file.
On the APQ8060 DragonBoard, GSBI6 DM is used for Bluetooth UART,
and GSBI7 I2C is used for FM radio I2C.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 arch/arm/boot/dts/qcom-msm8660.dtsi | 67 +++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

-- 
2.13.5

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Bjorn Andersson Oct. 10, 2017, 6:07 p.m. UTC | #1
On Tue 10 Oct 01:39 PDT 2017, Linus Walleij wrote:

> This adds the GSBI6 and GSBI7 IO blocks to the MSM8660 DTSI file.

> On the APQ8060 DragonBoard, GSBI6 DM is used for Bluetooth UART,

> and GSBI7 I2C is used for FM radio I2C.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Regards,
Bjorn

> ---

>  arch/arm/boot/dts/qcom-msm8660.dtsi | 67 +++++++++++++++++++++++++++++++++++++

>  1 file changed, 67 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi

> index 1b5d31b33b5e..4f02489bcb2e 100644

> --- a/arch/arm/boot/dts/qcom-msm8660.dtsi

> +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi

> @@ -123,6 +123,73 @@

>  			reg = <0x900000 0x4000>;

>  		};

>  

> +		gsbi6: gsbi@16500000 {

> +			compatible = "qcom,gsbi-v1.0.0";

> +			cell-index = <12>;

> +			reg = <0x16500000 0x100>;

> +			clocks = <&gcc GSBI6_H_CLK>;

> +			clock-names = "iface";

> +			#address-cells = <1>;

> +			#size-cells = <1>;

> +			ranges;

> +

> +			syscon-tcsr = <&tcsr>;

> +

> +			gsbi6_serial: serial@16540000 {

> +				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";

> +				reg = <0x16540000 0x1000>,

> +				      <0x16500000 0x1000>;

> +				interrupts = <GIC_SPI 156 IRQ_TYPE_NONE>;

> +				clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;

> +				clock-names = "core", "iface";

> +				status = "disabled";

> +			};

> +

> +			gsbi6_i2c: i2c@16580000 {

> +				compatible = "qcom,i2c-qup-v1.1.1";

> +				reg = <0x16580000 0x1000>;

> +				interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;

> +				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;

> +				clock-names = "core", "iface";

> +				#address-cells = <1>;

> +				#size-cells = <0>;

> +				status = "disabled";

> +			};

> +		};

> +

> +		gsbi7: gsbi@16600000 {

> +			compatible = "qcom,gsbi-v1.0.0";

> +			cell-index = <12>;

> +			reg = <0x16600000 0x100>;

> +			clocks = <&gcc GSBI7_H_CLK>;

> +			clock-names = "iface";

> +			#address-cells = <1>;

> +			#size-cells = <1>;

> +			ranges;

> +

> +			syscon-tcsr = <&tcsr>;

> +

> +			gsbi7_serial: serial@16640000 {

> +				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";

> +				reg = <0x16640000 0x1000>,

> +				      <0x16600000 0x1000>;

> +				interrupts = <GIC_SPI 158 IRQ_TYPE_NONE>;

> +				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;

> +				clock-names = "core", "iface";

> +				status = "disabled";

> +			};

> +

> +			gsbi7_i2c: i2c@16680000 {

> +				compatible = "qcom,i2c-qup-v1.1.1";

> +				reg = <0x16680000 0x1000>;

> +				interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;

> +				clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;

> +				clock-names = "core", "iface";

> +				#address-cells = <1>;

> +				#size-cells = <0>;

> +				status = "disabled";

> +			};

> +		};

>  

>  		gsbi8: gsbi@19800000 {

>  			compatible = "qcom,gsbi-v1.0.0";

> -- 

> 2.13.5

> 

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi
index 1b5d31b33b5e..4f02489bcb2e 100644
--- a/arch/arm/boot/dts/qcom-msm8660.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8660.dtsi
@@ -123,6 +123,73 @@ 
 			reg = <0x900000 0x4000>;
 		};
 
+		gsbi6: gsbi@16500000 {
+			compatible = "qcom,gsbi-v1.0.0";
+			cell-index = <12>;
+			reg = <0x16500000 0x100>;
+			clocks = <&gcc GSBI6_H_CLK>;
+			clock-names = "iface";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+
+			syscon-tcsr = <&tcsr>;
+
+			gsbi6_serial: serial@16540000 {
+				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+				reg = <0x16540000 0x1000>,
+				      <0x16500000 0x1000>;
+				interrupts = <GIC_SPI 156 IRQ_TYPE_NONE>;
+				clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
+				clock-names = "core", "iface";
+				status = "disabled";
+			};
+
+			gsbi6_i2c: i2c@16580000 {
+				compatible = "qcom,i2c-qup-v1.1.1";
+				reg = <0x16580000 0x1000>;
+				interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
+				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
+				clock-names = "core", "iface";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+		};
+
+		gsbi7: gsbi@16600000 {
+			compatible = "qcom,gsbi-v1.0.0";
+			cell-index = <12>;
+			reg = <0x16600000 0x100>;
+			clocks = <&gcc GSBI7_H_CLK>;
+			clock-names = "iface";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+
+			syscon-tcsr = <&tcsr>;
+
+			gsbi7_serial: serial@16640000 {
+				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+				reg = <0x16640000 0x1000>,
+				      <0x16600000 0x1000>;
+				interrupts = <GIC_SPI 158 IRQ_TYPE_NONE>;
+				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
+				clock-names = "core", "iface";
+				status = "disabled";
+			};
+
+			gsbi7_i2c: i2c@16680000 {
+				compatible = "qcom,i2c-qup-v1.1.1";
+				reg = <0x16680000 0x1000>;
+				interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
+				clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
+				clock-names = "core", "iface";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+		};
 
 		gsbi8: gsbi@19800000 {
 			compatible = "qcom,gsbi-v1.0.0";