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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi.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/memory-controllers/st,stm32-fmc2-ebi.yaml (Architecture i386) and /Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi.yaml (Architecture ppc)


  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/memory-cont      4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: STMicroelectronics Flexible Memory Cont      7 title: STMicroelectronics Flexible Memory Controller 2 (FMC2)
  8                                                     8 
  9 description: |                                      9 description: |
 10   The FMC2 functional block makes the interfac     10   The FMC2 functional block makes the interface with: synchronous and
 11   asynchronous static devices (such as PSNOR,      11   asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped
 12   peripherals) and NAND flash memories.            12   peripherals) and NAND flash memories.
 13   Its main purposes are:                           13   Its main purposes are:
 14     - to translate AXI transactions into the a     14     - to translate AXI transactions into the appropriate external device
 15       protocol                                     15       protocol
 16     - to meet the access time requirements of      16     - to meet the access time requirements of the external devices
 17   All external devices share the addresses, da     17   All external devices share the addresses, data and control signals with the
 18   controller. Each external device is accessed     18   controller. Each external device is accessed by means of a unique Chip
 19   Select. The FMC2 performs only one access at     19   Select. The FMC2 performs only one access at a time to an external device.
 20                                                    20 
 21 maintainers:                                       21 maintainers:
 22   - Christophe Kerello <christophe.kerello@foss     22   - Christophe Kerello <christophe.kerello@foss.st.com>
 23                                                    23 
 24 properties:                                        24 properties:
 25   compatible:                                      25   compatible:
 26     enum:                                          26     enum:
 27       - st,stm32mp1-fmc2-ebi                       27       - st,stm32mp1-fmc2-ebi
 28       - st,stm32mp25-fmc2-ebi                      28       - st,stm32mp25-fmc2-ebi
 29                                                    29 
 30   reg:                                             30   reg:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   clocks:                                          33   clocks:
 34     maxItems: 1                                    34     maxItems: 1
 35                                                    35 
 36   resets:                                          36   resets:
 37     maxItems: 1                                    37     maxItems: 1
 38                                                    38 
 39   power-domains:                                   39   power-domains:
 40     maxItems: 1                                    40     maxItems: 1
 41                                                    41 
 42   "#address-cells":                                42   "#address-cells":
 43     const: 2                                       43     const: 2
 44                                                    44 
 45   "#size-cells":                                   45   "#size-cells":
 46     const: 1                                       46     const: 1
 47                                                    47 
 48   ranges:                                          48   ranges:
 49     description: |                                 49     description: |
 50       Reflects the memory layout with four int     50       Reflects the memory layout with four integer values per bank. Format:
 51       <bank-number> 0 <address of the bank> <s     51       <bank-number> 0 <address of the bank> <size>
 52                                                    52 
 53   access-controllers:                              53   access-controllers:
 54     minItems: 1                                    54     minItems: 1
 55     maxItems: 2                                    55     maxItems: 2
 56                                                    56 
 57 patternProperties:                                 57 patternProperties:
 58   "^.*@[0-4],[a-f0-9]+$":                          58   "^.*@[0-4],[a-f0-9]+$":
 59     additionalProperties: true                     59     additionalProperties: true
 60     type: object                                   60     type: object
 61     $ref: mc-peripheral-props.yaml#                61     $ref: mc-peripheral-props.yaml#
 62                                                    62 
 63 required:                                          63 required:
 64   - "#address-cells"                               64   - "#address-cells"
 65   - "#size-cells"                                  65   - "#size-cells"
 66   - compatible                                     66   - compatible
 67   - reg                                            67   - reg
 68   - clocks                                         68   - clocks
 69   - ranges                                         69   - ranges
 70                                                    70 
 71 additionalProperties: false                        71 additionalProperties: false
 72                                                    72 
 73 examples:                                          73 examples:
 74   - |                                              74   - |
 75     #include <dt-bindings/interrupt-controller     75     #include <dt-bindings/interrupt-controller/arm-gic.h>
 76     #include <dt-bindings/clock/stm32mp1-clks.     76     #include <dt-bindings/clock/stm32mp1-clks.h>
 77     #include <dt-bindings/reset/stm32mp1-reset     77     #include <dt-bindings/reset/stm32mp1-resets.h>
 78     memory-controller@58002000 {                   78     memory-controller@58002000 {
 79       #address-cells = <2>;                        79       #address-cells = <2>;
 80       #size-cells = <1>;                           80       #size-cells = <1>;
 81       compatible = "st,stm32mp1-fmc2-ebi";         81       compatible = "st,stm32mp1-fmc2-ebi";
 82       reg = <0x58002000 0x1000>;                   82       reg = <0x58002000 0x1000>;
 83       clocks = <&rcc FMC_K>;                       83       clocks = <&rcc FMC_K>;
 84       resets = <&rcc FMC_R>;                       84       resets = <&rcc FMC_R>;
 85                                                    85 
 86       ranges = <0 0 0x60000000 0x04000000>, /*     86       ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */
 87                <1 0 0x64000000 0x04000000>, /*     87                <1 0 0x64000000 0x04000000>, /* EBI CS 2 */
 88                <2 0 0x68000000 0x04000000>, /*     88                <2 0 0x68000000 0x04000000>, /* EBI CS 3 */
 89                <3 0 0x6c000000 0x04000000>, /*     89                <3 0 0x6c000000 0x04000000>, /* EBI CS 4 */
 90                <4 0 0x80000000 0x10000000>; /*     90                <4 0 0x80000000 0x10000000>; /* NAND */
 91                                                    91 
 92       psram@0,0 {                                  92       psram@0,0 {
 93         compatible = "mtd-ram";                    93         compatible = "mtd-ram";
 94         reg = <0 0x00000000 0x100000>;             94         reg = <0 0x00000000 0x100000>;
 95         bank-width = <2>;                          95         bank-width = <2>;
 96                                                    96 
 97         st,fmc2-ebi-cs-transaction-type = <1>;     97         st,fmc2-ebi-cs-transaction-type = <1>;
 98         st,fmc2-ebi-cs-address-setup-ns = <60>     98         st,fmc2-ebi-cs-address-setup-ns = <60>;
 99         st,fmc2-ebi-cs-data-setup-ns = <30>;       99         st,fmc2-ebi-cs-data-setup-ns = <30>;
100         st,fmc2-ebi-cs-bus-turnaround-ns = <5>    100         st,fmc2-ebi-cs-bus-turnaround-ns = <5>;
101       };                                          101       };
102                                                   102 
103       nand-controller@4,0 {                       103       nand-controller@4,0 {
104         #address-cells = <1>;                     104         #address-cells = <1>;
105         #size-cells = <0>;                        105         #size-cells = <0>;
106         compatible = "st,stm32mp1-fmc2-nfc";      106         compatible = "st,stm32mp1-fmc2-nfc";
107         reg = <4 0x00000000 0x1000>,              107         reg = <4 0x00000000 0x1000>,
108               <4 0x08010000 0x1000>,              108               <4 0x08010000 0x1000>,
109               <4 0x08020000 0x1000>,              109               <4 0x08020000 0x1000>,
110               <4 0x01000000 0x1000>,              110               <4 0x01000000 0x1000>,
111               <4 0x09010000 0x1000>,              111               <4 0x09010000 0x1000>,
112               <4 0x09020000 0x1000>;              112               <4 0x09020000 0x1000>;
113         interrupts = <GIC_SPI 48 IRQ_TYPE_LEVE    113         interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
114         dmas = <&mdma1 20 0x2 0x12000a02 0x0 0    114         dmas = <&mdma1 20 0x2 0x12000a02 0x0 0x0>,
115                <&mdma1 20 0x2 0x12000a08 0x0 0    115                <&mdma1 20 0x2 0x12000a08 0x0 0x0>,
116                <&mdma1 21 0x2 0x12000a0a 0x0 0    116                <&mdma1 21 0x2 0x12000a0a 0x0 0x0>;
117         dma-names = "tx", "rx", "ecc";            117         dma-names = "tx", "rx", "ecc";
118                                                   118 
119         nand@0 {                                  119         nand@0 {
120           reg = <0>;                              120           reg = <0>;
121           nand-on-flash-bbt;                      121           nand-on-flash-bbt;
122           #address-cells = <1>;                   122           #address-cells = <1>;
123           #size-cells = <1>;                      123           #size-cells = <1>;
124         };                                        124         };
125       };                                          125       };
126     };                                            126     };
127                                                   127 
128 ...                                               128 ...
                                                      

~ [ 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