aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Volmat <[email protected]>2023-02-13 19:56:30 +0100
committerPatrice Chotard <[email protected]>2023-10-13 09:03:51 +0200
commit02091cbe9cc4f18167208eec1d6de636cc731817 (patch)
tree85391045f3915029f474cafe2e566d54abf00b7a
parent8434eed701a7237fa1e8dbd49e5d7a973c0d6b14 (diff)
dt-bindings: soc: sti: add STi platform syscon
Add DT schema of STi platform syscon Signed-off-by: Alain Volmat <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Patrice Chotard <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
new file mode 100644
index 000000000000..5f97d9ff17fb
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STMicroelectronics STi platform sysconfig
+
+maintainers:
+ - Patrice Chotard <[email protected]>
+
+description: |
+ Binding for the various sysconfig nodes used within the STi
+ platform device-tree to point to some common configuration
+ registers used by other nodes.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - st,stih407-core-syscfg
+ - st,stih407-flash-syscfg
+ - st,stih407-front-syscfg
+ - st,stih407-lpm-syscfg
+ - st,stih407-rear-syscfg
+ - st,stih407-sbc-reg-syscfg
+ - st,stih407-sbc-syscfg
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ syscfg_sbc: syscon@9620000 {
+ compatible = "st,stih407-sbc-syscfg", "syscon";
+ reg = <0x9620000 0x1000>;
+ };
+
+...