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 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 31required: 32 - compatible 33 - reg 34 - clocks 35 - interrupts 36 - resets 37 38unevaluatedProperties: false 39 40examples: 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 }; 53