1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot# Copyright (C) 2025 Amlogic, Inc. All rights reserved 3*833e5d42SEmmanuel Vadot%YAML 1.2 4*833e5d42SEmmanuel Vadot--- 5*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/amlogic,a4-spisg.yaml# 6*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7*833e5d42SEmmanuel Vadot 8*833e5d42SEmmanuel Vadottitle: Amlogic SPI Scatter-Gather Controller 9*833e5d42SEmmanuel Vadot 10*833e5d42SEmmanuel Vadotmaintainers: 11*833e5d42SEmmanuel Vadot - Xianwei Zhao <xianwei.zhao@amlogic.com> 12*833e5d42SEmmanuel Vadot - Sunny Luo <sunny.luo@amlogic.com> 13*833e5d42SEmmanuel Vadot 14*833e5d42SEmmanuel VadotallOf: 15*833e5d42SEmmanuel Vadot - $ref: spi-controller.yaml# 16*833e5d42SEmmanuel Vadot 17*833e5d42SEmmanuel Vadotproperties: 18*833e5d42SEmmanuel Vadot compatible: 19*833e5d42SEmmanuel Vadot const: amlogic,a4-spisg 20*833e5d42SEmmanuel Vadot 21*833e5d42SEmmanuel Vadot reg: 22*833e5d42SEmmanuel Vadot maxItems: 1 23*833e5d42SEmmanuel Vadot 24*833e5d42SEmmanuel Vadot interrupts: 25*833e5d42SEmmanuel Vadot maxItems: 1 26*833e5d42SEmmanuel Vadot 27*833e5d42SEmmanuel Vadot clocks: 28*833e5d42SEmmanuel Vadot maxItems: 2 29*833e5d42SEmmanuel Vadot 30*833e5d42SEmmanuel Vadot clock-names: 31*833e5d42SEmmanuel Vadot items: 32*833e5d42SEmmanuel Vadot - const: core 33*833e5d42SEmmanuel Vadot - const: pclk 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel Vadot resets: 36*833e5d42SEmmanuel Vadot maxItems: 1 37*833e5d42SEmmanuel Vadot 38*833e5d42SEmmanuel Vadotrequired: 39*833e5d42SEmmanuel Vadot - compatible 40*833e5d42SEmmanuel Vadot - reg 41*833e5d42SEmmanuel Vadot - interrupts 42*833e5d42SEmmanuel Vadot - clocks 43*833e5d42SEmmanuel Vadot - clock-names 44*833e5d42SEmmanuel Vadot 45*833e5d42SEmmanuel VadotunevaluatedProperties: false 46*833e5d42SEmmanuel Vadot 47*833e5d42SEmmanuel Vadotexamples: 48*833e5d42SEmmanuel Vadot - | 49*833e5d42SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 50*833e5d42SEmmanuel Vadot spi@50000 { 51*833e5d42SEmmanuel Vadot compatible = "amlogic,a4-spisg"; 52*833e5d42SEmmanuel Vadot reg = <0x50000 0x38>; 53*833e5d42SEmmanuel Vadot interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; 54*833e5d42SEmmanuel Vadot clocks = <&clkc 37>, 55*833e5d42SEmmanuel Vadot <&clkc 93>; 56*833e5d42SEmmanuel Vadot clock-names = "core", "pclk"; 57*833e5d42SEmmanuel Vadot #address-cells = <1>; 58*833e5d42SEmmanuel Vadot #size-cells = <0>; 59*833e5d42SEmmanuel Vadot }; 60