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 - allwinner,sun50i-h616-spi
29 - allwinner,suniv-f1c100s-spi
30 - const: allwinner,sun8i-h3-spi
40 - description: Bus Clock
41 - description: Module Clock
53 - description: RX DMA Channel
54 - description: TX DMA Channel
85 additionalProperties: false
90 compatible = "allwinner,sun6i-a31-spi";
91 reg = <0x01c69000 0x1000>;
92 interrupts = <0 66 4>;
93 clocks = <&ahb1_gates 21>, <&spi1_clk>;
94 clock-names = "ahb", "mod";
95 resets = <&ahb1_rst 21>;
102 compatible = "allwinner,sun8i-h3-spi";
103 reg = <0x01c68000 0x1000>;
104 interrupts = <0 65 4>;
105 clocks = <&ccu 30>, <&ccu 82>;
106 clock-names = "ahb", "mod";
107 dmas = <&dma 23>, <&dma 23>;
108 dma-names = "rx", "tx";
110 #address-cells = <1>;