arm64: dts: qcom: msm8916: Add more labels
authorStephan Gerhold <stephan@gerhold.net>
Mon, 20 Jul 2020 08:54:00 +0000 (10:54 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Sep 2020 04:48:29 +0000 (04:48 +0000)
Add a few more labels to device nodes declared in msm8916.dtsi
so that we can set all needed properties using labels in the
board-specific device tree part.

Also rename the "otg" label to "usb" to allow grouping it with
the USB PHY (usb_hs_phy) node when ordering referenced labels
alphabetically.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200720085406.6716-5-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 8b12961f32690bfa78c7b69238fd3effc2e35ca1..acbaed23bbdd9c5504d503b93d9fb9054cb092c8 100644 (file)
                        status = "disabled";
                };
 
-               otg: usb@78d9000 {
+               usb: usb@78d9000 {
                        compatible = "qcom,ci-hdrc";
                        reg = <0x78d9000 0x200>,
                              <0x78d9200 0x200>;
                                        #phy-cells = <0>;
                                        clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
                                        clock-names = "ref", "sleep";
-                                       resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
+                                       resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
                                        reset-names = "phy", "por";
                                        qcom,init-seq = /bits/ 8 <0x0 0x44
                                                0x1 0x6b 0x2 0x24 0x3 0x13>;
                };
 
 
-               hexagon@4080000 {
+               mpss: hexagon@4080000 {
                        compatible = "qcom,q6v5-pil";
                        reg = <0x04080000 0x100>,
                              <0x04020000 0x040>;
                        };
                };
 
-               tpiu@820000 {
+               tpiu: tpiu@820000 {
                        compatible = "arm,coresight-tpiu", "arm,primecell";
                        reg = <0x820000 0x1000>;
 
                        };
                };
 
-               funnel@821000 {
+               funnel0: funnel@821000 {
                        compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
                        reg = <0x821000 0x1000>;
 
                        };
                };
 
-               replicator@824000 {
+               replicator: replicator@824000 {
                        compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
                        reg = <0x824000 0x1000>;
 
                        };
                };
 
-               etf@825000 {
+               etf: etf@825000 {
                        compatible = "arm,coresight-tmc", "arm,primecell";
                        reg = <0x825000 0x1000>;
 
                        };
                };
 
-               etr@826000 {
+               etr: etr@826000 {
                        compatible = "arm,coresight-tmc", "arm,primecell";
                        reg = <0x826000 0x1000>;
 
                        };
                };
 
-               funnel@841000 { /* APSS funnel only 4 inputs are used */
+               funnel1: funnel@841000 {        /* APSS funnel only 4 inputs are used */
                        compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
                        reg = <0x841000 0x1000>;
 
                        };
                };
 
-               debug@850000 {
+               debug0: debug@850000 {
                        compatible = "arm,coresight-cpu-debug","arm,primecell";
                        reg = <0x850000 0x1000>;
                        clocks = <&rpmcc RPM_QDSS_CLK>;
                        status = "disabled";
                };
 
-               debug@852000 {
+               debug1: debug@852000 {
                        compatible = "arm,coresight-cpu-debug","arm,primecell";
                        reg = <0x852000 0x1000>;
                        clocks = <&rpmcc RPM_QDSS_CLK>;
                        status = "disabled";
                };
 
-               debug@854000 {
+               debug2: debug@854000 {
                        compatible = "arm,coresight-cpu-debug","arm,primecell";
                        reg = <0x854000 0x1000>;
                        clocks = <&rpmcc RPM_QDSS_CLK>;
                        status = "disabled";
                };
 
-               debug@856000 {
+               debug3: debug@856000 {
                        compatible = "arm,coresight-cpu-debug","arm,primecell";
                        reg = <0x856000 0x1000>;
                        clocks = <&rpmcc RPM_QDSS_CLK>;
 
                /* System CTIs */
                /* CTI 0 - TMC connections */
-               cti@810000 {
+               cti0: cti@810000 {
                        compatible = "arm,coresight-cti", "arm,primecell";
                        reg = <0x810000 0x1000>;
 
                };
 
                /* CTI 1 - TPIU connections */
-               cti@811000 {
+               cti1: cti@811000 {
                        compatible = "arm,coresight-cti", "arm,primecell";
                        reg = <0x811000 0x1000>;
 
 
                /* Core CTIs; CTIs 12-15 */
                /* CTI - CPU-0 */
-               cti@858000 {
+               cti12: cti@858000 {
                        compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
                                     "arm,primecell";
                        reg = <0x858000 0x1000>;
                };
 
                /* CTI - CPU-1 */
-               cti@859000 {
+               cti13: cti@859000 {
                        compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
                                     "arm,primecell";
                        reg = <0x859000 0x1000>;
                };
 
                /* CTI - CPU-2 */
-               cti@85a000 {
+               cti14: cti@85a000 {
                        compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
                                     "arm,primecell";
                        reg = <0x85a000 0x1000>;
                };
 
                /* CTI - CPU-3 */
-               cti@85b000 {
+               cti15: cti@85b000 {
                        compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
                                     "arm,primecell";
                        reg = <0x85b000 0x1000>;
                        qcom,ipc = <&apcs 8 0>;
                        qcom,smd-edge = <15>;
 
-                       rpm-requests {
+                       rpm_requests: rpm-requests {
                                compatible = "qcom,rpm-msm8916";
                                qcom,smd-channels = "rpm_requests";