arm64: rockchip: Add Khadas edge2 board
Subsystems (2)
cover arm64: rockchip: Add Khadas edge2 board
In this patch series, we will try to add basic support for Khadas Edge2 board, currently only UART and eMMC are enabled. The ethernet connect to Pads expansion board via USB which will need extra effort, so no ethernet for now.
The first patch introduce a dt-bindings for Edge2 board, the second patch will add basic device tree.
Yixun Lan (2):
dt-bindings: arm: rockchip: Add Khadas Edge2 board
arm64: dts: rockchip: Add Khadas edge2 board
.../devicetree/bindings/arm/rockchip.yaml | 5 +++ arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-khadas-edge2.dts | 37 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
Signature · 1 line
2.39.2
PATCH 1/2 dt-bindings: arm: rockchip: Add Khadas Edge2 board
Edge2 is an ultraslim, credit-card sized ARM PC designed by Khadas. It has quite a few rich peripherals.
Specification:
- Rockchip RK3588s
- 8/16GB LPDDR4
- 32/64GB eMMC 5.1
- AP6275P WiFi6 LAN
- HDMI2.1 Type-A
- MIPI-CSI x3
- MIPI-DSI x2
- usb3.1; usb2.0
- RTC clock
- PWM fan
- SPI Flash
- Pads expansion board (UART, USB)
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -533,6 +533,11 @@ properties: - khadas,edge-v - const: rockchip,rk3399 + - description: Khadas Edge2 series boards + items: + - const: khadas,edge2 + - const: rockchip,rk3588s + - description: Kobol Helios64 items: - const: kobol,helios64
Signature · 1 line
2.39.2
Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board
Quoted 3 lines · Yixun Lan
Edge2 is an ultraslim, credit-card sized ARM PC designed by Khadas. It has quite a few rich peripherals.
Best regards,
Krzysztof
PATCH 2/2 arm64: dts: rockchip: Add Khadas edge2 board
In reply to Yixun LanEdge2 is an ultraslim, credit-card sized ARM PC designed by Khadas.
In this patch, we will add basic device tree support for this board, Only eMMC, UART are enabled, so it's capable of booting into a basic linux system from eMMC via serial console.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-khadas-edge2.dts | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -90,4 +90,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-io.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb
arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts new file +37 -0
@@ -0,0 +1,37 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/pinctrl/rockchip.h> +#include "rk3588s.dtsi" + +/ { + model = "Khadas Edge2"; + compatible = "khadas,edge2", "rockchip,rk3588s"; + + aliases { + mmc0 = &sdhci; + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&sdhci { + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + max-frequency = <200000000>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; + +&uart2 { + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; +};
Signature · 1 line
2.39.2
Quoted 9 lines · Yixun Lan
In this patch series, we will try to add basic support for Khadas Edge2 board, currently only UART and eMMC are enabled. The ethernet connect to Pads expansion board via USB which will need extra effort, so no ethernet for now.
The first patch introduce a dt-bindings for Edge2 board, the second patch will add basic device tree.
[...]
Applied, thanks!
[1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board
commit: 5a6d76761225bfa31d114f434b990fa2ed9b04c5
[2/2] arm64: dts: rockchip: Add Khadas edge2 board
commit: 04d5529935229a709d6facb8a80168cc0976c89aBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>