18ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28ccc0d23SEmmanuel Vadot%YAML 1.2 38ccc0d23SEmmanuel Vadot--- 48ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/spi-sg2044-nor.yaml# 58ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68ccc0d23SEmmanuel Vadot 78ccc0d23SEmmanuel Vadottitle: SG2044 SPI NOR controller 88ccc0d23SEmmanuel Vadot 98ccc0d23SEmmanuel Vadotmaintainers: 108ccc0d23SEmmanuel Vadot - Longbin Li <looong.bin@gmail.com> 118ccc0d23SEmmanuel Vadot 128ccc0d23SEmmanuel VadotallOf: 138ccc0d23SEmmanuel Vadot - $ref: spi-controller.yaml# 148ccc0d23SEmmanuel Vadot 158ccc0d23SEmmanuel Vadotproperties: 168ccc0d23SEmmanuel Vadot compatible: 17*833e5d42SEmmanuel Vadot enum: 18ae5de77eSEmmanuel Vadot - sophgo,sg2042-spifmc-nor 19*833e5d42SEmmanuel Vadot - sophgo,sg2044-spifmc-nor 208ccc0d23SEmmanuel Vadot 218ccc0d23SEmmanuel Vadot reg: 228ccc0d23SEmmanuel Vadot maxItems: 1 238ccc0d23SEmmanuel Vadot 248ccc0d23SEmmanuel Vadot clocks: 258ccc0d23SEmmanuel Vadot maxItems: 1 268ccc0d23SEmmanuel Vadot 278ccc0d23SEmmanuel Vadot interrupts: 288ccc0d23SEmmanuel Vadot maxItems: 1 298ccc0d23SEmmanuel Vadot 308ccc0d23SEmmanuel Vadot resets: 318ccc0d23SEmmanuel Vadot maxItems: 1 328ccc0d23SEmmanuel Vadot 338ccc0d23SEmmanuel Vadotrequired: 348ccc0d23SEmmanuel Vadot - compatible 358ccc0d23SEmmanuel Vadot - reg 368ccc0d23SEmmanuel Vadot - clocks 378ccc0d23SEmmanuel Vadot - interrupts 388ccc0d23SEmmanuel Vadot - resets 398ccc0d23SEmmanuel Vadot 408ccc0d23SEmmanuel VadotunevaluatedProperties: false 418ccc0d23SEmmanuel Vadot 428ccc0d23SEmmanuel Vadotexamples: 438ccc0d23SEmmanuel Vadot - | 448ccc0d23SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 458ccc0d23SEmmanuel Vadot 468ccc0d23SEmmanuel Vadot spi@1000000 { 478ccc0d23SEmmanuel Vadot compatible = "sophgo,sg2044-spifmc-nor"; 488ccc0d23SEmmanuel Vadot reg = <0x1000000 0x4000000>; 498ccc0d23SEmmanuel Vadot #address-cells = <1>; 508ccc0d23SEmmanuel Vadot #size-cells = <0>; 518ccc0d23SEmmanuel Vadot clocks = <&clk 0>; 528ccc0d23SEmmanuel Vadot interrupts = <37 IRQ_TYPE_LEVEL_HIGH>; 538ccc0d23SEmmanuel Vadot resets = <&rst 0>; 548ccc0d23SEmmanuel Vadot }; 55