dt: bcm63158: Add hsspi controller
authorKursad Oney <kursad.oney@broadcom.com>
Wed, 14 Aug 2019 13:18:36 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:09:16 +0000 (10:09 -0400)
This change adds the hsspi controller to the 63158 dtsi.

Signed-off-by: Kursad Oney <kursad.oney@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/dts/bcm63158.dtsi

index 175af380182b19a901ad05ece4b2a9a98d9859f9..7dd2858438491aa6c250c2610cfa2189dafca69f 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
+       aliases {
+               spi0 = &hsspi;
+       };
+
        cpus {
                #address-cells = <2>;
                #size-cells = <0>;
                        u-boot,dm-pre-reloc;
                };
 
+               hsspi_pll: hsspi-pll {
+                       compatible = "fixed-factor-clock";
+                       #clock-cells = <0>;
+                       clocks = <&periph_osc>;
+                       clock-mult = <2>;
+                       clock-div = <1>;
+               };
+
                refclk50mhz: refclk50mhz {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
                        status = "disabled";
                };
 
+               hsspi: spi-controller@ff801000 {
+                       compatible = "brcm,bcm6328-hsspi";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0xff801000 0x0 0x600>;
+                       clocks = <&hsspi_pll>, <&hsspi_pll>;
+                       clock-names = "hsspi", "pll";
+                       spi-max-frequency = <100000000>;
+                       num-cs = <8>;
+
+                       status = "disabled";
+               };
+
                nand: nand-controller@ff801800 {
                        compatible = "brcm,nand-bcm63158",
                                     "brcm,brcmnand-v5.0",