1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/spi/brcm,bcm63xx-hsspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom Broadband SoC High Speed SPI controller
10 - William Zhang <william.zhang@broadcom.com>
11 - Kursad Oney <kursad.oney@broadcom.com>
12 - Jonas Gorski <jonas.gorski@gmail.com>
15 Broadcom Broadband SoC supports High Speed SPI master controller since the
16 early MIPS based chips such as BCM6328 and BCM63268. This initial rev 1.0
17 controller was carried over to recent ARM based chips, such as BCM63138,
18 BCM4908 and BCM6858. The old MIPS based chip should continue to use the
19 brcm,bcm6328-hsspi compatible string. The recent ARM based chip is required to
20 use the brcm,bcmbca-hsspi-v1.0 as part of its compatible string list as
21 defined below to match the specific chip along with ip revision info.
23 This rev 1.0 controller has a limitation that can not keep the chip select line
24 active between the SPI transfers within the same SPI message. This can
25 terminate the transaction to some SPI devices prematurely. The issue can be
26 worked around by either the controller's prepend mode or using the dummy chip
27 select workaround. Driver automatically picks the suitable mode based on
28 transfer type so it is transparent to the user.
30 The newer SoCs such as BCM6756, BCM4912 and BCM6855 include an updated SPI
31 controller rev 1.1 that add the capability to allow the driver to control chip
32 select explicitly. This solves the issue in the old controller.
37 - const: brcm,bcm6328-hsspi
51 - const: brcm,bcmbca-hsspi-v1.0
58 - const: brcm,bcmbca-hsspi-v1.1
62 - description: main registers
63 - description: miscellaneous control registers
74 - description: SPI master reference clock
75 - description: SPI master pll clock
93 - $ref: spi-controller.yaml#
100 - brcm,bcmbca-hsspi-v1.0
118 unevaluatedProperties: false
122 #include <dt-bindings/interrupt-controller/arm-gic.h>
124 compatible = "brcm,bcm6756-hsspi", "brcm,bcmbca-hsspi-v1.1";
125 reg = <0xff801000 0x1000>,
127 reg-names = "hsspi", "spim-ctrl";
128 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
129 clocks = <&hsspi>, <&hsspi_pll>;
130 clock-names = "hsspi", "pll";
132 #address-cells = <1>;