arm64: dts: mt8173: fix unit name warnings
authorHsin-Yi Wang <hsinyi@chromium.org>
Mon, 10 Feb 2020 06:35:22 +0000 (14:35 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 13 Apr 2020 17:11:09 +0000 (19:11 +0200)
Fixing several unit name warnings:

Warning (unit_address_vs_reg): /oscillator@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /oscillator@1: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /oscillator@2: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/trip-point@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/trip-point@1: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/cpu_crit@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/cooling-maps/map@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/cooling-maps/map@1: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /reserved-memory/vpu_dma_mem_region: node has a reg or ranges property, but no unit name
Warning (simple_bus_reg): /soc/pinctrl@10005000: simple-bus unit address format error, expected "1000b000"
Warning (simple_bus_reg): /soc/interrupt-controller@10220000: simple-bus unit address format error, expected "10221000"

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200210063523.133333-4-hsinyi@chromium.org
[mb: drop fixes for '_' in property name]
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index ce919ac7e70d8155346d9e91311218b2d1d20be9..3809c820966ef72d3f3c93d3f32711f2ec2e1835 100644 (file)
                cpu_on        = <0x84000003>;
        };
 
-       clk26m: oscillator@0 {
+       clk26m: oscillator0 {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <26000000>;
                clock-output-names = "clk26m";
        };
 
-       clk32k: oscillator@1 {
+       clk32k: oscillator1 {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <32000>;
                clock-output-names = "clk32k";
        };
 
-       cpum_ck: oscillator@2 {
+       cpum_ck: oscillator2 {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <0>;
                        sustainable-power = <1500>; /* milliwatts */
 
                        trips {
-                               threshold: trip-point@0 {
+                               threshold: trip-point0 {
                                        temperature = <68000>;
                                        hysteresis = <2000>;
                                        type = "passive";
                                };
 
-                               target: trip-point@1 {
+                               target: trip-point1 {
                                        temperature = <85000>;
                                        hysteresis = <2000>;
                                        type = "passive";
                                };
 
-                               cpu_crit: cpu_crit@0 {
+                               cpu_crit: cpu_crit0 {
                                        temperature = <115000>;
                                        hysteresis = <2000>;
                                        type = "critical";
                        };
 
                        cooling-maps {
-                               map@0 {
+                               map0 {
                                        trip = <&target>;
                                        cooling-device = <&cpu0 0 0>,
                                                         <&cpu1 0 0>;
                                        contribution = <3072>;
                                };
-                               map@1 {
+                               map1 {
                                        trip = <&target>;
                                        cooling-device = <&cpu2 0 0>,
                                                         <&cpu3 0 0>;
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
-               vpu_dma_reserved: vpu_dma_mem_region {
+               vpu_dma_reserved: vpu_dma_mem_region@b7000000 {
                        compatible = "shared-dma-pool";
                        reg = <0 0xb7000000 0 0x500000>;
                        alignment = <0x1000>;
                        reg = <0 0x10005000 0 0x1000>;
                };
 
-               pio: pinctrl@10005000 {
+               pio: pinctrl@1000b000 {
                        compatible = "mediatek,mt8173-pinctrl";
                        reg = <0 0x1000b000 0 0x1000>;
                        mediatek,pctl-regmap = <&syscfg_pctl_a>;
                        status = "disabled";
                };
 
-               gic: interrupt-controller@10220000 {
+               gic: interrupt-controller@10221000 {
                        compatible = "arm,gic-400";
                        #interrupt-cells = <3>;
                        interrupt-parent = <&gic>;