brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · e1ab3f5 Raw
85 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 SPI Controller8 9allOf:10  - $ref: spi-controller.yaml11 12maintainers:13  - Chen-Yu Tsai <wens@csie.org>14  - Maxime Ripard <mripard@kernel.org>15 16properties:17  compatible:18    const: allwinner,sun4i-a10-spi19 20  reg:21    maxItems: 122 23  interrupts:24    maxItems: 125 26  clocks:27    items:28      - description: Bus Clock29      - description: Module Clock30 31  clock-names:32    items:33      - const: ahb34      - const: mod35 36  dmas:37    items:38      - description: RX DMA Channel39      - description: TX DMA Channel40 41  dma-names:42    items:43      - const: rx44      - const: tx45 46patternProperties:47  "^.*@[0-9a-f]+":48    type: object49    additionalProperties: true50 51    properties:52      reg:53        items:54          minimum: 055          maximum: 456 57      spi-rx-bus-width:58        const: 159 60      spi-tx-bus-width:61        const: 162 63required:64  - compatible65  - reg66  - interrupts67  - clocks68  - clock-names69 70unevaluatedProperties: false71 72examples:73  - |74    spi1: spi@1c06000 {75        compatible = "allwinner,sun4i-a10-spi";76        reg = <0x01c06000 0x1000>;77        interrupts = <11>;78        clocks = <&ahb_gates 21>, <&spi1_clk>;79        clock-names = "ahb", "mod";80        #address-cells = <1>;81        #size-cells = <0>;82    };83 84...85