Broadcom BCM6348/BCM6358 SPI controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/brcm,bcm63xx-spi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonas Gorski <jonas.gorski@gmail.com>"
Broadcom "Low Speed" SPI controller found in many older MIPS based Broadband SoCs.
This controller has a limitation that can not keep the chip select line active between the SPI transfers within the same SPI message. This can terminate the transaction to some SPI devices prematurely. The issue can be worked around by the controller's prepend mode.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,bcm6368-spi","brcm,bcm6362-spi","brcm,bcm63268-spi"Item 2
Exact value (
const):"brcm,bcm6358-spi"
Rule 2
Allowed values (
enum):"brcm,bcm6348-spi","brcm,bcm6358-spi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
SPI master reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"spi"
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi@10000800 {
compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi";
reg = <0x10000800 0x70c>;
interrupts = <1>;
clocks = <&clkctl 9>;
clock-names = "spi";
num-cs = <5>;
#address-cells = <1>;
#size-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause