]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Do not use '_' in DT node names
authorMichal Simek <michal.simek@amd.com>
Wed, 27 Sep 2023 09:57:48 +0000 (11:57 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 9 Oct 2023 10:13:36 +0000 (12:13 +0200)
Using '_' is not recommended for node names. Use '-' instead.
Pretty much run seds below for node names.
s/heartbeat_led/heartbeat-led/
s/gtr_sel/gtr-sel/
s/zynqmp_ipi/zynqmp-ipi/
s/nvmem_firmware/nvmem-firmware/
s/soc_revision/soc-revision/

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/dd33d6cb0595ffedab117d477f4a3c9d9eb11715.1695808665.git.michal.simek@amd.com
arch/arm/dts/zynqmp-m-a2197-01-revA.dts
arch/arm/dts/zynqmp-m-a2197-02-revA.dts
arch/arm/dts/zynqmp-m-a2197-03-revA.dts
arch/arm/dts/zynqmp-p-a2197-00-revA.dts
arch/arm/dts/zynqmp-zcu208-revA.dts
arch/arm/dts/zynqmp-zcu216-revA.dts
arch/arm/dts/zynqmp.dtsi

index cfd5ba1aac63858de7b001de5294d2076c121bd1..25ef646c846686ff83d4dcb47b9d62562a036bb6 100644 (file)
                                #gpio-cells = <2>;
                                gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4",
                                                  "", "", "", "";
-                               gtr_sel0 {
+                               gtr-sel0 {
                                        gpio-hog;
                                        gpios = <0 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_1";
                                };
-                               gtr_sel1 {
+                               gtr-sel1 {
                                        gpio-hog;
                                        gpios = <1 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_2";
                                };
-                               gtr_sel2 {
+                               gtr-sel2 {
                                        gpio-hog;
                                        gpios = <2 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_3";
                                };
-                               gtr_sel3 {
+                               gtr-sel3 {
                                        gpio-hog;
                                        gpios = <3 0>;
                                        input; /* FIXME add meaning */
index 18e14389f85f0b0f56d3c10c580db5bd5be839ce..ece9e691454144ba53e58ca16016a3417b5d2039 100644 (file)
                                #gpio-cells = <2>;
                                gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4",
                                                  "", "", "", "";
-                               gtr_sel0 {
+                               gtr-sel0 {
                                        gpio-hog;
                                        gpios = <0 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_1";
                                };
-                               gtr_sel1 {
+                               gtr-sel1 {
                                        gpio-hog;
                                        gpios = <1 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_2";
                                };
-                               gtr_sel2 {
+                               gtr-sel2 {
                                        gpio-hog;
                                        gpios = <2 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_3";
                                };
-                               gtr_sel3 {
+                               gtr-sel3 {
                                        gpio-hog;
                                        gpios = <3 0>;
                                        input; /* FIXME add meaning */
index cd7654a9f7ede9243427021cc342aa7e5ec86411..7372968e5734001e34fbbe4b2926b0ec834b6205 100644 (file)
                                #gpio-cells = <2>;
                                gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4",
                                                  "", "", "", "";
-                               gtr_sel0 {
+                               gtr-sel0 {
                                        gpio-hog;
                                        gpios = <0 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_1";
                                };
-                               gtr_sel1 {
+                               gtr-sel1 {
                                        gpio-hog;
                                        gpios = <1 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_2";
                                };
-                               gtr_sel2 {
+                               gtr-sel2 {
                                        gpio-hog;
                                        gpios = <2 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_3";
                                };
-                               gtr_sel3 {
+                               gtr-sel3 {
                                        gpio-hog;
                                        gpios = <3 0>;
                                        input; /* FIXME add meaning */
index 97b9cdf82ae745481b6d9445576a82469e551632..c456c375ac805a8253037241f98574c01a24d63b 100644 (file)
                                #gpio-cells = <2>;
                                gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4",
                                                  "", "", "", "";
-                               gtr_sel0 {
+                               gtr-sel0 {
                                        gpio-hog;
                                        gpios = <0 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_1";
                                };
-                               gtr_sel1 {
+                               gtr-sel1 {
                                        gpio-hog;
                                        gpios = <1 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_2";
                                };
-                               gtr_sel2 {
+                               gtr-sel2 {
                                        gpio-hog;
                                        gpios = <2 0>;
                                        input; /* FIXME add meaning */
                                        line-name = "sw4_3";
                                };
-                               gtr_sel3 {
+                               gtr-sel3 {
                                        gpio-hog;
                                        gpios = <3 0>;
                                        input; /* FIXME add meaning */
index d09e53f42fa8be25c452762118362729e322b784..22ad8d33a1165fdb5b3261e85a757eb8853cf7ca 100644 (file)
@@ -57,7 +57,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
index fd026347c25fd47f6bcfcd5c22b0764b54bbfba1..575ff5b1b77b2f3a134106b26e47f3300010445a 100644 (file)
@@ -57,7 +57,7 @@
 
        leds {
                compatible = "gpio-leds";
-               heartbeat_led {
+               heartbeat-led {
                        label = "heartbeat";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
index 30bd7b499603263d86c1b0ad0605bba6445528f0..f03c201caee9da8680cfac4dedf900a5385fa918 100644 (file)
                };
        };
 
-       zynqmp_ipi: zynqmp_ipi {
+       zynqmp_ipi: zynqmp-ipi {
                bootph-all;
                compatible = "xlnx,zynqmp-ipi-mailbox";
                interrupt-parent = <&gic>;
                                mbox-names = "tx", "rx";
                        };
 
-                       nvmem_firmware {
+                       nvmem-firmware {
                                compatible = "xlnx,zynqmp-nvmem-fw";
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               soc_revision: soc_revision@0 {
+                               soc_revision: soc-revision@0 {
                                        reg = <0x0 0x4>;
                                };
                        };