Skip to contentSkip to conversation

arm64: dts: rockchip: Split rk3399-roc-pc for with and without mezzanine board.

PATCH Superseded Markus Reichl 2 participants 2 messages Nov 4, 2019

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: rockchip: Split rk3399-roc-pc for with and without mezzanine board.

For rk3399-roc-pc is a mezzanine board available that carries M.2 and POE interfaces. Use it with a separate dts.

---
v2: Add new compatible string for roc-pc with mezzanine board.

---
 .../devicetree/bindings/arm/rockchip.yaml     |   7 +-
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3399-roc-pc-mezz.dts  |  72 ++
 .../arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 757 +----------------
 .../boot/dts/rockchip/rk3399-roc-pc.dtsi      | 770 ++++++++++++++++++
 5 files changed, 850 insertions(+), 757 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezz.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
Documentation/devicetree/bindings/arm/rockchip.yaml +6 -1
index bf86e8237363..e46af071a5fe 100644
@@ -87,11 +87,16 @@ properties:
           - const: firefly,roc-rk3328-cc
           - const: rockchip,rk3328
 
-      - description: Firefly ROC-RK3399-PC
+      - description: Firefly ROC-RK3399-PC standalone
         items:
           - const: firefly,roc-rk3399-pc
           - const: rockchip,rk3399
 
+      - description: Firefly ROC-RK3399-PC with mezzanine
+        items:
+          - const: firefly,roc-rk3399-pc-mezz
+          - const: rockchip,rk3399
+
       - description: FriendlyElec NanoPi4 series boards
         items:
           - enum:
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index a959434ad46e..80ee9f1fc5f5 100644
@@ -28,6 +28,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-neo4.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-orangepi.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezz.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezz.dts new file +72 -0

72 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts +1 -756

765 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi new file +770 -0

770 lines not on this page · raw message

Signature · 1 line
2.20.1
maintainer
#1 lore raw

Hi Markus,

Am Montag, 4. November 2019, 15:08:55 CET schrieb Markus Reichl:

Quoted 25 lines

For rk3399-roc-pc is a mezzanine board available that carries M.2 and POE interfaces. Use it with a separate dts.

---
v2: Add new compatible string for roc-pc with mezzanine board.

---
 .../devicetree/bindings/arm/rockchip.yaml     |   7 +-
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3399-roc-pc-mezz.dts  |  72 ++
 .../arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 757 +----------------
 .../boot/dts/rockchip/rk3399-roc-pc.dtsi      | 770 ++++++++++++++++++
 5 files changed, 850 insertions(+), 757 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezz.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
Documentation/devicetree/bindings/arm/rockchip.yaml +0 -1
index bf86e8237363..e46af071a5fe 100644
@@ -87,11 +87,16 @@ properties:
           - const: firefly,roc-rk3328-cc
           - const: rockchip,rk3328
 
-      - description: Firefly ROC-RK3399-PC

Documentation/devicetree/bindings/arm/rockchip.yaml properties: · line 99

Quoted 10 lines
Documentation/devicetree/bindings/arm/rockchip.yaml +6 -0
+      - description: Firefly ROC-RK3399-PC standalone
         items:
           - const: firefly,roc-rk3399-pc
           - const: rockchip,rk3399
 
+      - description: Firefly ROC-RK3399-PC with mezzanine
+        items:
+          - const: firefly,roc-rk3399-pc-mezz
+          - const: rockchip,rk3399
+

Please do this similar to like the NanoPC boards, so like

- description: Firefly ROC-RK3399-PC
items:
- enum:
- firefly,roc-rk3399-pc
- firefly,roc-rk3399-pc-mezzanine
- const: rockchip,rk3399

including using the full name (-mezzanine) here and in the actual dts filename+compatible.

Thanks
Heiko