brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 13bf6bb Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: System Reset Controller on Intel Gateway SoCs8 9maintainers:10  - Dilip Kota <eswara.kota@linux.intel.com>11 12properties:13  compatible:14    enum:15      - intel,rcu-lgm16      - intel,rcu-xrx20017 18  reg:19    description: Reset controller registers.20    maxItems: 121 22  intel,global-reset:23    description: Global reset register offset and bit offset.24    $ref: /schemas/types.yaml#/definitions/uint32-array25    items:26      - description: Register offset27      - description: Register bit offset28        minimum: 029        maximum: 3130 31  "#reset-cells":32    minimum: 233    maximum: 334    description: |35      First cell is reset request register offset.36      Second cell is bit offset in reset request register.37      Third cell is bit offset in reset status register.38      For LGM SoC, reset cell count is 2 as bit offset in39      reset request and reset status registers is same. Whereas40      3 for legacy SoCs as bit offset differs.41 42required:43  - compatible44  - reg45  - intel,global-reset46  - "#reset-cells"47 48additionalProperties: false49 50examples:51  - |52    rcu0: reset-controller@e0000000 {53        compatible = "intel,rcu-lgm";54        reg = <0xe0000000 0x20000>;55        intel,global-reset = <0x10 30>;56        #reset-cells = <2>;57    };58 59    pwm: pwm@e0d00000 {60        compatible = "intel,lgm-pwm";61        reg = <0xe0d00000 0x30>;62        clocks = <&cgu0 1>;63        #pwm-cells = <2>;64        resets = <&rcu0 0x30 21>;65    };66