arm: dts: qcom: Add TCSR support for IPQ8064
authorAndy Gross <agross@codeaurora.org>
Mon, 9 Feb 2015 22:01:09 +0000 (16:01 -0600)
committerOlof Johansson <olof@lixom.net>
Fri, 3 Apr 2015 20:33:44 +0000 (13:33 -0700)
This patch adds TCSR support for use by the GSBI to automatically
configure ADM CRCI values based on the GSBI port configuration.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/qcom-ipq8064.dtsi

index cb225dafe97cd83c9ae4cc19482ed55d4a71b8b3..4e01f71c56d8bce535695eb5a1842ebe5153e1e3 100644 (file)
 
                gsbi2: gsbi@12480000 {
                        compatible = "qcom,gsbi-v1.0.0";
+                       cell-index = <2>;
                        reg = <0x12480000 0x100>;
                        clocks = <&gcc GSBI2_H_CLK>;
                        clock-names = "iface";
                        ranges;
                        status = "disabled";
 
+                       syscon-tcsr = <&tcsr>;
+
                        serial@12490000 {
                                compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
                                reg = <0x12490000 0x1000>,
 
                gsbi4: gsbi@16300000 {
                        compatible = "qcom,gsbi-v1.0.0";
+                       cell-index = <4>;
                        reg = <0x16300000 0x100>;
                        clocks = <&gcc GSBI4_H_CLK>;
                        clock-names = "iface";
                        ranges;
                        status = "disabled";
 
+                       syscon-tcsr = <&tcsr>;
+
                        serial@16340000 {
                                compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
                                reg = <0x16340000 0x1000>,
 
                gsbi5: gsbi@1a200000 {
                        compatible = "qcom,gsbi-v1.0.0";
+                       cell-index = <5>;
                        reg = <0x1a200000 0x100>;
                        clocks = <&gcc GSBI5_H_CLK>;
                        clock-names = "iface";
                        ranges;
                        status = "disabled";
 
+                       syscon-tcsr = <&tcsr>;
+
                        serial@1a240000 {
                                compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
                                reg = <0x1a240000 0x1000>,
                        #clock-cells = <1>;
                        #reset-cells = <1>;
                };
+
+               tcsr: syscon@1a400000 {
+                       compatible = "qcom,tcsr-ipq8064", "syscon";
+                       reg = <0x1a400000 0x100>;
+               };
        };
 };