Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: spi: add Amlogic A1 SPI controller

Add YAML devicetree Amlogic A1 (A113L SoC) SPIFC.

Signed-off-by: Martin Kurbanov <mmkurbanov@sberdevices.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230403183217.13280-2-mmkurbanov@sberdevices.ru
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Martin Kurbanov and committed by
Mark Brown
d040fe8f 28e0377c

+41
+41
Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Amlogic A1 SPI Flash Controller 8 + 9 + maintainers: 10 + - Martin Kurbanov <mmkurbanov@sberdevices.ru> 11 + 12 + allOf: 13 + - $ref: spi-controller.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - amlogic,a1-spifc 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + clocks: 24 + maxItems: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - clocks 30 + 31 + unevaluatedProperties: false 32 + 33 + examples: 34 + - | 35 + spi@fd000400 { 36 + compatible = "amlogic,a1-spifc"; 37 + reg = <0xfd000400 0x290>; 38 + clocks = <&clkc_clkid_spifc>; 39 + #address-cells = <1>; 40 + #size-cells = <0>; 41 + };