ARM: dts: bcm-cygnus: Update spi clock properties
authorKuldeep Singh <singh.kuldeep87k@gmail.com>
Fri, 11 Mar 2022 08:41:14 +0000 (14:11 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 4 Apr 2022 18:33:12 +0000 (11:33 -0700)
PL022 binding require two clocks to be defined but broadcom cygnus
platform doesn't comply with bindings and define only one clock.

Update spi clocks and clocks-names property by adding appropriate clock
reference to make it compliant with bindings.

CC: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index ad65be8..f9f79ed 100644 (file)
                        #size-cells = <0>;
                        interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
                        pinctrl-0 = <&spi_0>;
-                       clocks = <&axi81_clk>;
-                       clock-names = "apb_pclk";
+                       clocks = <&axi81_clk>, <&axi81_clk>;
+                       clock-names = "sspclk", "apb_pclk";
                        status = "disabled";
                };
 
                        #size-cells = <0>;
                        interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
                        pinctrl-0 = <&spi_1>;
-                       clocks = <&axi81_clk>;
-                       clock-names = "apb_pclk";
+                       clocks = <&axi81_clk>, <&axi81_clk>;
+                       clock-names = "sspclk", "apb_pclk";
                        status = "disabled";
                };
 
                        #size-cells = <0>;
                        interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
                        pinctrl-0 = <&spi_2>;
-                       clocks = <&axi81_clk>;
-                       clock-names = "apb_pclk";
+                       clocks = <&axi81_clk>, <&axi81_clk>;
+                       clock-names = "sspclk", "apb_pclk";
                        status = "disabled";
                };