ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 26 Sep 2017 07:22:23 +0000 (09:22 +0200)
committerChen-Yu Tsai <wens@csie.org>
Tue, 26 Sep 2017 12:56:08 +0000 (20:56 +0800)
This patch fix the warning "xxx has a unit name, but no reg property" by
removing "@0" from such node.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sunxi-h3-h5.dtsi

index 24a7a0c..d7a71e7 100644 (file)
                                function = "i2c2";
                        };
 
-                       mmc0_pins_a: mmc0@0 {
+                       mmc0_pins_a: mmc0 {
                                pins = "PF0", "PF1", "PF2", "PF3",
                                       "PF4", "PF5";
                                function = "mmc0";
                                bias-pull-up;
                        };
 
-                       mmc0_cd_pin: mmc0_cd_pin@0 {
+                       mmc0_cd_pin: mmc0_cd_pin {
                                pins = "PF6";
                                function = "gpio_in";
                                bias-pull-up;
                        };
 
-                       mmc1_pins_a: mmc1@0 {
+                       mmc1_pins_a: mmc1 {
                                pins = "PG0", "PG1", "PG2", "PG3",
                                       "PG4", "PG5";
                                function = "mmc1";
                                bias-pull-up;
                        };
 
-                       spdif_tx_pins_a: spdif@0 {
+                       spdif_tx_pins_a: spdif {
                                pins = "PA17";
                                function = "spdif";
                        };
                                function = "spi1";
                        };
 
-                       uart0_pins_a: uart0@0 {
+                       uart0_pins_a: uart0 {
                                pins = "PA4", "PA5";
                                function = "uart0";
                        };
                        interrupt-controller;
                        #interrupt-cells = <3>;
 
-                       ir_pins_a: ir@0 {
+                       ir_pins_a: ir {
                                pins = "PL11";
                                function = "s_cir_rx";
                        };