ARM: dts: hisilicon: fix errors detected by synopsys-dw-mshc.yaml
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 12 Oct 2020 06:12:21 +0000 (14:12 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 24 Nov 2020 11:43:18 +0000 (19:43 +0800)
Look at the clock-names schema defined in synopsys-dw-mshc.yaml:
  clock-names:
    items:
      - const: biu
      - const: ciu

The "biu" needs to be placed before the "ciu".

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hisi-x5hd2.dtsi

index 8fdfde4..9a51389 100644 (file)
                        interrupts = <0 35 4>;
                        clocks = <&clock HIX5HD2_MMC_CIU_RST>,
                                 <&clock HIX5HD2_MMC_BIU_CLK>;
-                       clock-names = "ciu", "biu";
+                       clock-names = "biu", "ciu";
                };
 
                sd: mmc@1820000 {
                        interrupts = <0 34 4>;
                        clocks = <&clock HIX5HD2_SD_CIU_RST>,
                                 <&clock HIX5HD2_SD_BIU_CLK>;
-                       clock-names = "ciu","biu";
+                       clock-names = "biu", "ciu";
                };
 
                gmac0: ethernet@1840000 {