STMicroelectronics SSC SPI Controller

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

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

The STMicroelectronics SSC SPI controller can be found on STi platforms and it used to communicate with external devices using the Serial Peripheral Interface.

Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"

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): "st,comms-ssc4-spi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ssc"

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) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stih407-clks.h>
spi@9840000 {
  compatible = "st,comms-ssc4-spi";
  reg = <0x9840000 0x110>;
  interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
  clock-names = "ssc";
  pinctrl-0 = <&pinctrl_spi0_default>;
  pinctrl-names = "default";
  #address-cells = <1>;
  #size-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page