55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Meson SPI Flash Controller9 10maintainers:11 - Neil Armstrong <neil.armstrong@linaro.org>12 13allOf:14 - $ref: spi-controller.yaml#15 16description: |17 The Meson SPIFC is a controller optimized for communication with SPI18 NOR memories, without DMA support and a 64-byte unified transmit /19 receive buffer.20 21properties:22 compatible:23 enum:24 - amlogic,meson6-spifc # SPI Flash Controller on Meson6 and compatible SoCs25 - amlogic,meson-gxbb-spifc # SPI Flash Controller on GXBB and compatible SoCs26 27 reg:28 maxItems: 129 30 clocks:31 maxItems: 132 33required:34 - compatible35 - reg36 - clocks37 38unevaluatedProperties: false39 40examples:41 - |42 spi@c1108c80 {43 compatible = "amlogic,meson6-spifc";44 reg = <0xc1108c80 0x80>;45 clocks = <&clk81>;46 #address-cells = <1>;47 #size-cells = <0>;48 49 flash: flash@0 {50 compatible = "spansion,m25p80", "jedec,spi-nor";51 reg = <0>;52 spi-max-frequency = <40000000>;53 };54 };55