Skip to content

Commit d040fe8

Browse files
Martin Kurbanovbroonie
authored andcommitted
dt-bindings: spi: add Amlogic A1 SPI controller
Add YAML devicetree Amlogic A1 (A113L SoC) SPIFC. Signed-off-by: Martin Kurbanov <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 28e0377 commit d040fe8

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 <[email protected]>
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+
};

0 commit comments

Comments
 (0)