Skip to contentSkip to conversation

dt-bindings: mips: loongson: Add Loongson-1 based boards

PATCH Superseded Keguang Zhang 2 participants 2 messages Feb 20, 2023

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mips: loongson: Add Loongson-1 based boards

Add two Loongson-1 based boards: LSGZ 1B and Smartloongson 1C.

---
 .../devicetree/bindings/mips/loongson/devices.yaml     | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/mips/loongson/devices.yaml +10 -0
index f13ce386f42c..6ed6e8d1c0a6 100644
@@ -37,6 +37,16 @@ properties:
         items:
           - const: loongson,loongson64v-4core-virtio
 
+      - description: LSGZ 1B Development Board
+        items:
+          - const: lsgz,1b
+          - const: loongson,ls1b
+
+      - description: Smart Loongson 1C Board
+        items:
+          - const: smartloongson,1c
+          - const: loongson,ls1c
+
 additionalProperties: true
 
 ...

base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8

Signature · 1 line
2.34.1
#1 lore raw
Quoted 12 lines · Keguang Zhang

Add two Loongson-1 based boards: LSGZ 1B and Smartloongson 1C.

---
 .../devicetree/bindings/mips/loongson/devices.yaml     | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/mips/loongson/devices.yaml +0 -0
index f13ce386f42c..6ed6e8d1c0a6 100644

Documentation/devicetree/bindings/mips/loongson/devices.yaml properties: · line 42

Quoted 6 lines
Documentation/devicetree/bindings/mips/loongson/devices.yaml +3 -0
@@ -37,6 +37,16 @@ properties:
         items:
           - const: loongson,loongson64v-4core-virtio
 
+      - description: LSGZ 1B Development Board
+        items:
+          - const: lsgz,1b

1. Undocumented vendor prefix
2. This should be rather enum as it will grow with more boards. Also description could be rather - LS1B based boards.

Documentation/devicetree/bindings/mips/loongson/devices.yaml properties: · line 47

Quoted 5 lines
Documentation/devicetree/bindings/mips/loongson/devices.yaml +5 -0
+          - const: loongson,ls1b
+
+      - description: Smart Loongson 1C Board
+        items:
+          - const: smartloongson,1c

Same comments.

Quoted 7 lines
Documentation/devicetree/bindings/mips/loongson/devices.yaml +2 -0
+          - const: loongson,ls1c
+
 additionalProperties: true
 
...

base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8

Best regards,
Krzysztof