From: Hoang Nguyen Le <[email protected]>

commit 209ceb737f8fbe5b52ebeb68c5c711691ae8ad91 from
https://github.com/nxp-auto-linux/linux

Issue: ALB-9923

Signed-off-by: Hoang Nguyen Le <[email protected]>
Signed-off-by: Zhantao Tang <[email protected]>
---
 .../bindings/rtc/nxp,s32cc-mscm.yaml          | 54 +++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/nxp,s32cc-mscm.yaml

diff --git a/Documentation/devicetree/bindings/rtc/nxp,s32cc-mscm.yaml 
b/Documentation/devicetree/bindings/rtc/nxp,s32cc-mscm.yaml
new file mode 100644
index 000000000000..455a94b54944
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/nxp,s32cc-mscm.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/nxp,s32cc-mscm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP S32CC Miscellaneous System Control Module (MSCM)
+
+maintainers:
+  - Hoang Nguyen Le <[email protected]>
+
+description: |
+  Miscellaneous System Control Module (MSCM) for S32CC NPIs
+
+properties:
+  compatible:
+    enum:
+      - nxp,s32cc-mscm
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 12
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+       mscm0: mscm@40198000 {
+                       compatible = "nxp,s32cc-mscm";
+                       reg = <0x0 0x40198000 0x0 0x1000>;
+                       /* CPU2CPU interrupts */
+                       interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 2 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 3 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 22 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 23 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 68 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 69 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 164 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 165 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 166 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 167 
IRQ_TYPE_LEVEL_HIGH>,
+                                                <GIC_SPI 168 
IRQ_TYPE_LEVEL_HIGH>;
+               };
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12334): 
https://lists.yoctoproject.org/g/linux-yocto/message/12334
Mute This Topic: https://lists.yoctoproject.org/mt/97945970/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to