| @@ -17,9 +17,6 @@ description: · 16 unmodified lines |
| 17 | acts as directory-based coherency manager. | 17 | acts as directory-based coherency manager. |
| 18 | All the properties in ePAPR/DeviceTree specification applies for this platform. | 18 | All the properties in ePAPR/DeviceTree specification applies for this platform. |
| 19 | | 19 | |
| 20 | allOf: | | |
| 21 | - $ref: /schemas/cache-controller.yaml# | | |
| 22 | | | |
| 23 | select: | 20 | select: |
| 24 | properties: | 21 | properties: |
| 25 | compatible: | 22 | compatible: |
| @@ -33,11 +30,16 @@ select: · 7 unmodified lines |
| 33 | | 30 | |
| 34 | properties: | 31 | properties: |
| 35 | compatible: | 32 | compatible: |
| 36 | items: | 33 | oneOf: |
| 37 | - enum: | 34 | - items: |
| 38 | - sifive,fu540-c000-ccache | 35 | - enum: |
| 39 | - sifive,fu740-c000-ccache | 36 | - sifive,fu540-c000-ccache |
| 40 | - const: cache | 37 | - sifive,fu740-c000-ccache |
| | 38 | - const: cache |
| | 39 | - items: |
| | 40 | - const: microchip,mpfs-ccache |
| | 41 | - const: sifive,fu540-c000-ccache |
| | 42 | - const: cache |
| 41 | | 43 | |
| 42 | cache-block-size: | 44 | cache-block-size: |
| 43 | const: 64 | 45 | const: 64 |
| @@ -72,29 +74,46 @@ properties: · 28 unmodified lines |
| 72 | The reference to the reserved-memory for the L2 Loosely Integrated Memory region. | 74 | The reference to the reserved-memory for the L2 Loosely Integrated Memory region. |
| 73 | The reserved memory node should be defined as per the bindings in reserved-memory.txt. | 75 | The reserved memory node should be defined as per the bindings in reserved-memory.txt. |
| 74 | | 76 | |
| 75 | if: | 77 | allOf: |
| 76 | properties: | 78 | - $ref: /schemas/cache-controller.yaml# |
| 77 | compatible: | | |
| 78 | contains: | | |
| 79 | const: sifive,fu540-c000-ccache | | |
| 80 | | 79 | |
| 81 | then: | 80 | - if: |
| 82 | properties: | 81 | properties: |
| 83 | interrupts: | 82 | compatible: |
| 84 | description: | | 83 | contains: |
| 85 | Must contain entries for DirError, DataError and DataFail signals. | 84 | enum: |
| 86 | maxItems: 3 | 85 | - sifive,fu740-c000-ccache |
| 87 | cache-sets: | 86 | - microchip,mpfs-ccache |
| 88 | const: 1024 | 87 | |
| 89 | | 88 | then: |
| 90 | else: | 89 | properties: |
| 91 | properties: | 90 | interrupts: |
| 92 | interrupts: | 91 | description: | |
| 93 | description: | | 92 | Must contain entries for DirError, DataError, DataFail, DirFail signals. |
| 94 | Must contain entries for DirError, DataError, DataFail, DirFail signals. | 93 | minItems: 4 |
| 95 | minItems: 4 | 94 | |
| 96 | cache-sets: | 95 | else: |
| 97 | const: 2048 | 96 | properties: |
| | 97 | interrupts: |
| | 98 | description: | |
| | 99 | Must contain entries for DirError, DataError and DataFail signals. |
| | 100 | maxItems: 3 |
| | 101 | |
| | 102 | - if: |
| | 103 | properties: |
| | 104 | compatible: |
| | 105 | contains: |
| | 106 | const: sifive,fu740-c000-ccache |
| | 107 | |
| | 108 | then: |
| | 109 | properties: |
| | 110 | cache-sets: |
| | 111 | const: 2048 |
| | 112 | |
| | 113 | else: |
| | 114 | properties: |
| | 115 | cache-sets: |
| | 116 | const: 1024 |
| 98 | | 117 | |
| 99 | additionalProperties: false | 118 | additionalProperties: false |
| 100 | | 119 | |