arm64: dts: qcom: change labels to lower-case
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 22 Oct 2024 15:47:42 +0000 (17:47 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 23 Oct 2024 00:14:35 +0000 (19:14 -0500)
DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-17-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm2290.dtsi
arch/arm64/boot/dts/qcom/qcs404.dtsi
arch/arm64/boot/dts/qcom/qdu1000.dtsi
arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
arch/arm64/boot/dts/qcom/sa8775p.dtsi
arch/arm64/boot/dts/qcom/sdx75.dtsi
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index 79bc42ffb6a1ffa257b4c2efd744bb390362ded3..f0746123e594d5ce5cc314c956eaca11556a9211 100644 (file)
@@ -42,7 +42,7 @@
                #address-cells = <2>;
                #size-cells = <0>;
 
-               CPU0: cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x0 0x0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       power-domains = <&CPU_PD0>;
+                       power-domains = <&cpu_pd0>;
                        power-domain-names = "psci";
-                       L2_0: l2-cache {
+                       l2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
                        };
                };
 
-               CPU1: cpu@1 {
+               cpu1: cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x0 0x1>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       power-domains = <&CPU_PD1>;
+                       power-domains = <&cpu_pd1>;
                        power-domain-names = "psci";
                };
 
-               CPU2: cpu@2 {
+               cpu2: cpu@2 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x0 0x2>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       power-domains = <&CPU_PD2>;
+                       power-domains = <&cpu_pd2>;
                        power-domain-names = "psci";
                };
 
