brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 03d71ab Raw
88 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/soc/fsl/fsl,rcpm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Run Control and Power Management8 9description:10  The RCPM performs all device-level tasks associated with device run control11  and power management.12 13maintainers:14  - Frank Li <Frank.Li@nxp.com>15 16properties:17  compatible:18    oneOf:19      - items:20          - enum:21              - fsl,p2041-rcpm22              - fsl,p3041-rcpm23              - fsl,p4080-rcpm24              - fsl,p5020-rcpm25              - fsl,p5040-rcpm26          - const: fsl,qoriq-rcpm-1.027      - items:28          - enum:29              - fsl,b4420-rcpm30              - fsl,b4860-rcpm31              - fsl,t4240-rcpm32          - const: fsl,qoriq-rcpm-2.033      - items:34          - enum:35              - fsl,t1040-rcpm36          - const: fsl,qoriq-rcpm-2.137      - items:38          - enum:39              - fsl,ls1012a-rcpm40              - fsl,ls1021a-rcpm41              - fsl,ls1028a-rcpm42              - fsl,ls1043a-rcpm43              - fsl,ls1046a-rcpm44              - fsl,ls1088a-rcpm45              - fsl,ls208xa-rcpm46              - fsl,lx2160a-rcpm47          - const: fsl,qoriq-rcpm-2.1+48 49  reg:50    maxItems: 151 52  "#fsl,rcpm-wakeup-cells":53    description: |54      The number of IPPDEXPCR register cells in the55      fsl,rcpm-wakeup property.56 57      Freescale RCPM Wakeup Source Device Tree Bindings58 59      Required fsl,rcpm-wakeup property should be added to a device node if60      the device can be used as a wakeup source.61 62      fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR63      register cells. The number of IPPDEXPCR register cells is defined in64      "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is65      the bit mask that should be set in IPPDEXPCR0, and the second register66      cell is for IPPDEXPCR1, and so on.67 68      Note: IPPDEXPCR(IP Powerdown Exception Control Register) provides a69      mechanism for keeping certain blocks awake during STANDBY and MEM, in70      order to use them as wake-up sources.71 72  little-endian:73    $ref: /schemas/types.yaml#/definitions/flag74    description:75      RCPM register block is Little Endian. Without it RCPM76      will be Big Endian (default case).77 78additionalProperties: false79 80examples:81  - |82    #include <dt-bindings/interrupt-controller/arm-gic.h>83    global-utilities@e2000 {84          compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0";85          reg = <0xe2000 0x1000>;86          #fsl,rcpm-wakeup-cells = <2>;87    };88