Skip to contentSkip to conversation

dt-bindings: arm: bcm: document BCM4912 bindings

PATCH In review Rafał Miłecki 2 participants 2 messages Mar 15, 2022 – Mar 16, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: arm: bcm: document BCM4912 bindings

From: Rafał Miłecki <[email protected]>

BCM4912 is a successor family to the BCM4908. It includes BCM4912, BCM4915 and BCM49418. It's mostly used in home routers.

---
 .../bindings/arm/bcm/brcm,bcm4912.yaml        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml new file +38 -0
new file mode 100644
index 000000000000..438a6f20ca93
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm4912.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM4912 device tree bindings
+
+description:
+  Broadcom BCM4912 / BCM4915 / BCM49418 Wi-Fi/network SoCs with Brahma CPUs.
+
+maintainers:
+  - Rafał Miłecki <[email protected]>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: BCM4912 based boards
+        items:
+          - enum:
+              - asus,gt-ax6000
+          - const: brcm,bcm4912
+
+      - description: BCM4915 based boards
+        items:
+          - const: brcm,bcm4915
+          - const: brcm,bcm4912
+
+      - description: BCM49418 based boards
+        items:
+          - const: brcm,bcm49418
+          - const: brcm,bcm4908
+
+additionalProperties: true
+
+...
Signature · 1 line
2.34.1
#1 lore raw
Quoted 41 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

BCM4912 is a successor family to the BCM4908. It includes BCM4912, BCM4915 and BCM49418. It's mostly used in home routers.

---
 .../bindings/arm/bcm/brcm,bcm4912.yaml        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml new file +24 -0
new file mode 100644
index 000000000000..438a6f20ca93
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm4912.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM4912 device tree bindings
+
+description:
+  Broadcom BCM4912 / BCM4915 / BCM49418 Wi-Fi/network SoCs with Brahma CPUs.
+
+maintainers:
+  - Rafał Miłecki <[email protected]>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: BCM4912 based boards
+        items:
+          - enum:
+              - asus,gt-ax6000
+          - const: brcm,bcm4912

Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml line 34

Quoted 10 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml new file +10 -0
+
+      - description: BCM4915 based boards
+        items:
+          - const: brcm,bcm4915
+          - const: brcm,bcm4912
+
+      - description: BCM49418 based boards
+        items:
+          - const: brcm,bcm49418
+          - const: brcm,bcm4908

The last two entries do not look correct currently. You don't have any boards. Maybe just skip them? Unless you plan to use these compatibles in DTSI?

Best regards,
Krzysztof