[1/7] dt-bindings: Document the SYSREG specific compatibles found on FSD SoC
Commit Message
From: Sriranjani P <sriranjani.p@samsung.com>
Describe the compatible properties for SYSREG controllers found on
FSD SoC.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
.../devicetree/bindings/arm/tesla-sysreg.yaml | 50 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 51 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
new file mode 100644
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/tesla-sysreg.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tesla Full Self-Driving platform's system registers
+
+maintainers:
+ - Alim Akhtar <alim.akhtar@samsung.com>
+
+description: |
+ This is a system control registers block, providing multiple low level
+ platform functions like board detection and identification, software
+ interrupt generation.
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - tesla,sysreg_fsys0
+ - tesla,sysreg_peric
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ sysreg_fsys0: system-controller@15030000 {
+ compatible = "tesla,sysreg_fsys0", "syscon";
+ reg = <0x0 0x15030000 0x0 0x1000>;
+ };
+
+ sysreg_peric: system-controller@14030000 {
+ compatible = "tesla,sysreg_peric", "syscon";
+ reg = <0x0 0x14030000 0x0 0x1000>;
+ };
+ };
@@ -2943,6 +2943,7 @@ M: linux-fsd@tesla.com
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
L: linux-samsung-soc@vger.kernel.org
S: Maintained
+F: Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
F: arch/arm64/boot/dts/tesla*
ARM/TETON BGA MACHINE SUPPORT