~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml (Architecture i386) and /Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/spi/mediate      4 $id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-nor.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Serial NOR flash controller for MediaTe      7 title: Serial NOR flash controller for MediaTek ARM SoCs
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bayi Cheng <bayi.cheng@mediatek.com>            10   - Bayi Cheng <bayi.cheng@mediatek.com>
 11   - Chuanhong Guo <gch981213@gmail.com>             11   - Chuanhong Guo <gch981213@gmail.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   This spi controller support single, dual, or     14   This spi controller support single, dual, or quad mode transfer for
 15   SPI NOR flash. There should be only one spi      15   SPI NOR flash. There should be only one spi slave device following
 16   generic spi bindings. It's not recommended t     16   generic spi bindings. It's not recommended to use this controller
 17   for devices other than SPI NOR flash due to      17   for devices other than SPI NOR flash due to limited transfer
 18   capability of this controller.                   18   capability of this controller.
 19                                                    19 
 20 allOf:                                             20 allOf:
 21   - $ref: /schemas/spi/spi-controller.yaml#        21   - $ref: /schemas/spi/spi-controller.yaml#
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     oneOf:                                         25     oneOf:
 26       - enum:                                      26       - enum:
 27           - mediatek,mt8173-nor                    27           - mediatek,mt8173-nor
 28           - mediatek,mt8186-nor                    28           - mediatek,mt8186-nor
 29           - mediatek,mt8192-nor                    29           - mediatek,mt8192-nor
 30       - items:                                     30       - items:
 31           - enum:                                  31           - enum:
 32               - mediatek,mt2701-nor                32               - mediatek,mt2701-nor
 33               - mediatek,mt2712-nor                33               - mediatek,mt2712-nor
 34               - mediatek,mt7622-nor                34               - mediatek,mt7622-nor
 35               - mediatek,mt7623-nor                35               - mediatek,mt7623-nor
 36               - mediatek,mt7629-nor                36               - mediatek,mt7629-nor
 37               - mediatek,mt8195-nor                37               - mediatek,mt8195-nor
 38           - const: mediatek,mt8173-nor             38           - const: mediatek,mt8173-nor
 39       - items:                                     39       - items:
 40           - enum:                                  40           - enum:
 41               - mediatek,mt8188-nor                41               - mediatek,mt8188-nor
 42           - const: mediatek,mt8186-nor             42           - const: mediatek,mt8186-nor
 43                                                    43 
 44   reg:                                             44   reg:
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47   interrupts:                                      47   interrupts:
 48     maxItems: 1                                    48     maxItems: 1
 49                                                    49 
 50   clocks:                                          50   clocks:
 51     minItems: 2                                    51     minItems: 2
 52     items:                                         52     items:
 53       - description: clock used for spi bus        53       - description: clock used for spi bus
 54       - description: clock used for controller     54       - description: clock used for controller
 55       - description: clock used for nor dma bu     55       - description: clock used for nor dma bus. this depends on hardware
 56                      design, so this is option     56                      design, so this is optional.
 57       - description: clock used for controller     57       - description: clock used for controller axi slave bus.
 58                      this depends on hardware      58                      this depends on hardware design, so it is optional.
 59                                                    59 
 60   clock-names:                                     60   clock-names:
 61     minItems: 2                                    61     minItems: 2
 62     items:                                         62     items:
 63       - const: spi                                 63       - const: spi
 64       - const: sf                                  64       - const: sf
 65       - const: axi                                 65       - const: axi
 66       - const: axi_s                               66       - const: axi_s
 67                                                    67 
 68 required:                                          68 required:
 69   - compatible                                     69   - compatible
 70   - reg                                            70   - reg
 71   - clocks                                         71   - clocks
 72   - clock-names                                    72   - clock-names
 73                                                    73 
 74 unevaluatedProperties: false                       74 unevaluatedProperties: false
 75                                                    75 
 76 examples:                                          76 examples:
 77   - |                                              77   - |
 78     #include <dt-bindings/clock/mt8173-clk.h>      78     #include <dt-bindings/clock/mt8173-clk.h>
 79                                                    79 
 80     soc {                                          80     soc {
 81       #address-cells = <2>;                        81       #address-cells = <2>;
 82       #size-cells = <2>;                           82       #size-cells = <2>;
 83                                                    83 
 84       nor_flash: spi@1100d000 {                    84       nor_flash: spi@1100d000 {
 85         compatible = "mediatek,mt8173-nor";        85         compatible = "mediatek,mt8173-nor";
 86         reg = <0 0x1100d000 0 0xe0>;               86         reg = <0 0x1100d000 0 0xe0>;
 87         interrupts = <1>;                          87         interrupts = <1>;
 88         clocks = <&pericfg CLK_PERI_SPI>, <&to     88         clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>,
 89                  <&pericfg CLK_PERI_NFI>;          89                  <&pericfg CLK_PERI_NFI>;
 90         clock-names = "spi", "sf", "axi";          90         clock-names = "spi", "sf", "axi";
 91         #address-cells = <1>;                      91         #address-cells = <1>;
 92         #size-cells = <0>;                         92         #size-cells = <0>;
 93                                                    93 
 94         flash@0 {                                  94         flash@0 {
 95           compatible = "jedec,spi-nor";            95           compatible = "jedec,spi-nor";
 96           reg = <0>;                               96           reg = <0>;
 97         };                                         97         };
 98       };                                           98       };
 99     };                                             99     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php