File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Documentation/devicetree/bindings/spi Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/spi/spi-sg2044-nor.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : SG2044 SPI NOR controller
8
+
9
+ maintainers :
10
+
11
+
12
+ allOf :
13
+ - $ref : spi-controller.yaml#
14
+
15
+ properties :
16
+ compatible :
17
+ const : sophgo,sg2044-spifmc-nor
18
+
19
+ reg :
20
+ maxItems : 1
21
+
22
+ clocks :
23
+ maxItems : 1
24
+
25
+ interrupts :
26
+ maxItems : 1
27
+
28
+ resets :
29
+ maxItems : 1
30
+
31
+ required :
32
+ - compatible
33
+ - reg
34
+ - clocks
35
+ - interrupts
36
+ - resets
37
+
38
+ unevaluatedProperties : false
39
+
40
+ examples :
41
+ - |
42
+ #include <dt-bindings/interrupt-controller/irq.h>
43
+
44
+ spi@1000000 {
45
+ compatible = "sophgo,sg2044-spifmc-nor";
46
+ reg = <0x1000000 0x4000000>;
47
+ #address-cells = <1>;
48
+ #size-cells = <0>;
49
+ clocks = <&clk 0>;
50
+ interrupts = <37 IRQ_TYPE_LEVEL_HIGH>;
51
+ resets = <&rst 0>;
52
+ };
You can’t perform that action at this time.
0 commit comments