summaryrefslogtreecommitdiff
path: root/arch/arm/dts/bcm63158.dtsi
diff options
context:
space:
mode:
authorKursad Oney <kursad.oney@broadcom.com>2019-08-14 15:18:36 +0200
committerTom Rini <trini@konsulko.com>2019-10-11 10:09:16 -0400
commitb2983d1f6dcec4c9d06596f2ab7e489c98304421 (patch)
treec69cb2a94f85f98c552f00c95a8df1047c2f827f /arch/arm/dts/bcm63158.dtsi
parentb47f4891e5dded550f1eaee7daaac55b8c0bd76e (diff)
dt: bcm63158: Add hsspi controller
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>
Diffstat (limited to 'arch/arm/dts/bcm63158.dtsi')
-rw-r--r--arch/arm/dts/bcm63158.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index 175af380182..7dd28584384 100644
--- a/arch/arm/dts/bcm63158.dtsi
+++ b/arch/arm/dts/bcm63158.dtsi
@@ -10,6 +10,10 @@
#address-cells = <2>;
#size-cells = <2>;
+ aliases {
+ spi0 = &hsspi;
+ };
+
cpus {
#address-cells = <2>;
#size-cells = <0>;
@@ -67,6 +71,14 @@
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>;
@@ -192,6 +204,19 @@
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",