1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*7ef62cebSEmmanuel Vadot%YAML 1.2 3*7ef62cebSEmmanuel Vadot--- 4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml# 5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7ef62cebSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: MediaTek System Control Processor System 8*7ef62cebSEmmanuel Vadot 9*7ef62cebSEmmanuel Vadotmaintainers: 10*7ef62cebSEmmanuel Vadot - MandyJH Liu <mandyjh.liu@mediatek.com> 11*7ef62cebSEmmanuel Vadot 12*7ef62cebSEmmanuel Vadotdescription: 13*7ef62cebSEmmanuel Vadot MediaTek System Control Processor System (SCPSYS) has several 14*7ef62cebSEmmanuel Vadot power management tasks. The tasks include MTCMOS power 15*7ef62cebSEmmanuel Vadot domain control, thermal measurement, DVFS, etc. 16*7ef62cebSEmmanuel Vadot 17*7ef62cebSEmmanuel Vadotproperties: 18*7ef62cebSEmmanuel Vadot compatible: 19*7ef62cebSEmmanuel Vadot items: 20*7ef62cebSEmmanuel Vadot - enum: 21*7ef62cebSEmmanuel Vadot - mediatek,mt8167-scpsys 22*7ef62cebSEmmanuel Vadot - mediatek,mt8173-scpsys 23*7ef62cebSEmmanuel Vadot - mediatek,mt8183-scpsys 24*7ef62cebSEmmanuel Vadot - mediatek,mt8186-scpsys 25*7ef62cebSEmmanuel Vadot - mediatek,mt8192-scpsys 26*7ef62cebSEmmanuel Vadot - mediatek,mt8195-scpsys 27*7ef62cebSEmmanuel Vadot - const: syscon 28*7ef62cebSEmmanuel Vadot - const: simple-mfd 29*7ef62cebSEmmanuel Vadot 30*7ef62cebSEmmanuel Vadot reg: 31*7ef62cebSEmmanuel Vadot maxItems: 1 32*7ef62cebSEmmanuel Vadot 33*7ef62cebSEmmanuel Vadot power-controller: 34*7ef62cebSEmmanuel Vadot $ref: /schemas/power/mediatek,power-controller.yaml# 35*7ef62cebSEmmanuel Vadot 36*7ef62cebSEmmanuel Vadotrequired: 37*7ef62cebSEmmanuel Vadot - compatible 38*7ef62cebSEmmanuel Vadot - reg 39*7ef62cebSEmmanuel Vadot 40*7ef62cebSEmmanuel VadotadditionalProperties: false 41*7ef62cebSEmmanuel Vadot 42*7ef62cebSEmmanuel Vadotexamples: 43*7ef62cebSEmmanuel Vadot - | 44*7ef62cebSEmmanuel Vadot #include <dt-bindings/clock/mt8195-clk.h> 45*7ef62cebSEmmanuel Vadot #include <dt-bindings/power/mt8195-power.h> 46*7ef62cebSEmmanuel Vadot 47*7ef62cebSEmmanuel Vadot syscon@10006000 { 48*7ef62cebSEmmanuel Vadot compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd"; 49*7ef62cebSEmmanuel Vadot reg = <0x10006000 0x100>; 50*7ef62cebSEmmanuel Vadot 51*7ef62cebSEmmanuel Vadot spm: power-controller { 52*7ef62cebSEmmanuel Vadot compatible = "mediatek,mt8195-power-controller"; 53*7ef62cebSEmmanuel Vadot #address-cells = <1>; 54*7ef62cebSEmmanuel Vadot #size-cells = <0>; 55*7ef62cebSEmmanuel Vadot #power-domain-cells = <1>; 56*7ef62cebSEmmanuel Vadot 57*7ef62cebSEmmanuel Vadot /* sample of power domain nodes */ 58*7ef62cebSEmmanuel Vadot power-domain@MT8195_POWER_DOMAIN_PCIE_PHY { 59*7ef62cebSEmmanuel Vadot reg = <MT8195_POWER_DOMAIN_PCIE_PHY>; 60*7ef62cebSEmmanuel Vadot #power-domain-cells = <0>; 61*7ef62cebSEmmanuel Vadot }; 62*7ef62cebSEmmanuel Vadot 63*7ef62cebSEmmanuel Vadot power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY { 64*7ef62cebSEmmanuel Vadot reg = <MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>; 65*7ef62cebSEmmanuel Vadot #power-domain-cells = <0>; 66*7ef62cebSEmmanuel Vadot }; 67*7ef62cebSEmmanuel Vadot }; 68*7ef62cebSEmmanuel Vadot }; 69