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