71 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek System Control Processor System8 9maintainers:10 - MandyJH Liu <mandyjh.liu@mediatek.com>11 12description:13 MediaTek System Control Processor System (SCPSYS) has several14 power management tasks. The tasks include MTCMOS power15 domain control, thermal measurement, DVFS, etc.16 17properties:18 compatible:19 items:20 - enum:21 - mediatek,mt8167-scpsys22 - mediatek,mt8173-scpsys23 - mediatek,mt8183-scpsys24 - mediatek,mt8186-scpsys25 - mediatek,mt8188-scpsys26 - mediatek,mt8192-scpsys27 - mediatek,mt8195-scpsys28 - mediatek,mt8365-scpsys29 - const: syscon30 - const: simple-mfd31 32 reg:33 maxItems: 134 35 power-controller:36 $ref: /schemas/power/mediatek,power-controller.yaml#37 38required:39 - compatible40 - reg41 42additionalProperties: false43 44examples:45 - |46 #include <dt-bindings/clock/mt8195-clk.h>47 #include <dt-bindings/power/mt8195-power.h>48 49 syscon@10006000 {50 compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd";51 reg = <0x10006000 0x100>;52 53 spm: power-controller {54 compatible = "mediatek,mt8195-power-controller";55 #address-cells = <1>;56 #size-cells = <0>;57 #power-domain-cells = <1>;58 59 /* sample of power domain nodes */60 power-domain@MT8195_POWER_DOMAIN_PCIE_PHY {61 reg = <MT8195_POWER_DOMAIN_PCIE_PHY>;62 #power-domain-cells = <0>;63 };64 65 power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY {66 reg = <MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>;67 #power-domain-cells = <0>;68 };69 };70 };71