aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-08-14 15:18:39 +0200
committerTom Rini <trini@konsulko.com>2019-10-11 10:09:16 -0400
commit906af4a72bb33d0f6b1169b47a1f5e28894c3a11 (patch)
treec2974bc49bd69fdd2ec837cfdee3f9ad6bafeb9b /arch
parent2a6abc61979b1da90da7ad211130c1f1841b3aa5 (diff)
downloadu-boot-906af4a72bb33d0f6b1169b47a1f5e28894c3a11.zip
u-boot-906af4a72bb33d0f6b1169b47a1f5e28894c3a11.tar.gz
u-boot-906af4a72bb33d0f6b1169b47a1f5e28894c3a11.tar.bz2
dt: bcm6858: add hsspi controller
This commit add a hsspi controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Kursad Oney <kursad.oney@broadcom.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/bcm6858.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index 91f7787..0222562 100644
--- a/arch/arm/dts/bcm6858.dtsi
+++ b/arch/arm/dts/bcm6858.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-bcm6858",
"brcm,brcmnand-v5.0",