brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 86ee69c Raw
119 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Aspeed System Control Unit8 9description:10  The Aspeed System Control Unit manages the global behaviour of the SoC,11  configuring elements such as clocks, pinmux, and reset.12 13maintainers:14  - Joel Stanley <joel@jms.id.au>15  - Andrew Jeffery <andrew@aj.id.au>16 17properties:18  compatible:19    items:20      - enum:21          - aspeed,ast2400-scu22          - aspeed,ast2500-scu23          - aspeed,ast2600-scu24      - const: syscon25      - const: simple-mfd26 27  reg:28    maxItems: 129 30  ranges: true31 32  '#address-cells':33    const: 134 35  '#size-cells':36    const: 137 38  '#clock-cells':39    const: 140 41  '#reset-cells':42    const: 143 44patternProperties:45  '^p2a-control@[0-9a-f]+$':46    description: See Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt47    type: object48 49  '^pinctrl(@[0-9a-f]+)?$':50    type: object51    additionalProperties: true52    properties:53      compatible:54        contains:55          enum:56            - aspeed,ast2400-pinctrl57            - aspeed,ast2500-pinctrl58            - aspeed,ast2600-pinctrl59 60    required:61      - compatible62 63  '^interrupt-controller@[0-9a-f]+$':64    description: See Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt65    type: object66 67  '^silicon-id@[0-9a-f]+$':68    description: Unique hardware silicon identifiers within the SoC69    type: object70    additionalProperties: false71 72    properties:73      compatible:74        items:75          - enum:76              - aspeed,ast2400-silicon-id77              - aspeed,ast2500-silicon-id78              - aspeed,ast2600-silicon-id79          - const: aspeed,silicon-id80 81      reg:82        description:83          The reg should be the unique silicon id register, and not backwards84          compatible one in eg. the 2600.85        minItems: 186        items:87          - description: silicon id information registers88          - description: unique chip id registers89 90required:91  - compatible92  - reg93  - ranges94  - '#address-cells'95  - '#size-cells'96  - '#clock-cells'97  - '#reset-cells'98 99additionalProperties: false100 101examples:102  - |103    syscon@1e6e2000 {104        compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";105        reg = <0x1e6e2000 0x1a8>;106        #clock-cells = <1>;107        #reset-cells = <1>;108 109        #address-cells = <1>;110        #size-cells = <1>;111        ranges = <0x0 0x1e6e2000 0x1000>;112 113        silicon-id@7c {114            compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";115            reg = <0x7c 0x4>, <0x150 0x8>;116        };117    };118...119