1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/spi/allwinner,sun6i-a31-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 SPI Controller Device Tree Bindings
10 - $ref: "spi-controller.yaml"
13 - Chen-Yu Tsai <wens@csie.org>
14 - Maxime Ripard <mripard@kernel.org>
17 "#address-cells": true
22 - const: allwinner,sun6i-a31-spi
23 - const: allwinner,sun8i-h3-spi
26 - allwinner,sun8i-r40-spi
27 - allwinner,sun50i-h6-spi
28 - const: allwinner,sun8i-h3-spi
38 - description: Bus Clock
39 - description: Module Clock
51 - description: RX DMA Channel
52 - description: TX DMA Channel
83 additionalProperties: false
88 compatible = "allwinner,sun6i-a31-spi";
89 reg = <0x01c69000 0x1000>;
90 interrupts = <0 66 4>;
91 clocks = <&ahb1_gates 21>, <&spi1_clk>;
92 clock-names = "ahb", "mod";
93 resets = <&ahb1_rst 21>;
100 compatible = "allwinner,sun8i-h3-spi";
101 reg = <0x01c68000 0x1000>;
102 interrupts = <0 65 4>;
103 clocks = <&ccu 30>, <&ccu 82>;
104 clock-names = "ahb", "mod";
105 dmas = <&dma 23>, <&dma 23>;
106 dma-names = "rx", "tx";
108 #address-cells = <1>;