| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Aspeed System Control Unit |
| 8 |
|
| 9 |
description: |
| 10 |
The Aspeed System Control Unit manages the global behaviour of the SoC, |
| 11 |
configuring elements such as clocks, pinmux, and reset. |
| 12 |
In AST2700 SOC which has two soc connection, each soc have its own scu |
| 13 |
register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1. |
| 14 |
|
| 15 |
maintainers: |
| 16 |
- Joel Stanley <[email protected]> |
| 17 |
- Andrew Jeffery <[email protected]> |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
items: |
| 22 |
- enum: |
| 23 |
- aspeed,ast2400-scu |
| 24 |
- aspeed,ast2500-scu |
| 25 |
- aspeed,ast2600-scu |
| 26 |
- aspeed,ast2700-scu0 |
| 27 |
- aspeed,ast2700-scu1 |
| 28 |
- const: syscon |
| 29 |
- const: simple-mfd |
| 30 |
|
| 31 |
reg: |
| 32 |
maxItems: 1 |
| 33 |
|
| 34 |
ranges: true |
| 35 |
|
| 36 |
'#address-cells': |
| 37 |
minimum: 1 |
| 38 |
maximum: 2 |
| 39 |
|
| 40 |
'#size-cells': |
| 41 |
const: 1 |
| 42 |
|
| 43 |
'#clock-cells': |
| 44 |
const: 1 |
| 45 |
|
| 46 |
'#reset-cells': |
| 47 |
const: 1 |
| 48 |
|
| 49 |
patternProperties: |
| 50 |
'^p2a-control@[0-9a-f]+$': |
| 51 |
description: > |
| 52 |
PCI-to-AHB Bridge Control |
| 53 |
|
| 54 |
The bridge is available on platforms with the VGA enabled on the Aspeed |
| 55 |
device. In this case, the host has access to a 64KiB window into all of |
| 56 |
the BMC's memory. The BMC can disable this bridge. If the bridge is |
| 57 |
enabled, the host has read access to all the regions of memory, however |
| 58 |
the host only has read and write access depending on a register |
| 59 |
controlled by the BMC. |
| 60 |
type: object |
| 61 |
additionalProperties: false |
| 62 |
|
| 63 |
properties: |
| 64 |
compatible: |
| 65 |
enum: |
| 66 |
- aspeed,ast2400-p2a-ctrl |
| 67 |
- aspeed,ast2500-p2a-ctrl |
| 68 |
reg: |
| 69 |
maxItems: 1 |
| 70 |
|
| 71 |
memory-region: |
| 72 |
maxItems: 1 |
| 73 |
description: |
| 74 |
A reserved_memory region to be used for the PCI to AHB mapping |
| 75 |
|
| 76 |
required: |
| 77 |
- compatible |
| 78 |
- reg |
| 79 |
|
| 80 |
'^pinctrl(@[0-9a-f]+)?$': |
| 81 |
type: object |
| 82 |
additionalProperties: true |
| 83 |
properties: |
| 84 |
compatible: |
| 85 |
contains: |
| 86 |
enum: |
| 87 |
- aspeed,ast2400-pinctrl |
| 88 |
- aspeed,ast2500-pinctrl |
| 89 |
- aspeed,ast2600-pinctrl |
| 90 |
|
| 91 |
required: |
| 92 |
- compatible |
| 93 |
|
| 94 |
'^interrupt-controller@[0-9a-f]+$': |
| 95 |
type: object |
| 96 |
additionalProperties: true |
| 97 |
properties: |
| 98 |
compatible: |
| 99 |
contains: |
| 100 |
enum: |
| 101 |
- aspeed,ast2500-scu-ic |
| 102 |
- aspeed,ast2600-scu-ic0 |
| 103 |
- aspeed,ast2600-scu-ic1 |
| 104 |
- aspeed,ast2700-scu-ic0 |
| 105 |
- aspeed,ast2700-scu-ic1 |
| 106 |
- aspeed,ast2700-scu-ic2 |
| 107 |
- aspeed,ast2700-scu-ic3 |
| 108 |
|
| 109 |
'^silicon-id@[0-9a-f]+$': |
| 110 |
description: Unique hardware silicon identifiers within the SoC |
| 111 |
type: object |
| 112 |
additionalProperties: false |
| 113 |
|
| 114 |
properties: |
| 115 |
compatible: |
| 116 |
items: |
| 117 |
- enum: |
| 118 |
- aspeed,ast2400-silicon-id |
| 119 |
- aspeed,ast2500-silicon-id |
| 120 |
- aspeed,ast2600-silicon-id |
| 121 |
- aspeed,ast2700-silicon-id |
| 122 |
- const: aspeed,silicon-id |
| 123 |
|
| 124 |
reg: |
| 125 |
description: |
| 126 |
The reg should be the unique silicon id register, and not backwards |
| 127 |
compatible one in eg. the 2600. |
| 128 |
minItems: 1 |
| 129 |
items: |
| 130 |
- description: silicon id information registers |
| 131 |
- description: unique chip id registers |
| 132 |
|
| 133 |
'^smp-memram@[0-9a-f]+$': |
| 134 |
description: Memory region used for the AST2600's custom SMP bringup protocol |
| 135 |
type: object |
| 136 |
additionalProperties: false |
| 137 |
|
| 138 |
properties: |
| 139 |
compatible: |
| 140 |
const: aspeed,ast2600-smpmem |
| 141 |
|
| 142 |
reg: |
| 143 |
description: The SMP memory region |
| 144 |
maxItems: 1 |
| 145 |
|
| 146 |
required: |
| 147 |
- compatible |
| 148 |
- reg |
| 149 |
|
| 150 |
required: |
| 151 |
- compatible |
| 152 |
- reg |
| 153 |
- ranges |
| 154 |
- '#address-cells' |
| 155 |
- '#size-cells' |
| 156 |
- '#clock-cells' |
| 157 |
- '#reset-cells' |
| 158 |
|
| 159 |
additionalProperties: false |
| 160 |
|
| 161 |
examples: |
| 162 |
- | |
| 163 |
syscon@1e6e2000 { |
| 164 |
compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; |
| 165 |
reg = <0x1e6e2000 0x1a8>; |
| 166 |
#clock-cells = <1>; |
| 167 |
#reset-cells = <1>; |
| 168 |
|
| 169 |
#address-cells = <1>; |
| 170 |
#size-cells = <1>; |
| 171 |
ranges = <0x0 0x1e6e2000 0x1000>; |
| 172 |
|
| 173 |
p2a-control@2c { |
| 174 |
compatible = "aspeed,ast2400-p2a-ctrl"; |
| 175 |
reg = <0x2c 0x4>; |
| 176 |
}; |
| 177 |
|
| 178 |
silicon-id@7c { |
| 179 |
compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id"; |
| 180 |
reg = <0x7c 0x4>, <0x150 0x8>; |
| 181 |
}; |
| 182 |
}; |
| 183 |
... |