drm/virtio: Add drm_panic support
[drm/drm-misc.git] / Documentation / devicetree / bindings / spi / realtek,rtl9301-snand.yaml
blob36d79a90552bf4f17857104c9717598ac973bc3f
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#
7 title: SPI-NAND Flash Controller for Realtek RTL9300 SoCs
9 maintainers:
10   - Chris Packham <chris.packham@alliedtelesis.co.nz>
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.
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
27   reg:
28     maxItems: 1
30   interrupts:
31     maxItems: 1
33   clocks:
34     maxItems: 1
36 required:
37   - compatible
38   - reg
39   - interrupts
40   - clocks
42 allOf:
43   - $ref: /schemas/spi/spi-controller.yaml#
45 unevaluatedProperties: false
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>;
58       flash@0 {
59         compatible = "spi-nand";
60         reg = <0>;
61       };
62     };