-               CPU3: cpu@3 {
+               cpu3: cpu@3 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x0 0x3>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       power-domains = <&CPU_PD3>;
+                       power-domains = <&cpu_pd3>;
                        power-domain-names = "psci";
                };
 
                cpu-map {
                        cluster0 {
                                core0 {
-                                       cpu = <&CPU0>;
+                                       cpu = <&cpu0>;
                                };
 
                                core1 {
-                                       cpu = <&CPU1>;
+                                       cpu = <&cpu1>;
                                };
 
                                core2 {
-                                       cpu = <&CPU2>;
+                                       cpu = <&cpu2>;
                                };
 
                                core3 {
-                                       cpu = <&CPU3>;
+                                       cpu = <&cpu3>;
                                };
                        };
                };
 
                domain-idle-states {
-                       CLUSTER_SLEEP: cluster-sleep-0 {
+                       cluster_sleep: cluster-sleep-0 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x41000043>;
                                entry-latency-us = <800>;
                idle-states {
                        entry-method = "psci";
 
-                       CPU_SLEEP: cpu-sleep-0 {
+                       cpu_sleep: cpu-sleep-0 {
                                compatible = "arm,idle-state";
                                idle-state-name = "power-collapse";
                                arm,psci-suspend-param = <0x40000003>;
                compatible = "arm,psci-1.0";
                method = "smc";
 
-               CPU_PD0: power-domain-cpu0 {
+               cpu_pd0: power-domain-cpu0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_SLEEP>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_sleep>;
                };
 
-               CPU_PD1: power-domain-cpu1 {
+               cpu_pd1: power-domain-cpu1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_SLEEP>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_sleep>;
                };
 
-               CPU_PD2: power-domain-cpu2 {
+               cpu_pd2: power-domain-cpu2 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_SLEEP>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_sleep>;
                };
 
-               CPU_PD3: power-domain-cpu3 {
+               cpu_pd3: power-domain-cpu3 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_SLEEP>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_sleep>;
                };
 
-               CLUSTER_PD: power-domain-cpu-cluster {
+               cluster_pd: power-domain-cpu-cluster {
                        #power-domain-cells = <0>;
                        power-domains = <&mpm>;
-                       domain-idle-states = <&CLUSTER_SLEEP>;
+                       domain-idle-states = <&cluster_sleep>;
                };
        };
 
                        compatible = "qcom,qcm2290-lmh", "qcom,sm8150-lmh";
                        reg = <0x0 0x0f550800 0x0 0x400>;
                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-                       cpus = <&CPU0>;
+                       cpus = <&cpu0>;
                        qcom,lmh-temp-arm-millicelsius = <65000>;
                        qcom,lmh-temp-low-millicelsius = <94500>;
                        qcom,lmh-temp-high-millicelsius = <95000>;
index cddc16bac0cea4a95e65d1849fe84f34c6ddbfce..215ba146207afd25128692781926cf1964743655 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               CPU0: cpu@100 {
+               cpu0: cpu@100 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x100>;
                        enable-method = "psci";
-                       cpu-idle-states = <&CPU_SLEEP_0>;
-                       next-level-cache = <&L2_0>;
+                       cpu-idle-states = <&cpu_sleep_0>;
+                       next-level-cache = <&l2_0>;
                        #cooling-cells = <2>;
                        clocks = <&apcs_glb>;
                        operating-points-v2 = <&cpu_opp_table>;
                        power-domain-names = "cpr";
                };
 
-               CPU1: cpu@101 {
+               cpu1: cpu@101 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x101>;
                        enable-method = "psci";
-                       cpu-idle-states = <&CPU_SLEEP_0>;
-                       next-level-cache = <&L2_0>;
+                       cpu-idle-states = <&cpu_sleep_0>;
+                       next-level-cache = <&l2_0>;
                        #cooling-cells = <2>;
                        clocks = <&apcs_glb>;
                        operating-points-v2 = <&cpu_opp_table>;
                        power-domain-names = "cpr";
                };
 
-               CPU2: cpu@102 {
+               cpu2: cpu@102 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x102>;
                        enable-method = "psci";
-                       cpu-idle-states = <&CPU_SLEEP_0>;
-                       next-level-cache = <&L2_0>;
+                       cpu-idle-states = <&cpu_sleep_0>;
+                       next-level-cache = <&l2_0>;
                        #cooling-cells = <2>;
                        clocks = <&apcs_glb>;
                        operating-points-v2 = <&cpu_opp_table>;
                        power-domain-names = "cpr";
                };
 
-               CPU3: cpu@103 {
+               cpu3: cpu@103 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
                        reg = <0x103>;
                        enable-method = "psci";
-                       cpu-idle-states = <&CPU_SLEEP_0>;
-                       next-level-cache = <&L2_0>;
+                       cpu-idle-states = <&cpu_sleep_0>;
+                       next-level-cache = <&l2_0>;
                        #cooling-cells = <2>;
                        clocks = <&apcs_glb>;
                        operating-points-v2 = <&cpu_opp_table>;
@@ -92,7 +92,7 @@
                        power-domain-names = "cpr";
                };
 
-               L2_0: l2-cache {
+               l2_0: l2-cache {
                        compatible = "cache";
                        cache-level = <2>;
                        cache-unified;
                idle-states {
                        entry-method = "psci";
 
-                       CPU_SLEEP_0: cpu-sleep-0 {
+                       cpu_sleep_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
                                idle-state-name = "standalone-power-collapse";
                                arm,psci-suspend-param = <0x40000003>;
                        cooling-maps {
                                map0 {
                                        trip = <&cluster_alert1>;
-                                       cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                                };
                        };
                };
                        cooling-maps {
                                map0 {
                                        trip = <&cpu0_alert1>;
-                                       cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                                };
                        };
                };
                        cooling-maps {
                                map0 {
                                        trip = <&cpu1_alert1>;
-                                       cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                                };
                        };
                };
                        cooling-maps {
                                map0 {
                                        trip = <&cpu2_alert1>;
-                                       cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                                };
                        };
                };
                        cooling-maps {
                                map0 {
                                        trip = <&cpu3_alert1>;
-                                       cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                                      <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                                      <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
                                };
                        };
                };
index bc1d37b3f6f04d629c96fa893daf4d91fb5f406e..47c0dd31aaf2e42d6d85411956207b2509a605b0 100644 (file)
                #address-cells = <2>;
                #size-cells = <0>;
 
-               CPU0: cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x0>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD0>;
+                       power-domains = <&cpu_pd0>;
                        power-domain-names = "psci";
                        qcom,freq-domains = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_0>;
-                       L2_0: l2-cache {
+                       next-level-cache = <&l2_0>;
+                       l2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
-                               L3_0: l3-cache {
+                               next-level-cache = <&l3_0>;
+                               l3_0: l3-cache {
                                        compatible = "cache";
                                        cache-level = <3>;
                                        cache-unified;
                        };
                };
 
-               CPU1: cpu@100 {
+               cpu1: cpu@100 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x100>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD1>;
+                       power-domains = <&cpu_pd1>;
                        power-domain-names = "psci";
                        qcom,freq-domains = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_100>;
-                       L2_100: l2-cache {
+                       next-level-cache = <&l2_100>;
+                       l2_100: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU2: cpu@200 {
+               cpu2: cpu@200 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x200>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD2>;
+                       power-domains = <&cpu_pd2>;
                        power-domain-names = "psci";
                        qcom,freq-domains = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_200>;
-                       L2_200: l2-cache {
+                       next-level-cache = <&l2_200>;
+                       l2_200: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU3: cpu@300 {
+               cpu3: cpu@300 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x300>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD3>;
+                       power-domains = <&cpu_pd3>;
                        power-domain-names = "psci";
                        qcom,freq-domains = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_300>;
-                       L2_300: l2-cache {
+                       next-level-cache = <&l2_300>;
+                       l2_300: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
                cpu-map {
                        cluster0 {
                                core0 {
-                                       cpu = <&CPU0>;
+                                       cpu = <&cpu0>;
                                };
 
                                core1 {
-                                       cpu = <&CPU1>;
+                                       cpu = <&cpu1>;
                                };
 
                                core2 {
-                                       cpu = <&CPU2>;
+                                       cpu = <&cpu2>;
                                };
 
                                core3 {
-                                       cpu = <&CPU3>;
+                                       cpu = <&cpu3>;
                                };
                        };
                };
        idle-states {
                entry-method = "psci";
 
-               CPU_OFF: cpu-sleep-0 {
+               cpu_off: cpu-sleep-0 {
                        compatible = "arm,idle-state";
                        entry-latency-us = <274>;
                        exit-latency-us = <480>;
        };
 
        domain-idle-states {
-               CLUSTER_SLEEP_0: cluster-sleep-0 {
+               cluster_sleep_0: cluster-sleep-0 {
                        compatible = "domain-idle-state";
                        entry-latency-us = <584>;
                        exit-latency-us = <2332>;
                        arm,psci-suspend-param = <0x41000044>;
                };
 
-               CLUSTER_SLEEP_1: cluster-sleep-1 {
+               cluster_sleep_1: cluster-sleep-1 {
                        compatible = "domain-idle-state";
                        entry-latency-us = <2893>;
                        exit-latency-us = <4023>;
                compatible = "arm,psci-1.0";
                method = "smc";
 
-               CPU_PD0: power-domain-cpu0 {
+               cpu_pd0: power-domain-cpu0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off>;
                };
 
-               CPU_PD1: power-domain-cpu1 {
+               cpu_pd1: power-domain-cpu1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off>;
                };
 
-               CPU_PD2: power-domain-cpu2 {
+               cpu_pd2: power-domain-cpu2 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off>;
                };
 
-               CPU_PD3: power-domain-cpu3 {
+               cpu_pd3: power-domain-cpu3 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off>;
                };
 
-               CLUSTER_PD: power-domain-cluster {
+               cluster_pd: power-domain-cluster {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_SLEEP_0 &CLUSTER_SLEEP_1>;
+                       domain-idle-states = <&cluster_sleep_0 &cluster_sleep_1>;
                };
        };
 
                        qcom,tcs-config = <ACTIVE_TCS    2>, <SLEEP_TCS     3>,
                                          <WAKE_TCS      3>, <CONTROL_TCS   0>;
                        label = "apps_rsc";
-                       power-domains = <&CLUSTER_PD>;
+                       power-domains = <&cluster_pd>;
 
                        apps_bcm_voter: bcm-voter {
                                compatible = "qcom,bcm-voter";
index e19790464a1159d3ab6e788b8aa22adaa52c56d3..7a789b41c2f1887f0c41ae24da2e2fe8915ab13c 100644 (file)
@@ -24,7 +24,7 @@
        };
 
        clocks {
-               clk40M: can-clk {
+               clk40m: can-clk {
                        compatible = "fixed-clock";
                        clock-frequency = <40000000>;
                        #clock-cells = <0>;
        };
 };
 
-&CPU_PD0 {
+&cpu_pd0 {
        /delete-property/ power-domains;
 };
 
-&CPU_PD1 {
+&cpu_pd1 {
        /delete-property/ power-domains;
 };
 
-&CPU_PD2 {
+&cpu_pd2 {
        /delete-property/ power-domains;
 };
 
-&CPU_PD3 {
+&cpu_pd3 {
        /delete-property/ power-domains;
 };
 
-/delete-node/ &CLUSTER_PD;
+/delete-node/ &cluster_pd;
 
 &gpi_dma0 {
        status = "okay";
                compatible = "microchip,mcp2518fd";
                reg = <0>;
                interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>;
-               clocks = <&clk40M>;
+               clocks = <&clk40m>;
                spi-max-frequency = <10000000>;
                vdd-supply = <&vdc_5v>;
                xceiver-supply = <&vdc_5v>;
index cb70542be1a7ea5e58ab47ab73beed615359c66d..34163d2ebd57c74504e343cbf0bdfdbb27330013 100644 (file)
                #address-cells = <2>;
                #size-cells = <0>;
 
-               CPU0: cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x0>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_0: l2-cache {
+                       l2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
-                               L3_0: l3-cache {
+                               next-level-cache = <&l3_0>;
+                               l3_0: l3-cache {
                                        compatible = "cache";
                                        cache-level = <3>;
                                        cache-unified;
                        };
                };
 
-               CPU1: cpu@100 {
+               cpu1: cpu@100 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x100>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_1>;
+                       next-level-cache = <&l2_1>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_1: l2-cache {
+                       l2_1: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU2: cpu@200 {
+               cpu2: cpu@200 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x200>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_2>;
+                       next-level-cache = <&l2_2>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_2: l2-cache {
+                       l2_2: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU3: cpu@300 {
+               cpu3: cpu@300 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x300>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
-                       next-level-cache = <&L2_3>;
+                       next-level-cache = <&l2_3>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_3: l2-cache {
+                       l2_3: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU4: cpu@10000 {
+               cpu4: cpu@10000 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x10000>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
-                       next-level-cache = <&L2_4>;
+                       next-level-cache = <&l2_4>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_4: l2-cache {
+                       l2_4: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_1>;
-                               L3_1: l3-cache {
+                               next-level-cache = <&l3_1>;
+                               l3_1: l3-cache {
                                        compatible = "cache";
                                        cache-level = <3>;
                                        cache-unified;
                        };
                };
 
-               CPU5: cpu@10100 {
+               cpu5: cpu@10100 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x10100>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
-                       next-level-cache = <&L2_5>;
+                       next-level-cache = <&l2_5>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_5: l2-cache {
+                       l2_5: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_1>;
+                               next-level-cache = <&l3_1>;
                        };
                };
 
-               CPU6: cpu@10200 {
+               cpu6: cpu@10200 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x10200>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
-                       next-level-cache = <&L2_6>;
+                       next-level-cache = <&l2_6>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_6: l2-cache {
+                       l2_6: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_1>;
+                               next-level-cache = <&l3_1>;
                        };
                };
 
-               CPU7: cpu@10300 {
+               cpu7: cpu@10300 {
                        device_type = "cpu";
                        compatible = "qcom,kryo";
                        reg = <0x0 0x10300>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
-                       next-level-cache = <&L2_7>;
+                       next-level-cache = <&l2_7>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       L2_7: l2-cache {
+                       l2_7: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_1>;
+                               next-level-cache = <&l3_1>;
                        };
                };
 
                cpu-map {
                        cluster0 {
                                core0 {
-                                       cpu = <&CPU0>;
+                                       cpu = <&cpu0>;
                                };
 
                                core1 {
-                                       cpu = <&CPU1>;
+                                       cpu = <&cpu1>;
                                };
 
                                core2 {
-                                       cpu = <&CPU2>;
+                                       cpu = <&cpu2>;
                                };
 
                                core3 {
-                                       cpu = <&CPU3>;
+                                       cpu = <&cpu3>;
                                };
                        };
 
                        cluster1 {
                                core0 {
-                                       cpu = <&CPU4>;
+                                       cpu = <&cpu4>;
                                };
 
                                core1 {
-                                       cpu = <&CPU5>;
+                                       cpu = <&cpu5>;
                                };
 
                                core2 {
-                                       cpu = <&CPU6>;
+                                       cpu = <&cpu6>;
                                };
 
                                core3 {
-                                       cpu = <&CPU7>;
+                                       cpu = <&cpu7>;
                                };
                        };
                };
                idle-states {
                        entry-method = "psci";
 
-                       GOLD_CPU_SLEEP_0: cpu-sleep-0 {
+                       gold_cpu_sleep_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
                                idle-state-name = "gold-power-collapse";
                                arm,psci-suspend-param = <0x40000003>;
                                local-timer-stop;
                        };
 
-                       GOLD_RAIL_CPU_SLEEP_0: cpu-sleep-1 {
+                       gold_rail_cpu_sleep_0: cpu-sleep-1 {
                                compatible = "arm,idle-state";
                                idle-state-name = "gold-rail-power-collapse";
                                arm,psci-suspend-param = <0x40000004>;
                };
 
                domain-idle-states {
-                       CLUSTER_SLEEP_GOLD: cluster-sleep-0 {
+                       cluster_sleep_gold: cluster-sleep-0 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x41000044>;
                                entry-latency-us = <2752>;
                                min-residency-us = <6118>;
                        };
 
-                       CLUSTER_SLEEP_APSS_RSC_PC: cluster-sleep-1 {
+                       cluster_sleep_apss_rsc_pc: cluster-sleep-1 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x42000144>;
                                entry-latency-us = <3263>;
                compatible = "arm,psci-1.0";
                method = "smc";
 
-               CPU_PD0: power-domain-cpu0 {
+               cpu_pd0: power-domain-cpu0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_0_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_0_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD1: power-domain-cpu1 {
+               cpu_pd1: power-domain-cpu1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_0_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_0_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD2: power-domain-cpu2 {
+               cpu_pd2: power-domain-cpu2 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_0_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_0_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD3: power-domain-cpu3 {
+               cpu_pd3: power-domain-cpu3 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_0_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_0_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD4: power-domain-cpu4 {
+               cpu_pd4: power-domain-cpu4 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_1_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_1_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD5: power-domain-cpu5 {
+               cpu_pd5: power-domain-cpu5 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_1_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_1_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD6: power-domain-cpu6 {
+               cpu_pd6: power-domain-cpu6 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_1_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_1_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CPU_PD7: power-domain-cpu7 {
+               cpu_pd7: power-domain-cpu7 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_1_PD>;
-                       domain-idle-states = <&GOLD_CPU_SLEEP_0>,
-                                            <&GOLD_RAIL_CPU_SLEEP_0>;
+                       power-domains = <&cluster_1_pd>;
+                       domain-idle-states = <&gold_cpu_sleep_0>,
+                                            <&gold_rail_cpu_sleep_0>;
                };
 
-               CLUSTER_0_PD: power-domain-cluster0 {
+               cluster_0_pd: power-domain-cluster0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_2_PD>;
-                       domain-idle-states = <&CLUSTER_SLEEP_GOLD>;
+                       power-domains = <&cluster_2_pd>;
+                       domain-idle-states = <&cluster_sleep_gold>;
                };
 
-               CLUSTER_1_PD: power-domain-cluster1 {
+               cluster_1_pd: power-domain-cluster1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_2_PD>;
-                       domain-idle-states = <&CLUSTER_SLEEP_GOLD>;
+                       power-domains = <&cluster_2_pd>;
+                       domain-idle-states = <&cluster_sleep_gold>;
                };
 
-               CLUSTER_2_PD: power-domain-cluster2 {
+               cluster_2_pd: power-domain-cluster2 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_SLEEP_APSS_RSC_PC>;
+                       domain-idle-states = <&cluster_sleep_apss_rsc_pc>;
                };
        };
 
                etm@6040000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6040000 0x0 0x1000>;
-                       cpu = <&CPU0>;
+                       cpu = <&cpu0>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6140000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6140000 0x0 0x1000>;
-                       cpu = <&CPU1>;
+                       cpu = <&cpu1>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6240000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6240000 0x0 0x1000>;
-                       cpu = <&CPU2>;
+                       cpu = <&cpu2>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6340000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6340000 0x0 0x1000>;
-                       cpu = <&CPU3>;
+                       cpu = <&cpu3>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6440000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6440000 0x0 0x1000>;
-                       cpu = <&CPU4>;
+                       cpu = <&cpu4>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6540000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6540000 0x0 0x1000>;
-                       cpu = <&CPU5>;
+                       cpu = <&cpu5>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6640000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6640000 0x0 0x1000>;
-                       cpu = <&CPU6>;
+                       cpu = <&cpu6>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
                etm@6740000 {
                        compatible = "arm,primecell";
                        reg = <0x0 0x6740000 0x0 0x1000>;
-                       cpu = <&CPU7>;
+                       cpu = <&cpu7>;
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
index 7cf3fcb469a8682f0898f5d66d4ec0964cd0c80f..5f7e59ecf1ca6298cb252ee0654bc7eaeefbd303 100644 (file)
                #address-cells = <2>;
                #size-cells = <0>;
 
-               CPU0: cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x0>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD0>;
+                       power-domains = <&cpu_pd0>;
                        power-domain-names = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       next-level-cache = <&L2_0>;
+                       next-level-cache = <&l2_0>;
 
-                       L2_0: l2-cache {
+                       l2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
-                               L3_0: l3-cache {
+                               next-level-cache = <&l3_0>;
+                               l3_0: l3-cache {
                                        compatible = "cache";
                                        cache-level = <3>;
                                        cache-unified;
                        };
                };
 
-               CPU1: cpu@100 {
+               cpu1: cpu@100 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x100>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD1>;
+                       power-domains = <&cpu_pd1>;
                        power-domain-names = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       next-level-cache = <&L2_100>;
+                       next-level-cache = <&l2_100>;
 
-                       L2_100: l2-cache {
+                       l2_100: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU2: cpu@200 {
+               cpu2: cpu@200 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x200>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD2>;
+                       power-domains = <&cpu_pd2>;
                        power-domain-names = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       next-level-cache = <&L2_200>;
+                       next-level-cache = <&l2_200>;
 
-                       L2_200: l2-cache {
+                       l2_200: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
-               CPU3: cpu@300 {
+               cpu3: cpu@300 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x300>;
                        clocks = <&cpufreq_hw 0>;
                        enable-method = "psci";
-                       power-domains = <&CPU_PD3>;
+                       power-domains = <&cpu_pd3>;
                        power-domain-names = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        capacity-dmips-mhz = <1024>;
                        dynamic-power-coefficient = <100>;
-                       next-level-cache = <&L2_300>;
+                       next-level-cache = <&l2_300>;
 
-                       L2_300: l2-cache {
+                       l2_300: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
-                               next-level-cache = <&L3_0>;
+                               next-level-cache = <&l3_0>;
                        };
                };
 
                cpu-map {
                        cluster0 {
                                core0 {
-                                       cpu = <&CPU0>;
+                                       cpu = <&cpu0>;
                                };
 
                                core1 {
-                                       cpu = <&CPU1>;
+                                       cpu = <&cpu1>;
                                };
 
                                core2 {
-                                       cpu = <&CPU2>;
+                                       cpu = <&cpu2>;
                                };
 
                                core3 {
-                                       cpu = <&CPU3>;
+                                       cpu = <&cpu3>;
                                };
                        };
                };
                idle-states {
                        entry-method = "psci";
 
-                       CPU_OFF: cpu-sleep-0 {
+                       cpu_off: cpu-sleep-0 {
                                compatible = "arm,idle-state";
                                entry-latency-us = <235>;
                                exit-latency-us = <428>;
                                local-timer-stop;
                        };
 
-                       CPU_RAIL_OFF: cpu-rail-sleep-1 {
+                       cpu_rail_off: cpu-rail-sleep-1 {
                                compatible = "arm,idle-state";
                                entry-latency-us = <800>;
                                exit-latency-us = <750>;
                };
 
                domain-idle-states {
-                       CLUSTER_SLEEP_0: cluster-sleep-0 {
+                       cluster_sleep_0: cluster-sleep-0 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x41000044>;
                                entry-latency-us = <1050>;
                                min-residency-us = <5309>;
                        };
 
-                       CLUSTER_SLEEP_1: cluster-sleep-1 {
+                       cluster_sleep_1: cluster-sleep-1 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x41001344>;
                                entry-latency-us = <2761>;
                                min-residency-us = <8467>;
                        };
 
-                       CLUSTER_SLEEP_2: cluster-sleep-2 {
+                       cluster_sleep_2: cluster-sleep-2 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x4100b344>;
                                entry-latency-us = <2793>;
                compatible = "arm,psci-1.0";
                method = "smc";
 
-               CPU_PD0: power-domain-cpu0 {
+               cpu_pd0: power-domain-cpu0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off &cpu_rail_off>;
                };
 
-               CPU_PD1: power-domain-cpu1 {
+               cpu_pd1: power-domain-cpu1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off &cpu_rail_off>;
                };
 
-               CPU_PD2: power-domain-cpu2 {
+               cpu_pd2: power-domain-cpu2 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off &cpu_rail_off>;
                };
 
-               CPU_PD3: power-domain-cpu3 {
+               cpu_pd3: power-domain-cpu3 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD>;
-                       domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>;
+                       power-domains = <&cluster_pd>;
+                       domain-idle-states = <&cpu_off &cpu_rail_off>;
                };
 
-               CLUSTER_PD: power-domain-cpu-cluster0 {
+               cluster_pd: power-domain-cpu-cluster0 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_SLEEP_0 &CLUSTER_SLEEP_1 &CLUSTER_SLEEP_2>;
+                       domain-idle-states = <&cluster_sleep_0 &cluster_sleep_1 &cluster_sleep_2>;
                };
        };
 
                                     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
 
-                       power-domains = <&CLUSTER_PD>;
+                       power-domains = <&cluster_pd>;
                        qcom,tcs-offset = <0xd00>;
                        qcom,drv-id = <2>;
                        qcom,tcs-config = <ACTIVE_TCS    3>,
index a85a7bdfbf5260110bd32fd4364f46927b2b2ff5..5c62667e45fe9a8aa48853d2e14b4f43fe53b3d3 100644 (file)
                #address-cells = <2>;
                #size-cells = <0>;
 
-               CPU0: cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x0>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
-                       power-domains = <&CPU_PD0>;
+                       next-level-cache = <&l2_0>;
+                       power-domains = <&cpu_pd0>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
 
-                       L2_0: l2-cache {
+                       l2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
                        };
                };
 
-               CPU1: cpu@100 {
+               cpu1: cpu@100 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
-                       power-domains = <&CPU_PD1>;
+                       next-level-cache = <&l2_0>;
+                       power-domains = <&cpu_pd1>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU2: cpu@200 {
+               cpu2: cpu@200 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x200>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
-                       power-domains = <&CPU_PD2>;
+                       next-level-cache = <&l2_0>;
+                       power-domains = <&cpu_pd2>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU3: cpu@300 {
+               cpu3: cpu@300 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x300>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_0>;
-                       power-domains = <&CPU_PD3>;
+                       next-level-cache = <&l2_0>;
+                       power-domains = <&cpu_pd3>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU4: cpu@10000 {
+               cpu4: cpu@10000 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x10000>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_1>;
-                       power-domains = <&CPU_PD4>;
+                       next-level-cache = <&l2_1>;
+                       power-domains = <&cpu_pd4>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
 
-                       L2_1: l2-cache {
+                       l2_1: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
                        };
                };
 
-               CPU5: cpu@10100 {
+               cpu5: cpu@10100 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x10100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_1>;
-                       power-domains = <&CPU_PD5>;
+                       next-level-cache = <&l2_1>;
+                       power-domains = <&cpu_pd5>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU6: cpu@10200 {
+               cpu6: cpu@10200 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x10200>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_1>;
-                       power-domains = <&CPU_PD6>;
+                       next-level-cache = <&l2_1>;
+                       power-domains = <&cpu_pd6>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU7: cpu@10300 {
+               cpu7: cpu@10300 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x10300>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_1>;
-                       power-domains = <&CPU_PD7>;
+                       next-level-cache = <&l2_1>;
+                       power-domains = <&cpu_pd7>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU8: cpu@20000 {
+               cpu8: cpu@20000 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x20000>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_2>;
-                       power-domains = <&CPU_PD8>;
+                       next-level-cache = <&l2_2>;
+                       power-domains = <&cpu_pd8>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
 
-                       L2_2: l2-cache {
+                       l2_2: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                                cache-unified;
                        };
                };
 
-               CPU9: cpu@20100 {
+               cpu9: cpu@20100 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x20100>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_2>;
-                       power-domains = <&CPU_PD9>;
+                       next-level-cache = <&l2_2>;
+                       power-domains = <&cpu_pd9>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU10: cpu@20200 {
+               cpu10: cpu@20200 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x20200>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_2>;
-                       power-domains = <&CPU_PD10>;
+                       next-level-cache = <&l2_2>;
+                       power-domains = <&cpu_pd10>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
-               CPU11: cpu@20300 {
+               cpu11: cpu@20300 {
                        device_type = "cpu";
                        compatible = "qcom,oryon";
                        reg = <0x0 0x20300>;
                        enable-method = "psci";
-                       next-level-cache = <&L2_2>;
-                       power-domains = <&CPU_PD11>;
+                       next-level-cache = <&l2_2>;
+                       power-domains = <&cpu_pd11>;
                        power-domain-names = "psci";
-                       cpu-idle-states = <&CLUSTER_C4>;
+                       cpu-idle-states = <&cluster_c4>;
                };
 
                cpu-map {
                        cluster0 {
                                core0 {
-                                       cpu = <&CPU0>;
+                                       cpu = <&cpu0>;
                                };
 
                                core1 {
-                                       cpu = <&CPU1>;
+                                       cpu = <&cpu1>;
                                };
 
                                core2 {
-                                       cpu = <&CPU2>;
+                                       cpu = <&cpu2>;
                                };
 
                                core3 {
-                                       cpu = <&CPU3>;
+                                       cpu = <&cpu3>;
                                };
                        };
 
                        cluster1 {
                                core0 {
-                                       cpu = <&CPU4>;
+                                       cpu = <&cpu4>;
                                };
 
                                core1 {
-                                       cpu = <&CPU5>;
+                                       cpu = <&cpu5>;
                                };
 
                                core2 {
-                                       cpu = <&CPU6>;
+                                       cpu = <&cpu6>;
                                };
 
                                core3 {
-                                       cpu = <&CPU7>;
+                                       cpu = <&cpu7>;
                                };
                        };
 
                        cluster2 {
                                core0 {
-                                       cpu = <&CPU8>;
+                                       cpu = <&cpu8>;
                                };
 
                                core1 {
-                                       cpu = <&CPU9>;
+                                       cpu = <&cpu9>;
                                };
 
                                core2 {
-                                       cpu = <&CPU10>;
+                                       cpu = <&cpu10>;
                                };
 
                                core3 {
-                                       cpu = <&CPU11>;
+                                       cpu = <&cpu11>;
                                };
                        };
                };
                idle-states {
                        entry-method = "psci";
 
-                       CLUSTER_C4: cpu-sleep-0 {
+                       cluster_c4: cpu-sleep-0 {
                                compatible = "arm,idle-state";
                                idle-state-name = "ret";
                                arm,psci-suspend-param = <0x00000004>;
                };
 
                domain-idle-states {
-                       CLUSTER_CL4: cluster-sleep-0 {
+                       cluster_cl4: cluster-sleep-0 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x01000044>;
                                entry-latency-us = <350>;
                                min-residency-us = <2500>;
                        };
 
-                       CLUSTER_CL5: cluster-sleep-1 {
+                       cluster_cl5: cluster-sleep-1 {
                                compatible = "domain-idle-state";
                                arm,psci-suspend-param = <0x01000054>;
                                entry-latency-us = <2200>;
                compatible = "arm,psci-1.0";
                method = "smc";
 
-               CPU_PD0: power-domain-cpu0 {
+               cpu_pd0: power-domain-cpu0 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD0>;
+                       power-domains = <&cluster_pd0>;
                };
 
-               CPU_PD1: power-domain-cpu1 {
+               cpu_pd1: power-domain-cpu1 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD0>;
+                       power-domains = <&cluster_pd0>;
                };
 
-               CPU_PD2: power-domain-cpu2 {
+               cpu_pd2: power-domain-cpu2 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD0>;
+                       power-domains = <&cluster_pd0>;
                };
 
-               CPU_PD3: power-domain-cpu3 {
+               cpu_pd3: power-domain-cpu3 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD0>;
+                       power-domains = <&cluster_pd0>;
                };
 
-               CPU_PD4: power-domain-cpu4 {
+               cpu_pd4: power-domain-cpu4 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD1>;
+                       power-domains = <&cluster_pd1>;
                };
 
-               CPU_PD5: power-domain-cpu5 {
+               cpu_pd5: power-domain-cpu5 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD1>;
+                       power-domains = <&cluster_pd1>;
                };
 
-               CPU_PD6: power-domain-cpu6 {
+               cpu_pd6: power-domain-cpu6 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD1>;
+                       power-domains = <&cluster_pd1>;
                };
 
-               CPU_PD7: power-domain-cpu7 {
+               cpu_pd7: power-domain-cpu7 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD1>;
+                       power-domains = <&cluster_pd1>;
                };
 
-               CPU_PD8: power-domain-cpu8 {
+               cpu_pd8: power-domain-cpu8 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD2>;
+                       power-domains = <&cluster_pd2>;
                };
 
-               CPU_PD9: power-domain-cpu9 {
+               cpu_pd9: power-domain-cpu9 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD2>;
+                       power-domains = <&cluster_pd2>;
                };
 
-               CPU_PD10: power-domain-cpu10 {
+               cpu_pd10: power-domain-cpu10 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD2>;
+                       power-domains = <&cluster_pd2>;
                };
 
-               CPU_PD11: power-domain-cpu11 {
+               cpu_pd11: power-domain-cpu11 {
                        #power-domain-cells = <0>;
-                       power-domains = <&CLUSTER_PD2>;
+                       power-domains = <&cluster_pd2>;
                };
 
-               CLUSTER_PD0: power-domain-cpu-cluster0 {
+               cluster_pd0: power-domain-cpu-cluster0 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
-                       power-domains = <&SYSTEM_PD>;
+                       domain-idle-states = <&cluster_cl4>, <&cluster_cl5>;
+                       power-domains = <&system_pd>;
                };
 
-               CLUSTER_PD1: power-domain-cpu-cluster1 {
+               cluster_pd1: power-domain-cpu-cluster1 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
-                       power-domains = <&SYSTEM_PD>;
+                       domain-idle-states = <&cluster_cl4>, <&cluster_cl5>;
+                       power-domains = <&system_pd>;
                };
 
-               CLUSTER_PD2: power-domain-cpu-cluster2 {
+               cluster_pd2: power-domain-cpu-cluster2 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
-                       power-domains = <&SYSTEM_PD>;
+                       domain-idle-states = <&cluster_cl4>, <&cluster_cl5>;
+                       power-domains = <&system_pd>;
                };
 
-               SYSTEM_PD: power-domain-system {
+               system_pd: power-domain-system {
                        #power-domain-cells = <0>;
                        /* TODO: system-wide idle states */
                };
                                          <WAKE_TCS      2>, <CONTROL_TCS   0>;
 
                        label = "apps_rsc";
-                       power-domains = <&SYSTEM_PD>;
+                       power-domains = <&system_pd>;
 
                        apps_bcm_voter: bcm-voter {
                                compatible = "qcom,bcm-voter";