1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/realtek,rtl9301-snand.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: SPI-NAND Flash Controller for Realtek RTL9300 SoCs 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Chris Packham <chris.packham@alliedtelesis.co.nz> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotdescription: 13*5f62a964SEmmanuel Vadot The Realtek RTL9300 SoCs have a built in SPI-NAND controller. It supports 14*5f62a964SEmmanuel Vadot typical SPI-NAND page cache operations in single, dual or quad IO mode. 15*5f62a964SEmmanuel Vadot 16*5f62a964SEmmanuel Vadotproperties: 17*5f62a964SEmmanuel Vadot compatible: 18*5f62a964SEmmanuel Vadot oneOf: 19*5f62a964SEmmanuel Vadot - items: 20*5f62a964SEmmanuel Vadot - enum: 21*5f62a964SEmmanuel Vadot - realtek,rtl9302b-snand 22*5f62a964SEmmanuel Vadot - realtek,rtl9302c-snand 23*5f62a964SEmmanuel Vadot - realtek,rtl9303-snand 24*5f62a964SEmmanuel Vadot - const: realtek,rtl9301-snand 25*5f62a964SEmmanuel Vadot - const: realtek,rtl9301-snand 26*5f62a964SEmmanuel Vadot 27*5f62a964SEmmanuel Vadot reg: 28*5f62a964SEmmanuel Vadot maxItems: 1 29*5f62a964SEmmanuel Vadot 30*5f62a964SEmmanuel Vadot interrupts: 31*5f62a964SEmmanuel Vadot maxItems: 1 32*5f62a964SEmmanuel Vadot 33*5f62a964SEmmanuel Vadot clocks: 34*5f62a964SEmmanuel Vadot maxItems: 1 35*5f62a964SEmmanuel Vadot 36*5f62a964SEmmanuel Vadotrequired: 37*5f62a964SEmmanuel Vadot - compatible 38*5f62a964SEmmanuel Vadot - reg 39*5f62a964SEmmanuel Vadot - interrupts 40*5f62a964SEmmanuel Vadot - clocks 41*5f62a964SEmmanuel Vadot 42*5f62a964SEmmanuel VadotallOf: 43*5f62a964SEmmanuel Vadot - $ref: /schemas/spi/spi-controller.yaml# 44*5f62a964SEmmanuel Vadot 45*5f62a964SEmmanuel VadotunevaluatedProperties: false 46*5f62a964SEmmanuel Vadot 47*5f62a964SEmmanuel Vadotexamples: 48*5f62a964SEmmanuel Vadot - | 49*5f62a964SEmmanuel Vadot spi@1a400 { 50*5f62a964SEmmanuel Vadot compatible = "realtek,rtl9302c-snand", "realtek,rtl9301-snand"; 51*5f62a964SEmmanuel Vadot reg = <0x1a400 0x44>; 52*5f62a964SEmmanuel Vadot interrupt-parent = <&intc>; 53*5f62a964SEmmanuel Vadot interrupts = <19>; 54*5f62a964SEmmanuel Vadot clocks = <&lx_clk>; 55*5f62a964SEmmanuel Vadot #address-cells = <1>; 56*5f62a964SEmmanuel Vadot #size-cells = <0>; 57*5f62a964SEmmanuel Vadot 58*5f62a964SEmmanuel Vadot flash@0 { 59*5f62a964SEmmanuel Vadot compatible = "spi-nand"; 60*5f62a964SEmmanuel Vadot reg = <0>; 61*5f62a964SEmmanuel Vadot }; 62*5f62a964SEmmanuel Vadot }; 63