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/arm/vexpres 4 $id: http://devicetree.org/schemas/arm/vexpress-config.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ARM Versatile Express configuration bus !! 7 title: ARM Versatile Express configuration bus bindings 8 8 9 maintainers: 9 maintainers: 10 - Andre Przywara <andre.przywara@arm.com> 10 - Andre Przywara <andre.przywara@arm.com> 11 11 12 description: 12 description: 13 This is a system control register block, act 13 This is a system control register block, acting as a bridge to the 14 platform's configuration bus via "system con 14 platform's configuration bus via "system control" interface, addressing 15 devices with site number, position in the bo 15 devices with site number, position in the board stack, config controller, 16 function and device numbers - see motherboar 16 function and device numbers - see motherboard's TRM for more details. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: arm,vexpress,config-bus 20 const: arm,vexpress,config-bus 21 21 22 arm,vexpress,config-bridge: 22 arm,vexpress,config-bridge: 23 $ref: /schemas/types.yaml#/definitions/pha 23 $ref: /schemas/types.yaml#/definitions/phandle 24 description: 24 description: 25 Phandle to the sysreg node. 25 Phandle to the sysreg node. 26 26 27 muxfpga: 27 muxfpga: 28 type: object 28 type: object 29 properties: 29 properties: 30 compatible: 30 compatible: 31 const: arm,vexpress-muxfpga 31 const: arm,vexpress-muxfpga 32 32 33 arm,vexpress-sysreg,func: 33 arm,vexpress-sysreg,func: 34 description: FPGA specifier 34 description: FPGA specifier 35 $ref: /schemas/types.yaml#/definitions 35 $ref: /schemas/types.yaml#/definitions/uint32-array 36 items: 36 items: 37 - const: 7 37 - const: 7 38 - description: device number 38 - description: device number 39 39 40 additionalProperties: false 40 additionalProperties: false 41 required: 41 required: 42 - compatible 42 - compatible 43 - arm,vexpress-sysreg,func 43 - arm,vexpress-sysreg,func 44 44 45 shutdown: 45 shutdown: 46 type: object 46 type: object 47 properties: 47 properties: 48 compatible: 48 compatible: 49 const: arm,vexpress-shutdown 49 const: arm,vexpress-shutdown 50 50 51 arm,vexpress-sysreg,func: 51 arm,vexpress-sysreg,func: 52 description: shutdown identifier 52 description: shutdown identifier 53 $ref: /schemas/types.yaml#/definitions 53 $ref: /schemas/types.yaml#/definitions/uint32-array 54 items: 54 items: 55 - const: 8 55 - const: 8 56 - description: device number 56 - description: device number 57 57 58 additionalProperties: false 58 additionalProperties: false 59 required: 59 required: 60 - compatible 60 - compatible 61 - arm,vexpress-sysreg,func 61 - arm,vexpress-sysreg,func 62 62 63 reboot: 63 reboot: 64 type: object 64 type: object 65 properties: 65 properties: 66 compatible: 66 compatible: 67 const: arm,vexpress-reboot 67 const: arm,vexpress-reboot 68 68 69 arm,vexpress-sysreg,func: 69 arm,vexpress-sysreg,func: 70 description: reboot identifier 70 description: reboot identifier 71 $ref: /schemas/types.yaml#/definitions 71 $ref: /schemas/types.yaml#/definitions/uint32-array 72 items: 72 items: 73 - const: 9 73 - const: 9 74 - description: device number 74 - description: device number 75 75 76 additionalProperties: false 76 additionalProperties: false 77 required: 77 required: 78 - compatible 78 - compatible 79 - arm,vexpress-sysreg,func 79 - arm,vexpress-sysreg,func 80 80 81 dvimode: 81 dvimode: 82 type: object 82 type: object 83 properties: 83 properties: 84 compatible: 84 compatible: 85 const: arm,vexpress-dvimode 85 const: arm,vexpress-dvimode 86 86 87 arm,vexpress-sysreg,func: 87 arm,vexpress-sysreg,func: 88 description: DVI mode identifier 88 description: DVI mode identifier 89 $ref: /schemas/types.yaml#/definitions 89 $ref: /schemas/types.yaml#/definitions/uint32-array 90 items: 90 items: 91 - const: 11 91 - const: 11 92 - description: device number 92 - description: device number 93 93 94 additionalProperties: false 94 additionalProperties: false 95 required: 95 required: 96 - compatible 96 - compatible 97 - arm,vexpress-sysreg,func 97 - arm,vexpress-sysreg,func 98 98 99 additionalProperties: false 99 additionalProperties: false 100 100 101 required: 101 required: 102 - compatible 102 - compatible 103 - arm,vexpress,config-bridge 103 - arm,vexpress,config-bridge 104 104 105 patternProperties: 105 patternProperties: 106 'clk[0-9]*$': 106 'clk[0-9]*$': 107 type: object 107 type: object 108 description: 108 description: 109 clocks 109 clocks 110 110 111 properties: 111 properties: 112 compatible: 112 compatible: 113 const: arm,vexpress-osc 113 const: arm,vexpress-osc 114 114 115 arm,vexpress-sysreg,func: 115 arm,vexpress-sysreg,func: 116 description: clock specifier 116 description: clock specifier 117 $ref: /schemas/types.yaml#/definitions 117 $ref: /schemas/types.yaml#/definitions/uint32-array 118 items: 118 items: 119 - const: 1 119 - const: 1 120 - description: clock number 120 - description: clock number 121 121 122 freq-range: 122 freq-range: 123 $ref: /schemas/types.yaml#/definitions 123 $ref: /schemas/types.yaml#/definitions/uint32-array 124 items: 124 items: 125 - description: minimal clock frequen 125 - description: minimal clock frequency 126 - description: maximum clock frequen 126 - description: maximum clock frequency 127 127 128 "#clock-cells": 128 "#clock-cells": 129 const: 0 129 const: 0 130 130 131 clock-output-names: 131 clock-output-names: 132 maxItems: 1 132 maxItems: 1 133 133 134 additionalProperties: false 134 additionalProperties: false 135 required: 135 required: 136 - compatible 136 - compatible 137 - arm,vexpress-sysreg,func 137 - arm,vexpress-sysreg,func 138 - "#clock-cells" 138 - "#clock-cells" 139 139 140 "^volt-.+$": 140 "^volt-.+$": 141 $ref: /schemas/regulator/regulator.yaml# 141 $ref: /schemas/regulator/regulator.yaml# 142 properties: 142 properties: 143 compatible: 143 compatible: 144 const: arm,vexpress-volt 144 const: arm,vexpress-volt 145 145 146 arm,vexpress-sysreg,func: 146 arm,vexpress-sysreg,func: 147 description: regulator specifier 147 description: regulator specifier 148 $ref: /schemas/types.yaml#/definitions 148 $ref: /schemas/types.yaml#/definitions/uint32-array 149 items: 149 items: 150 - const: 2 150 - const: 2 151 - description: device number 151 - description: device number 152 152 153 label: 153 label: 154 maxItems: 1 154 maxItems: 1 155 155 156 unevaluatedProperties: false 156 unevaluatedProperties: false 157 required: 157 required: 158 - compatible 158 - compatible 159 - arm,vexpress-sysreg,func 159 - arm,vexpress-sysreg,func 160 160 161 "^amp-.+$": 161 "^amp-.+$": 162 type: object 162 type: object 163 properties: 163 properties: 164 compatible: 164 compatible: 165 const: arm,vexpress-amp 165 const: arm,vexpress-amp 166 166 167 arm,vexpress-sysreg,func: 167 arm,vexpress-sysreg,func: 168 description: current sensor identifier 168 description: current sensor identifier 169 $ref: /schemas/types.yaml#/definitions 169 $ref: /schemas/types.yaml#/definitions/uint32-array 170 items: 170 items: 171 - const: 3 171 - const: 3 172 - description: device number 172 - description: device number 173 173 174 label: 174 label: 175 maxItems: 1 175 maxItems: 1 176 176 177 additionalProperties: false 177 additionalProperties: false 178 required: 178 required: 179 - compatible 179 - compatible 180 - arm,vexpress-sysreg,func 180 - arm,vexpress-sysreg,func 181 181 182 "^temp-.+$": 182 "^temp-.+$": 183 type: object 183 type: object 184 properties: 184 properties: 185 compatible: 185 compatible: 186 const: arm,vexpress-temp 186 const: arm,vexpress-temp 187 187 188 arm,vexpress-sysreg,func: 188 arm,vexpress-sysreg,func: 189 description: temperature sensor identi 189 description: temperature sensor identifier 190 $ref: /schemas/types.yaml#/definitions 190 $ref: /schemas/types.yaml#/definitions/uint32-array 191 items: 191 items: 192 - const: 4 192 - const: 4 193 - description: device number 193 - description: device number 194 194 195 label: 195 label: 196 maxItems: 1 196 maxItems: 1 197 197 198 additionalProperties: false 198 additionalProperties: false 199 required: 199 required: 200 - compatible 200 - compatible 201 - arm,vexpress-sysreg,func 201 - arm,vexpress-sysreg,func 202 202 203 "^reset[0-9]*$": 203 "^reset[0-9]*$": 204 type: object 204 type: object 205 properties: 205 properties: 206 compatible: 206 compatible: 207 const: arm,vexpress-reset 207 const: arm,vexpress-reset 208 208 209 arm,vexpress-sysreg,func: 209 arm,vexpress-sysreg,func: 210 description: reset specifier 210 description: reset specifier 211 $ref: /schemas/types.yaml#/definitions 211 $ref: /schemas/types.yaml#/definitions/uint32-array 212 items: 212 items: 213 - const: 5 213 - const: 5 214 - description: reset device number 214 - description: reset device number 215 215 216 additionalProperties: false 216 additionalProperties: false 217 required: 217 required: 218 - compatible 218 - compatible 219 - arm,vexpress-sysreg,func 219 - arm,vexpress-sysreg,func 220 220 221 "^power-.+$": 221 "^power-.+$": 222 type: object 222 type: object 223 properties: 223 properties: 224 compatible: 224 compatible: 225 const: arm,vexpress-power 225 const: arm,vexpress-power 226 226 227 arm,vexpress-sysreg,func: 227 arm,vexpress-sysreg,func: 228 description: power sensor identifier 228 description: power sensor identifier 229 $ref: /schemas/types.yaml#/definitions 229 $ref: /schemas/types.yaml#/definitions/uint32-array 230 items: 230 items: 231 - const: 12 231 - const: 12 232 - description: device number 232 - description: device number 233 233 234 label: 234 label: 235 maxItems: 1 235 maxItems: 1 236 236 237 additionalProperties: false 237 additionalProperties: false 238 required: 238 required: 239 - compatible 239 - compatible 240 - arm,vexpress-sysreg,func 240 - arm,vexpress-sysreg,func 241 241 242 "^energy(-.+)?$": 242 "^energy(-.+)?$": 243 type: object 243 type: object 244 properties: 244 properties: 245 compatible: 245 compatible: 246 const: arm,vexpress-energy 246 const: arm,vexpress-energy 247 247 248 arm,vexpress-sysreg,func: 248 arm,vexpress-sysreg,func: 249 description: energy sensor identifier 249 description: energy sensor identifier 250 $ref: /schemas/types.yaml#/definitions 250 $ref: /schemas/types.yaml#/definitions/uint32-array 251 oneOf: 251 oneOf: 252 - items: 252 - items: 253 - const: 13 253 - const: 13 254 - description: device number 254 - description: device number 255 - items: 255 - items: 256 - const: 13 256 - const: 13 257 - description: device number 257 - description: device number 258 - const: 13 258 - const: 13 259 - description: second device num 259 - description: second device number 260 260 261 label: 261 label: 262 maxItems: 1 262 maxItems: 1 263 263 264 additionalProperties: false 264 additionalProperties: false 265 required: 265 required: 266 - compatible 266 - compatible 267 - arm,vexpress-sysreg,func 267 - arm,vexpress-sysreg,func 268 268 269 examples: 269 examples: 270 - | 270 - | 271 mcc { 271 mcc { 272 compatible = "arm,vexpress,config-bus" 272 compatible = "arm,vexpress,config-bus"; 273 arm,vexpress,config-bridge = <&v2m_sys 273 arm,vexpress,config-bridge = <&v2m_sysreg>; 274 274 275 clk0 { 275 clk0 { 276 compatible = "arm,vexpress-osc"; 276 compatible = "arm,vexpress-osc"; 277 arm,vexpress-sysreg,func = <1 0>; 277 arm,vexpress-sysreg,func = <1 0>; 278 #clock-cells = <0>; 278 #clock-cells = <0>; 279 }; 279 }; 280 280 281 energy { 281 energy { 282 compatible = "arm,vexpress-energy" 282 compatible = "arm,vexpress-energy"; 283 arm,vexpress-sysreg,func = <13 0>, 283 arm,vexpress-sysreg,func = <13 0>, <13 1>; 284 }; 284 }; 285 }; 285 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.