1 # SPDX-License-Identifier: GPL-2.0+ 1 # SPDX-License-Identifier: GPL-2.0+ 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sram/allwin 4 $id: http://devicetree.org/schemas/sram/allwinner,sun4i-a10-system-control.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A10 System Control !! 7 title: Allwinner A10 System Control Device Tree Bindings 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 description: 13 description: 14 The SRAM controller found on most Allwinner 14 The SRAM controller found on most Allwinner devices is represented 15 by a regular node for the SRAM controller it 15 by a regular node for the SRAM controller itself, with sub-nodes 16 representing the SRAM handled by the SRAM co 16 representing the SRAM handled by the SRAM controller. 17 17 18 properties: 18 properties: 19 "#address-cells": 19 "#address-cells": 20 const: 1 20 const: 1 21 21 22 "#size-cells": 22 "#size-cells": 23 const: 1 23 const: 1 24 24 25 compatible: 25 compatible: 26 oneOf: 26 oneOf: 27 - enum: !! 27 - const: allwinner,sun4i-a10-sram-controller 28 - allwinner,sun4i-a10-sram-controlle << 29 - allwinner,sun50i-a64-sram-controll << 30 deprecated: true 28 deprecated: true 31 - enum: !! 29 - const: allwinner,sun4i-a10-system-control 32 - allwinner,sun4i-a10-system-control !! 30 - const: allwinner,sun5i-a13-system-control 33 - allwinner,sun5i-a13-system-control << 34 - allwinner,sun8i-a23-system-control << 35 - allwinner,sun8i-h3-system-control << 36 - allwinner,sun20i-d1-system-control << 37 - allwinner,sun50i-a64-system-contro << 38 - allwinner,sun50i-h5-system-control << 39 - allwinner,sun50i-h616-system-contr << 40 - items: 31 - items: 41 - enum: !! 32 - const: allwinner,sun7i-a20-system-control 42 - allwinner,suniv-f1c100s-system << 43 - allwinner,sun7i-a20-system-con << 44 - allwinner,sun8i-r40-system-con << 45 - const: allwinner,sun4i-a10-system- 33 - const: allwinner,sun4i-a10-system-control >> 34 - const: allwinner,sun8i-a23-system-control >> 35 - const: allwinner,sun8i-h3-system-control 46 - items: 36 - items: 47 - const: allwinner,sun8i-v3s-system- 37 - const: allwinner,sun8i-v3s-system-control 48 - const: allwinner,sun8i-h3-system-c 38 - const: allwinner,sun8i-h3-system-control 49 - items: 39 - items: >> 40 - const: allwinner,sun8i-r40-system-control >> 41 - const: allwinner,sun4i-a10-system-control >> 42 - const: allwinner,sun50i-a64-sram-controller >> 43 deprecated: true >> 44 - const: allwinner,sun50i-a64-system-control >> 45 - const: allwinner,sun50i-h5-system-control >> 46 - items: 50 - const: allwinner,sun50i-h6-system- 47 - const: allwinner,sun50i-h6-system-control 51 - const: allwinner,sun50i-a64-system 48 - const: allwinner,sun50i-a64-system-control >> 49 - items: >> 50 - const: allwinner,suniv-f1c100s-system-control >> 51 - const: allwinner,sun4i-a10-system-control 52 52 53 reg: 53 reg: 54 maxItems: 1 54 maxItems: 1 55 55 56 ranges: true 56 ranges: true 57 57 58 patternProperties: 58 patternProperties: 59 "^regulators@[0-9a-f]+$": !! 59 "^sram@[a-z0-9]+": 60 $ref: /schemas/regulator/allwinner,sun20i- !! 60 type: object 61 61 62 "^sram@[a-f0-9]+": !! 62 properties: 63 $ref: /schemas/sram/sram.yaml# !! 63 compatible: 64 unevaluatedProperties: false !! 64 const: mmio-sram 65 65 66 patternProperties: 66 patternProperties: 67 "^sram-section?@[a-f0-9]+$": 67 "^sram-section?@[a-f0-9]+$": 68 type: object 68 type: object 69 additionalProperties: false << 70 69 71 properties: 70 properties: 72 reg: true << 73 << 74 compatible: 71 compatible: 75 oneOf: 72 oneOf: 76 - const: allwinner,sun4i-a10-sra 73 - const: allwinner,sun4i-a10-sram-a3-a4 77 - const: allwinner,sun4i-a10-sra 74 - const: allwinner,sun4i-a10-sram-c1 78 - const: allwinner,sun4i-a10-sra 75 - const: allwinner,sun4i-a10-sram-d 79 - const: allwinner,sun50i-a64-sr 76 - const: allwinner,sun50i-a64-sram-c 80 - items: 77 - items: 81 - enum: !! 78 - const: allwinner,sun5i-a13-sram-a3-a4 82 - allwinner,sun5i-a13-sr !! 79 - const: allwinner,sun4i-a10-sram-a3-a4 83 - allwinner,sun7i-a20-sr !! 80 - items: >> 81 - const: allwinner,sun7i-a20-sram-a3-a4 84 - const: allwinner,sun4i-a10 82 - const: allwinner,sun4i-a10-sram-a3-a4 85 - items: 83 - items: 86 - enum: !! 84 - const: allwinner,sun5i-a13-sram-c1 87 - allwinner,sun5i-a13-sr !! 85 - const: allwinner,sun4i-a10-sram-c1 88 - allwinner,sun7i-a20-sr !! 86 - items: 89 - allwinner,sun8i-a23-sr !! 87 - const: allwinner,sun7i-a20-sram-c1 90 - allwinner,sun8i-h3-sra !! 88 - const: allwinner,sun4i-a10-sram-c1 91 - allwinner,sun8i-r40-sr !! 89 - items: 92 - allwinner,sun50i-a64-s !! 90 - const: allwinner,sun8i-a23-sram-c1 93 - allwinner,sun50i-h5-sr !! 91 - const: allwinner,sun4i-a10-sram-c1 94 - allwinner,sun50i-h6-sr !! 92 - items: >> 93 - const: allwinner,sun8i-h3-sram-c1 >> 94 - const: allwinner,sun4i-a10-sram-c1 >> 95 - items: >> 96 - const: allwinner,sun8i-r40-sram-c1 95 - const: allwinner,sun4i-a10 97 - const: allwinner,sun4i-a10-sram-c1 96 - items: 98 - items: 97 - enum: !! 99 - const: allwinner,sun50i-a64-sram-c1 98 - allwinner,suniv-f1c100 !! 100 - const: allwinner,sun4i-a10-sram-c1 99 - allwinner,sun5i-a13-sr !! 101 - items: 100 - allwinner,sun7i-a20-sr !! 102 - const: allwinner,sun50i-h5-sram-c1 >> 103 - const: allwinner,sun4i-a10-sram-c1 >> 104 - items: >> 105 - const: allwinner,sun50i-h6-sram-c1 >> 106 - const: allwinner,sun4i-a10-sram-c1 >> 107 - items: >> 108 - const: allwinner,sun5i-a13-sram-d >> 109 - const: allwinner,sun4i-a10-sram-d >> 110 - items: >> 111 - const: allwinner,sun7i-a20-sram-d >> 112 - const: allwinner,sun4i-a10-sram-d >> 113 - items: >> 114 - const: allwinner,suniv-f1c100s-sram-d 101 - const: allwinner,sun4i-a10 115 - const: allwinner,sun4i-a10-sram-d 102 - items: 116 - items: 103 - const: allwinner,sun50i-h6 117 - const: allwinner,sun50i-h6-sram-c 104 - const: allwinner,sun50i-a6 118 - const: allwinner,sun50i-a64-sram-c 105 119 106 required: 120 required: 107 - "#address-cells" 121 - "#address-cells" 108 - "#size-cells" 122 - "#size-cells" 109 - compatible 123 - compatible 110 - reg 124 - reg 111 125 112 additionalProperties: false 126 additionalProperties: false 113 127 114 examples: 128 examples: 115 - | 129 - | 116 system-control@1c00000 { 130 system-control@1c00000 { 117 compatible = "allwinner,sun4i-a10-system 131 compatible = "allwinner,sun4i-a10-system-control"; 118 reg = <0x01c00000 0x30>; 132 reg = <0x01c00000 0x30>; 119 #address-cells = <1>; 133 #address-cells = <1>; 120 #size-cells = <1>; 134 #size-cells = <1>; 121 ranges; 135 ranges; 122 136 123 sram_a: sram@0 { 137 sram_a: sram@0 { 124 compatible = "mmio-sram"; 138 compatible = "mmio-sram"; 125 reg = <0x00000000 0xc000>; 139 reg = <0x00000000 0xc000>; 126 #address-cells = <1>; 140 #address-cells = <1>; 127 #size-cells = <1>; 141 #size-cells = <1>; 128 ranges = <0 0x00000000 0xc000>; 142 ranges = <0 0x00000000 0xc000>; 129 143 130 emac_sram: sram-section@8000 { 144 emac_sram: sram-section@8000 { 131 compatible = "allwinner,sun4i-a10-sr 145 compatible = "allwinner,sun4i-a10-sram-a3-a4"; 132 reg = <0x8000 0x4000>; 146 reg = <0x8000 0x4000>; 133 }; << 134 }; << 135 }; << 136 << 137 - | << 138 syscon@3000000 { << 139 compatible = "allwinner,sun20i-d1-system << 140 reg = <0x3000000 0x1000>; << 141 ranges; << 142 #address-cells = <1>; << 143 #size-cells = <1>; << 144 << 145 regulators@3000150 { << 146 compatible = "allwinner,sun20i-d1-syst << 147 reg = <0x3000150 0x4>; << 148 << 149 reg_ldoa: ldoa { << 150 regulator-min-microvolt = <1800000>; << 151 regulator-max-microvolt = <1800000>; << 152 }; << 153 << 154 reg_ldob: ldob { << 155 regulator-name = "vcc-dram"; << 156 regulator-min-microvolt = <1500000>; << 157 regulator-max-microvolt = <1500000>; << 158 }; 147 }; 159 }; 148 }; 160 }; 149 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.