]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gazerbeam: add clocks property to SPI node
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 11 Feb 2020 15:20:23 +0000 (15:20 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 31 Mar 2020 14:06:52 +0000 (10:06 -0400)
Prepare for supporting setting different speeds in mpc8xxx_spi.c.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
arch/powerpc/dts/gdsys/mpc8308.dtsi

index 23e7403d91102e392f8d917bd5ad7008ff6edcde..1a319e23287588b7d6700ee4520e69480a07a7e9 100644 (file)
@@ -17,6 +17,7 @@
 /dts-v1/;
 
 #include <dt-bindings/memory/mpc83xx-sdram.h>
+#include <dt-bindings/clk/mpc83xx-clk.h>
 
 / {
        compatible = "fsl,mpc8308rdb";
                };
        };
 
+       socclocks: clocks {
+               compatible = "fsl,mpc8308-clk";
+               #clock-cells = <1>;
+       };
+
        board_lbc: localbus@e0005000 {
                #address-cells = <2>;
                #size-cells = <1>;
                        reg = <0x7000 0x1000>;
                        interrupts = <16 0x8>;
                        interrupt-parent = <&ipic>;
+                       clocks = <&socclocks MPC83XX_CLK_CSB>;
                        mode = "cpu";
                };