ARM: dts: hisilicon: fix errors detected by spi-pl022.yaml
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 12 Oct 2020 06:12:22 +0000 (14:12 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 24 Nov 2020 11:43:18 +0000 (19:43 +0800)
1. Change clock-names to "sspclk", "apb_pclk". Both of them use the same
   clock.

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

index 630753c..c524c85 100644 (file)
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x12120000 0x1000>;
                        interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&crg HI3519_SPI0_CLK>;
-                       clock-names = "apb_pclk";
+                       clocks = <&crg HI3519_SPI0_CLK>, <&crg HI3519_SPI0_CLK>;
+                       clock-names = "sspclk", "apb_pclk";
                        num-cs = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x12121000 0x1000>;
                        interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&crg HI3519_SPI1_CLK>;
-                       clock-names = "apb_pclk";
+                       clocks = <&crg HI3519_SPI1_CLK>, <&crg HI3519_SPI1_CLK>;
+                       clock-names = "sspclk", "apb_pclk";
                        num-cs = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0x12122000 0x1000>;
                        interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&crg HI3519_SPI2_CLK>;
-                       clock-names = "apb_pclk";
+                       clocks = <&crg HI3519_SPI2_CLK>, <&crg HI3519_SPI2_CLK>;
+                       clock-names = "sspclk", "apb_pclk";
                        num-cs = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;