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

Michal Suchanek msuchanek at suse.de
Thu Oct 8 14:40:06 EDT 2020


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 at suse.de>
---
 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




More information about the linux-arm-kernel mailing list