FILE
airoha,en7581-snand.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/spi/airoha,en7581-snand.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/spi/airoha,en7581-snand.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: SPI-NAND flash controller for Airoha ARM SoCs 8 9maintainers: 10 - Lorenzo Bianconi <lorenzo@kernel.org> 11 12allOf: 13 - $ref: spi-controller.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 - const: airoha,en7581-snand 19 - items: 20 - enum: 21 - airoha,en7523-snand 22 - const: airoha,en7581-snand 23 24 reg: 25 items: 26 - description: spi base address 27 - description: nfi2spi base address 28 29 clocks: 30 maxItems: 1 31 32 clock-names: 33 items: 34 - const: spi 35 36required: 37 - compatible 38 - reg 39 - clocks 40 - clock-names 41 42unevaluatedProperties: false 43 44examples: 45 - | 46 #include <dt-bindings/clock/en7523-clk.h> 47 48 soc { 49 #address-cells = <2>; 50 #size-cells = <2>; 51 52 spi@1fa10000 { 53 compatible = "airoha,en7581-snand"; 54 reg = <0x0 0x1fa10000 0x0 0x140>, 55 <0x0 0x1fa11000 0x0 0x160>; 56 57 clocks = <&scuclk EN7523_CLK_SPI>; 58 clock-names = "spi"; 59 60 #address-cells = <1>; 61 #size-cells = <0>; 62 63 flash@0 { 64 compatible = "spi-nand"; 65 reg = <0>; 66 spi-tx-bus-width = <1>; 67 spi-rx-bus-width = <2>; 68 }; 69 }; 70 };
~/
Read-only file preview.