OSDN Git Service

dt-bindings: stm32: add compatible for syscon
authorChristophe Roullier <christophe.roullier@st.com>
Fri, 25 May 2018 07:46:41 +0000 (09:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 03:08:30 +0000 (23:08 -0400)
This patch describes syscon DT bindings.

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/arm/stm32/stm32-syscon.txt [new file with mode: 0644]
Documentation/devicetree/bindings/arm/stm32/stm32.txt [moved from Documentation/devicetree/bindings/arm/stm32.txt with 100% similarity]

diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32-syscon.txt b/Documentation/devicetree/bindings/arm/stm32/stm32-syscon.txt
new file mode 100644 (file)
index 0000000..99980ae
--- /dev/null
@@ -0,0 +1,14 @@
+STMicroelectronics STM32 Platforms System Controller
+
+Properties:
+   - compatible : should contain two values. First value must be :
+                 - " st,stm32mp157-syscfg " - for stm32mp157 based SoCs,
+                 second value must be always "syscon".
+   - reg : offset and length of the register set.
+
+ Example:
+         syscfg: syscon@50020000 {
+                 compatible = "st,stm32mp157-syscfg", "syscon";
+                 reg = <0x50020000 0x400>;
+         };
+