Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 BayLibre, SAS
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007 
0008 title: Amlogic Meson SPI Flash Controller
0009 
0010 maintainers:
0011   - Neil Armstrong <neil.armstrong@linaro.org>
0012 
0013 allOf:
0014   - $ref: "spi-controller.yaml#"
0015 
0016 description: |
0017   The Meson SPIFC is a controller optimized for communication with SPI
0018   NOR memories, without DMA support and a 64-byte unified transmit /
0019   receive buffer.
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - amlogic,meson6-spifc # SPI Flash Controller on Meson6 and compatible SoCs
0025       - amlogic,meson-gxbb-spifc # SPI Flash Controller on GXBB and compatible SoCs
0026 
0027   reg:
0028     maxItems: 1
0029 
0030   clocks:
0031     maxItems: 1
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - clocks
0037 
0038 unevaluatedProperties: false
0039 
0040 examples:
0041   - |
0042     spi@c1108c80 {
0043           compatible = "amlogic,meson6-spifc";
0044           reg = <0xc1108c80 0x80>;
0045           clocks = <&clk81>;
0046           #address-cells = <1>;
0047           #size-cells = <0>;
0048 
0049           flash: flash@0 {
0050               compatible = "spansion,m25p80", "jedec,spi-nor";
0051               reg = <0>;
0052               spi-max-frequency = <40000000>;
0053           };
0054     };