Socionext SynQuacer HS-SPI Controller

Schema identifier ($id): "http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml#"

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

Maintainers (maintainers): "Masahisa Kojima <masahisa.kojima@linaro.org>", "Jassi Brar <jaswinder.singh@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "socionext,synquacer-spi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

core clock

Item 2

rate clock

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "iHCLK"

Item 2

Exact value (const): "iPCLK"

interrupts — required here #

Array item rules (items) #

Item 1

Receive Interrupt

Item 2

Transmit Interrupt

Item 3

Fault Interrupt

socionext,use-rtm — not listed as required here #

Value type (type): "boolean"

Enable using "retimed clock" for RX

socionext,set-aces — not listed as required here #

Value type (type): "boolean"

Enable same active clock edges field to be set

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

spi@ff110000 {
    compatible = "socionext,synquacer-spi";
    reg = <0xff110000 0x1000>;
    interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
           <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
           <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk_hsspi>;
    clock-names = "iHCLK";
    socionext,use-rtm;
    socionext,set-aces;
};

Source notes #

Annotations retained from the schema source

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

Edit this page