PXA2xx SSP SPI Controller

Schema identifier ($id): "http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,mmp2-ssp", "mrvl,ce4100-ssp", "mvrl,pxa168-ssp", "mrvl,pxa25x-ssp", "mvrl,pxa25x-nssp", "mrvl,pxa27x-ssp", "mrvl,pxa3xx-ssp", "mrvl,pxa910-ssp"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

dmas — not listed as required here #

Array item rules (items) #

Item 1

Receive DMA

Item 2

Transmit DMA

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

ready-gpios — not listed as required here #

GPIO used to signal a SPI master that the FIFO is filled and we're ready to service a transfer. Only useful in slave mode.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Property dependencies (dependencies) #

ready-gpios — applies when this property is present #

Also requires: "spi-slave"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): spi-controller.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "marvell,mmp2-ssp"

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

false — Not permitted by this property rule.

dma-names — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/marvell,mmp2.h>
spi@d4035000 {
    compatible = "marvell,mmp2-ssp";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xd4035000 0x1000>;
    clocks = <&soc_clocks MMP2_CLK_SSP0>;
    interrupts = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>

Edit this page