2019-11-11 14:35:00 +01:00
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id : http://devicetree.org/schemas/mfd/syscon.yaml#
$schema : http://devicetree.org/meta-schemas/core.yaml#
title : System Controller Registers R/W Device Tree Bindings
description : |
System controller node represents a register region containing a set
of miscellaneous registers. The registers are not cohesive enough to
represent as any specific type of device. The typical use-case is
for some other node's driver, or platform-specific code, to acquire
a reference to the syscon node (e.g. by phandle, node path, or
search using a specific compatible value), interrogate the node (or
associated OS driver) to determine the location of the registers,
and access the registers directly.
maintainers :
- Lee Jones <lee.jones@linaro.org>
select :
properties :
compatible :
contains :
enum :
- syscon
required :
- compatible
properties :
compatible :
anyOf :
- items :
2020-04-15 19:55:48 -05:00
- enum :
- allwinner,sun8i-a83t-system-controller
- allwinner,sun8i-h3-system-controller
- allwinner,sun8i-v3s-system-controller
- allwinner,sun50i-a64-system-controller
2021-09-13 10:00:21 +02:00
- brcm,cru-clkset
2021-11-22 11:22:10 +01:00
- freecom,fsg-cs2-system-controller
2020-09-29 22:14:38 +08:00
- hisilicon,dsa-subctrl
- hisilicon,hi6220-sramctrl
- hisilicon,pcie-sas-subctrl
- hisilicon,peri-subctrl
2022-02-28 16:15:37 -06:00
- intel,lgm-syscon
- marvell,armada-3700-usb2-host-misc
- mediatek,mt8135-pctl-a-syscfg
- mediatek,mt8135-pctl-b-syscfg
2022-03-13 01:31:22 +01:00
- microchip,lan966x-cpu-syscon
2020-06-15 15:32:33 +02:00
- microchip,sparx5-cpu-syscon
2020-07-30 00:07:46 +09:00
- mstar,msc313-pmsleep
2020-11-07 18:00:59 +01:00
- rockchip,px30-qos
2021-05-27 17:44:44 +02:00
- rockchip,rk3036-qos
2020-11-07 18:00:59 +01:00
- rockchip,rk3066-qos
2021-05-27 17:44:44 +02:00
- rockchip,rk3228-qos
2020-11-07 18:00:59 +01:00
- rockchip,rk3288-qos
2021-09-25 11:04:04 +02:00
- rockchip,rk3368-qos
2020-11-07 18:00:59 +01:00
- rockchip,rk3399-qos
2021-06-24 19:47:18 +08:00
- rockchip,rk3568-qos
2020-09-02 18:14:52 +02:00
- samsung,exynos3-sysreg
2020-09-02 18:14:51 +02:00
- samsung,exynos4-sysreg
- samsung,exynos5-sysreg
2020-09-02 18:14:52 +02:00
- samsung,exynos5433-sysreg
2021-11-27 01:06:20 +02:00
- samsung,exynos850-sysreg
2021-10-10 12:22:44 +09:00
- samsung,exynosautov9-sysreg
2019-11-11 14:35:00 +01:00
2020-04-15 19:55:48 -05:00
- const : syscon
2019-11-11 14:35:00 +01:00
- contains :
const : syscon
2020-06-10 13:04:18 -06:00
minItems : 2
maxItems : 4 # Should be enough
2019-11-11 14:35:00 +01:00
reg :
maxItems : 1
reg-io-width :
description : |
The size (in bytes) of the IO accesses that should be performed
on the device.
2020-04-15 19:55:49 -05:00
$ref : /schemas/types.yaml#/definitions/uint32
enum : [ 1 , 2 , 4 , 8 ]
2019-11-11 14:35:00 +01:00
hwlocks :
maxItems : 1
description :
Reference to a phandle of a hardware spinlock provider node.
required :
- compatible
- reg
2020-10-05 13:38:30 -05:00
additionalProperties : true
2019-11-11 14:35:00 +01:00
examples :
- |
syscon : syscon@1c00000 {
compatible = "allwinner,sun8i-h3-system-controller", "syscon";
reg = <0x01c00000 0x1000>;
};
- |
gpr : iomuxc-gpr@20e0000 {
compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
reg = <0x020e0000 0x38>;
hwlocks = <&hwlock1 1>;
};
...