blob: 948ff7a096433a8c3c64cba13fc1339d18f6c19d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/spi-sg2044-nor.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: SG2044 SPI NOR controller
maintainers:
- Longbin Li <looong.bin@gmail.com>
allOf:
- $ref: spi-controller.yaml#
properties:
compatible:
const: sophgo,sg2044-spifmc-nor
reg:
maxItems: 1
clocks:
maxItems: 1
interrupts:
maxItems: 1
resets:
maxItems: 1
required:
- compatible
- reg
- clocks
- interrupts
- resets
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
spi@1000000 {
compatible = "sophgo,sg2044-spifmc-nor";
reg = <0x1000000 0x4000000>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk 0>;
interrupts = <37 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rst 0>;
};
|