1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/spi/airoha, 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: SPI-NAND flash controller for Airoha AR 8 9 maintainers: 10 - Lorenzo Bianconi <lorenzo@kernel.org> 11 12 allOf: 13 - $ref: spi-controller.yaml# 14 15 properties: 16 compatible: 17 const: airoha,en7581-snand 18 19 reg: 20 items: 21 - description: spi base address 22 - description: nfi2spi base address 23 24 clocks: 25 maxItems: 1 26 27 clock-names: 28 items: 29 - const: spi 30 31 required: 32 - compatible 33 - reg 34 - clocks 35 - clock-names 36 37 unevaluatedProperties: false 38 39 examples: 40 - | 41 #include <dt-bindings/clock/en7523-clk.h> 42 43 soc { 44 #address-cells = <2>; 45 #size-cells = <2>; 46 47 spi@1fa10000 { 48 compatible = "airoha,en7581-snand"; 49 reg = <0x0 0x1fa10000 0x0 0x140>, 50 <0x0 0x1fa11000 0x0 0x160>; 51 52 clocks = <&scuclk EN7523_CLK_SPI>; 53 clock-names = "spi"; 54 55 #address-cells = <1>; 56 #size-cells = <0>; 57 58 flash@0 { 59 compatible = "spi-nand"; 60 reg = <0>; 61 spi-tx-bus-width = <1>; 62 spi-rx-bus-width = <2>; 63 }; 64 }; 65 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.