arm64: dts: zynqmp: Fix node names which contain "_"
authorMichal Simek <michal.simek@xilinx.com>
Thu, 8 Nov 2018 09:06:53 +0000 (10:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:25 +0000 (08:51 +0100)
[ Upstream commit d1d4445abffb2b17e841d37b555b6f1364b571c1 ]

s/_/-/ for node names.

It fixes warnings like this:
... Warning (node_name_chars_strict): /cpu_opp_table:
Character '_' not recommended in node name ...

Issues reported by make dtbs W=12

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/xilinx/zynqmp-clk.dtsi
arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 9c09bac..306ad21 100644 (file)
                clock-accuracy = <100>;
        };
 
-       dpdma_clk: dpdma_clk {
+       dpdma_clk: dpdma-clk {
                compatible = "fixed-clock";
                #clock-cells = <0x0>;
                clock-frequency = <533000000>;
        };
 
-       drm_clock: drm_clock {
+       drm_clock: drm-clock {
                compatible = "fixed-clock";
                #clock-cells = <0x0>;
                clock-frequency = <262750000>;
index 8954c8c..14062b4 100644 (file)
@@ -82,7 +82,7 @@
                        linux,default-trigger = "bluetooth-power";
                };
 
-               vbus_det { /* U5 USB5744 VBUS detection via MIO25 */
+               vbus-det { /* U5 USB5744 VBUS detection via MIO25 */
                        label = "vbus_det";
                        gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
@@ -98,7 +98,7 @@
                regulator-boot-on;
        };
 
-       sdio_pwrseq: sdio_pwrseq {
+       sdio_pwrseq: sdio-pwrseq {
                compatible = "mmc-pwrseq-simple";
                reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */
                post-power-on-delay-ms = <10>;
index 25dd574..d3b8e1a 100644 (file)
@@ -53,7 +53,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                 * 7, 10 - 17 - not connected
                 */
 
-               gtr_sel0 {
+               gtr-sel0 {
                        gpio-hog;
                        gpios = <0 0>;
                        output-low; /* PCIE = 0, DP = 1 */
                        line-name = "sel0";
                };
-               gtr_sel1 {
+               gtr-sel1 {
                        gpio-hog;
                        gpios = <1 0>;
                        output-high; /* PCIE = 0, DP = 1 */
                        line-name = "sel1";
                };
-               gtr_sel2 {
+               gtr-sel2 {
                        gpio-hog;
                        gpios = <2 0>;
                        output-high; /* PCIE = 0, USB0 = 1 */
                        line-name = "sel2";
                };
-               gtr_sel3 {
+               gtr-sel3 {
                        gpio-hog;
                        gpios = <3 0>;
                        output-high; /* PCIE = 0, SATA = 1 */
index 259f21b..28dee4d 100644 (file)
@@ -53,7 +53,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
index a61b3cc..47b5989 100644 (file)
@@ -53,7 +53,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
index 29ce234..a516c0e 100644 (file)
@@ -71,7 +71,7 @@
                };
        };
 
-       cpu_opp_table: cpu_opp_table {
+       cpu_opp_table: cpu-opp-table {
                compatible = "operating-points-v2";
                opp-shared;
                opp00 {
                             <1 10 0xf08>;
        };
 
-       amba_apu: amba_apu@0 {
+       amba_apu: amba-apu@0 {
                compatible = "simple-bus";
                #address-cells = <2>;
                #size-cells = <1>;