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 7title: SG2044 SPI NOR controller 8 9maintainers: 10 - Longbin Li <looong.bin@gmail.com> 11 12allOf: 13 - $ref: spi-controller.yaml# 14 15properties: 16 compatible: 17 enum: 18 - sophgo,sg2042-spifmc-nor 19 - sophgo,sg2044-spifmc-nor 20 21 reg: 22 maxItems: 1 23 24 clocks: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 resets: 31 maxItems: 1 32 33required: 34 - compatible 35 - reg 36 - clocks 37 - interrupts 38 - resets 39 40unevaluatedProperties: false 41 42examples: 43 - | 44 #include <dt-bindings/interrupt-controller/irq.h> 45 46 spi@1000000 { 47 compatible = "sophgo,sg2044-spifmc-nor"; 48 reg = <0x1000000 0x4000000>; 49 #address-cells = <1>; 50 #size-cells = <0>; 51 clocks = <&clk 0>; 52 interrupts = <37 IRQ_TYPE_LEVEL_HIGH>; 53 resets = <&rst 0>; 54 }; 55