Skip to content

Commit

Permalink
dt-bindings: spi: add Amlogic A1 SPI controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Kurbanov authored and Mark Brown committed Apr 11, 2023
1 parent 28e0377 commit d040fe8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Amlogic A1 SPI Flash Controller

maintainers:
- Martin Kurbanov <mmkurbanov@sberdevices.ru>

allOf:
- $ref: spi-controller.yaml#

properties:
compatible:
enum:
- amlogic,a1-spifc

reg:
maxItems: 1

clocks:
maxItems: 1

required:
- compatible
- reg
- clocks

unevaluatedProperties: false

examples:
- |
spi@fd000400 {
compatible = "amlogic,a1-spifc";
reg = <0xfd000400 0x290>;
clocks = <&clkc_clkid_spifc>;
#address-cells = <1>;
#size-cells = <0>;
};

0 comments on commit d040fe8

Please sign in to comment.