[PATCH 2/2] dt-bindings: arm: sunxi: Fix Orange Pi Zero bindings

From: Michal Suchanek
Date: Thu Oct 08 2020 - 14:40:20 EST


There are two models of Orange Pi zero which are confusingly marketed
under the same name. Old model comes without a flash memory and current
model does have a flash memory. Add bindings for each model.

Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index efc9118233b4..7e76ea544bf7 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -864,8 +864,15 @@ properties:
- const: xunlong,orangepi-win
- const: allwinner,sun50i-a64

+ - description: Xunlong OrangePi Zero (old model without flash memory)
+ items:
+ - const: xunlong,orangepi-zero-no-flash
+ - const: xunlong,orangepi-zero
+ - const: allwinner,sun8i-h2-plus
+
- description: Xunlong OrangePi Zero
items:
+ - const: xunlong,orangepi-zero-with-flash
- const: xunlong,orangepi-zero
- const: allwinner,sun8i-h2-plus

--
2.28.0