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 - allwinner,sun6i-a31-spi
23 - allwinner,sun8i-h3-spi
33 - description: Bus Clock
34 - description: Module Clock
46 - description: RX DMA Channel
47 - description: TX DMA Channel
78 additionalProperties: false
83 compatible = "allwinner,sun6i-a31-spi";
84 reg = <0x01c69000 0x1000>;
85 interrupts = <0 66 4>;
86 clocks = <&ahb1_gates 21>, <&spi1_clk>;
87 clock-names = "ahb", "mod";
88 resets = <&ahb1_rst 21>;
95 compatible = "allwinner,sun8i-h3-spi";
96 reg = <0x01c68000 0x1000>;
97 interrupts = <0 65 4>;
98 clocks = <&ccu 30>, <&ccu 82>;
99 clock-names = "ahb", "mod";
100 dmas = <&dma 23>, <&dma 23>;
101 dma-names = "rx", "tx";
103 #address-cells = <1>;