[PATCH v5 04/10] dt-bindings: mips: realtek: Add rtl930x-soc compatible

From: Chris Packham
Date: Wed Jul 10 2024 - 00:36:02 EST


Add the rtl9302 SoC and the Cameo RTL9302C_2xRTL8224_2XGE reference
board to the list of Realtek compatible strings.

Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---

Notes:
Changes in v5:
- None
Changes in v4:
- Add r-by from Krzysztof
Changes in v3:
- Use full board name
- I've decided to stick with rtl9302-soc to disambiguate it from what I
eventually plan to add as rtl9302-switch which is in the same package
but are separate dies.
Changes in v2:
- Use specific compatible for rtl9302-soc
- Fix to allow correct board, soc compatible

Documentation/devicetree/bindings/mips/realtek-rtl.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/mips/realtek-rtl.yaml b/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
index f8ac309d2994..d337655bfbf8 100644
--- a/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
+++ b/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
@@ -20,5 +20,9 @@ properties:
- enum:
- cisco,sg220-26
- const: realtek,rtl8382-soc
+ - items:
+ - enum:
+ - cameo,rtl9302c-2x-rtl8224-2xge
+ - const: realtek,rtl9302-soc

additionalProperties: true
--
2.45.2