74 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Socionext SynQuacer HS-SPI Controller8 9maintainers:10 - Masahisa Kojima <masahisa.kojima@linaro.org>11 - Jassi Brar <jaswinder.singh@linaro.org>12 13allOf:14 - $ref: spi-controller.yaml#15 16properties:17 compatible:18 const: socionext,synquacer-spi19 20 reg:21 maxItems: 122 23 clocks:24 minItems: 125 items:26 - description: core clock27 - description: rate clock28 29 clock-names:30 minItems: 131 items:32 - const: iHCLK33 - const: iPCLK34 35 interrupts:36 items:37 - description: Receive Interrupt38 - description: Transmit Interrupt39 - description: Fault Interrupt40 41 socionext,use-rtm:42 type: boolean43 description: Enable using "retimed clock" for RX44 45 socionext,set-aces:46 type: boolean47 description: Enable same active clock edges field to be set48 49required:50 - compatible51 - reg52 - interrupts53 - clocks54 - clock-names55 56unevaluatedProperties: false57 58examples:59 - |60 #include <dt-bindings/interrupt-controller/arm-gic.h>61 62 spi@ff110000 {63 compatible = "socionext,synquacer-spi";64 reg = <0xff110000 0x1000>;65 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,66 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,67 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;68 clocks = <&clk_hsspi>;69 clock-names = "iHCLK";70 socionext,use-rtm;71 socionext,set-aces;72 };73...74