Skip to contentSkip to conversation

arm64: dts: rockchip: Add support for the Orange Pi RK3399 board.

PATCH In review Alexis Ballier 3 participants 3 messages Feb 22, 2019 – Mar 5, 2019

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

PATCH 1/1 arm64: dts: rockchip: Add support for the Orange Pi RK3399 board.

This adds basic support for the Orange Pi RK3399 board. What works:
- SD card / emmc.
- Debug UART
- Ethernet
- USB: Type C, internal USB3 for SATA, 4 USB 2.0 ports
- Sensors: All of them but the Hall sensor.
- Buttons
- Wifi, Bluetooth
- HDMI out

---

The board is heavily based on the Sapphire one, hence this patch is also based on this DT. This is why I kept the copyrights of the sapphire DT.

---
 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3399-orangepi.dts     | 778 ++++++++++++++++++
 3 files changed, 784 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index eb4d7f356543..58b075fcd78d 100644
@@ -309,6 +309,11 @@ properties:
           - const: phytec,rk3288-phycore-som
           - const: rockchip,rk3288
 
+      - description: Orange Pi RK3399 board
+        items:
+          - const: rockchip,rk3399-orangepi
+          - const: rockchip,rk3399
+
       - description: Pine64 Rock64
         items:
           - const: pine64,rock64
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 1b28fa72ea0b..25454e2cf2de 100644
@@ -18,6 +18,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-inx.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-kd.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopc-t4.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-m4.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-rock-pi-4.dtb
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts new file +778 -0

778 lines not on this page · raw message

Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Alexis Ballier

This adds basic support for the Orange Pi RK3399 board. What works:
- SD card / emmc.
- Debug UART
- Ethernet
- USB: Type C, internal USB3 for SATA, 4 USB 2.0 ports
- Sensors: All of them but the Hall sensor.
- Buttons
- Wifi, Bluetooth
- HDMI out

---

Quoted 8 lines

The board is heavily based on the Sapphire one, hence this patch is also based on this DT. This is why I kept the copyrights of the sapphire DT.

---
 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3399-orangepi.dts     | 778 ++++++++++++++++++
 3 files changed, 784 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
maintainer
#2 lore raw
In reply to Alexis Ballier

Am Freitag, 22. Februar 2019, 19:44:19 CET schrieb Alexis Ballier:

Quoted 11 lines

This adds basic support for the Orange Pi RK3399 board. What works:
- SD card / emmc.
- Debug UART
- Ethernet
- USB: Type C, internal USB3 for SATA, 4 USB 2.0 ports
- Sensors: All of them but the Hall sensor.
- Buttons
- Wifi, Bluetooth
- HDMI out

Quoted 1 line

I did reorder some nodes and properties and also moved the binding entry to its correct alphabetical position and applied the patch for 5.2

Thanks
Heiko