xref: /linux/Documentation/devicetree/bindings/mfd/syscon.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: System Controller Devices
8
9description: |
10  System controller node represents a register region containing a set
11  of miscellaneous registers. The registers are not cohesive enough to
12  represent as any specific type of device. The typical use-case is
13  for some other node's driver, or platform-specific code, to acquire
14  a reference to the syscon node (e.g. by phandle, node path, or
15  search using a specific compatible value), interrogate the node (or
16  associated OS driver) to determine the location of the registers,
17  and access the registers directly.
18
19maintainers:
20  - Lee Jones <lee@kernel.org>
21
22# Need a select with all compatibles listed for compatibility with older
23# dtschema (<2024.02), so this will not be selected for other schemas having
24# syscon fallback.
25select:
26  properties:
27    compatible:
28      contains:
29        enum:
30          - al,alpine-sysfabric-servic
31          - allwinner,sun8i-a83t-system-controller
32          - allwinner,sun8i-h3-system-controller
33          - allwinner,sun8i-v3s-system-controller
34          - allwinner,sun50i-a64-system-controller
35          - altr,l3regs
36          - altr,sdr-ctl
37          - amd,pensando-elba-syscon
38          - amlogic,meson-mx-assist
39          - amlogic,meson-mx-bootrom
40          - amlogic,meson8-analog-top
41          - amlogic,meson8b-analog-top
42          - amlogic,meson8-pmu
43          - amlogic,meson8b-pmu
44          - apm,merlin-poweroff-mailbox
45          - apm,mustang-poweroff-mailbox
46          - apm,xgene-csw
47          - apm,xgene-efuse
48          - apm,xgene-mcb
49          - apm,xgene-rb
50          - apm,xgene-scu
51          - atmel,sama5d2-sfrbu
52          - atmel,sama5d3-nfc-io
53          - atmel,sama5d3-sfrbu
54          - atmel,sama5d4-sfrbu
55          - axis,artpec6-syscon
56          - brcm,cru-clkset
57          - brcm,sr-cdru
58          - brcm,sr-mhb
59          - cirrus,ep7209-syscon1
60          - cirrus,ep7209-syscon2
61          - cirrus,ep7209-syscon3
62          - cnxt,cx92755-uc
63          - freecom,fsg-cs2-system-controller
64          - fsl,imx93-aonmix-ns-syscfg
65          - fsl,imx93-wakeupmix-syscfg
66          - fsl,ls1088a-reset
67          - fsl,vf610-anatop
68          - fsl,vf610-mscm-cpucfg
69          - hisilicon,dsa-subctrl
70          - hisilicon,hi6220-sramctrl
71          - hisilicon,hip04-ppe
72          - hisilicon,pcie-sas-subctrl
73          - hisilicon,peri-subctrl
74          - hpe,gxp-sysreg
75          - loongson,ls1b-syscon
76          - loongson,ls1c-syscon
77          - lsi,axxia-syscon
78          - marvell,armada-3700-cpu-misc
79          - marvell,armada-3700-nb-pm
80          - marvell,armada-3700-avs
81          - marvell,armada-3700-usb2-host-misc
82          - marvell,dove-global-config
83          - mediatek,mt2701-pctl-a-syscfg
84          - mediatek,mt2712-pctl-a-syscfg
85          - mediatek,mt6397-pctl-pmic-syscfg
86          - mediatek,mt8135-pctl-a-syscfg
87          - mediatek,mt8135-pctl-b-syscfg
88          - mediatek,mt8173-pctl-a-syscfg
89          - mediatek,mt8365-syscfg
90          - microchip,lan966x-cpu-syscon
91          - microchip,mpfs-sysreg-scb
92          - microchip,sam9x60-sfr
93          - microchip,sama7g5-ddr3phy
94          - mscc,ocelot-cpu-syscon
95          - mstar,msc313-pmsleep
96          - nuvoton,ma35d1-sys
97          - nuvoton,wpcm450-shm
98          - rockchip,px30-qos
99          - rockchip,rk3036-qos
100          - rockchip,rk3066-qos
101          - rockchip,rk3128-qos
102          - rockchip,rk3228-qos
103          - rockchip,rk3288-qos
104          - rockchip,rk3368-qos
105          - rockchip,rk3399-qos
106          - rockchip,rk3568-qos
107          - rockchip,rk3576-qos
108          - rockchip,rk3588-qos
109          - rockchip,rv1126-qos
110          - st,spear1340-misc
111          - stericsson,nomadik-pmu
112          - starfive,jh7100-sysmain
113          - ti,am62-opp-efuse-table
114          - ti,am62-usb-phy-ctrl
115          - ti,am625-dss-oldi-io-ctrl
116          - ti,am62p-cpsw-mac-efuse
117          - ti,am654-dss-oldi-io-ctrl
118          - ti,j784s4-acspcie-proxy-ctrl
119          - ti,j784s4-pcie-ctrl
120          - ti,keystone-pllctrl
121  required:
122    - compatible
123
124properties:
125  compatible:
126    items:
127      - enum:
128          - al,alpine-sysfabric-service
129          - allwinner,sun8i-a83t-system-controller
130          - allwinner,sun8i-h3-system-controller
131          - allwinner,sun8i-v3s-system-controller
132          - allwinner,sun50i-a64-system-controller
133          - altr,l3regs
134          - altr,sdr-ctl
135          - amd,pensando-elba-syscon
136          - amlogic,meson-mx-assist
137          - amlogic,meson-mx-bootrom
138          - amlogic,meson8-analog-top
139          - amlogic,meson8b-analog-top
140          - amlogic,meson8-pmu
141          - amlogic,meson8b-pmu
142          - apm,merlin-poweroff-mailbox
143          - apm,mustang-poweroff-mailbox
144          - apm,xgene-csw
145          - apm,xgene-efuse
146          - apm,xgene-mcb
147          - apm,xgene-rb
148          - apm,xgene-scu
149          - atmel,sama5d2-sfrbu
150          - atmel,sama5d3-nfc-io
151          - atmel,sama5d3-sfrbu
152          - atmel,sama5d4-sfrbu
153          - axis,artpec6-syscon
154          - brcm,cru-clkset
155          - brcm,sr-cdru
156          - brcm,sr-mhb
157          - cirrus,ep7209-syscon1
158          - cirrus,ep7209-syscon2
159          - cirrus,ep7209-syscon3
160          - cnxt,cx92755-uc
161          - freecom,fsg-cs2-system-controller
162          - fsl,imx93-aonmix-ns-syscfg
163          - fsl,imx93-wakeupmix-syscfg
164          - fsl,ls1088a-reset
165          - fsl,vf610-anatop
166          - fsl,vf610-mscm-cpucfg
167          - hisilicon,dsa-subctrl
168          - hisilicon,hi6220-sramctrl
169          - hisilicon,hip04-ppe
170          - hisilicon,pcie-sas-subctrl
171          - hisilicon,peri-subctrl
172          - hpe,gxp-sysreg
173          - loongson,ls1b-syscon
174          - loongson,ls1c-syscon
175          - lsi,axxia-syscon
176          - marvell,armada-3700-cpu-misc
177          - marvell,armada-3700-nb-pm
178          - marvell,armada-3700-avs
179          - marvell,armada-3700-usb2-host-misc
180          - marvell,dove-global-config
181          - mediatek,mt2701-pctl-a-syscfg
182          - mediatek,mt2712-pctl-a-syscfg
183          - mediatek,mt6397-pctl-pmic-syscfg
184          - mediatek,mt8135-pctl-a-syscfg
185          - mediatek,mt8135-pctl-b-syscfg
186          - mediatek,mt8173-pctl-a-syscfg
187          - mediatek,mt8365-syscfg
188          - microchip,lan966x-cpu-syscon
189          - microchip,mpfs-sysreg-scb
190          - microchip,sam9x60-sfr
191          - microchip,sama7g5-ddr3phy
192          - mscc,ocelot-cpu-syscon
193          - mstar,msc313-pmsleep
194          - nuvoton,ma35d1-sys
195          - nuvoton,wpcm450-shm
196          - rockchip,px30-qos
197          - rockchip,rk3036-qos
198          - rockchip,rk3066-qos
199          - rockchip,rk3128-qos
200          - rockchip,rk3228-qos
201          - rockchip,rk3288-qos
202          - rockchip,rk3368-qos
203          - rockchip,rk3399-qos
204          - rockchip,rk3568-qos
205          - rockchip,rk3576-qos
206          - rockchip,rk3588-qos
207          - rockchip,rv1126-qos
208          - st,spear1340-misc
209          - stericsson,nomadik-pmu
210          - starfive,jh7100-sysmain
211          - ti,am62-opp-efuse-table
212          - ti,am62-usb-phy-ctrl
213          - ti,am625-dss-oldi-io-ctrl
214          - ti,am62p-cpsw-mac-efuse
215          - ti,am654-dss-oldi-io-ctrl
216          - ti,j784s4-pcie-ctrl
217          - ti,keystone-pllctrl
218      - const: syscon
219
220  reg:
221    maxItems: 1
222
223  resets:
224    maxItems: 1
225
226required:
227  - compatible
228  - reg
229
230allOf:
231  - $ref: syscon-common.yaml#
232
233unevaluatedProperties: false
234
235examples:
236  - |
237    syscon: syscon@1c00000 {
238        compatible = "allwinner,sun8i-h3-system-controller", "syscon";
239        reg = <0x01c00000 0x1000>;
240    };
241...
242