summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/misc/allwinner,syscon.txt
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2017-05-31 10:18:35 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-01 21:53:04 +0300
commitce5a4ff3c5058a1c934d3416385948a499a62e6f (patch)
treea04678c5402bcb8dacf1440c71ca8e3863355bc2 /Documentation/devicetree/bindings/misc/allwinner,syscon.txt
parent0441bde003bee53a61d7e365562a295f2049ca53 (diff)
downloadlinux-ce5a4ff3c5058a1c934d3416385948a499a62e6f.tar.xz
dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon
This patch adds documentation for Device-Tree bindings for the syscon present in allwinner devices. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/misc/allwinner,syscon.txt')
-rw-r--r--Documentation/devicetree/bindings/misc/allwinner,syscon.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/allwinner,syscon.txt b/Documentation/devicetree/bindings/misc/allwinner,syscon.txt
new file mode 100644
index 000000000000..cb5769137c6c
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/allwinner,syscon.txt
@@ -0,0 +1,19 @@
+* Allwinner sun8i system controller
+
+This file describes the bindings for the system controller present in
+Allwinner SoC H3, A83T and A64.
+The principal function of this syscon is to control EMAC PHY choice and
+config.
+
+Required properties for the system controller:
+- reg: address and length of the register for the device.
+- compatible: should be "syscon" and one of the following string:
+ "allwinner,sun8i-h3-system-controller"
+ "allwinner,sun50i-a64-system-controller"
+ "allwinner,sun8i-a83t-system-controller"
+
+Example:
+syscon: syscon@1c00000 {
+ compatible = "allwinner,sun8i-h3-system-controller", "syscon";
+ reg = <0x01c00000 0x1000>;
+};