* [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board
@ 2023-03-15 3:34 Yixun Lan
2023-03-15 3:34 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board Yixun Lan
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yixun Lan @ 2023-03-15 3:34 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski,
Sebastian Reichel
Cc: Jagan Teki, Christopher Obbard, Yixun Lan, Nick Xie, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
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
--
2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board
2023-03-15 3:34 [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board Yixun Lan
@ 2023-03-15 3:34 ` Yixun Lan
2023-03-15 7:16 ` Krzysztof Kozlowski
2023-03-15 3:34 ` [PATCH 2/2] arm64: dts: rockchip: Add Khadas edge2 board Yixun Lan
2023-03-15 7:54 ` [PATCH 0/2] arm64: " Heiko Stuebner
2 siblings, 1 reply; 5+ messages in thread
From: Yixun Lan @ 2023-03-15 3:34 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski,
Sebastian Reichel
Cc: Jagan Teki, Christopher Obbard, Yixun Lan, Nick Xie, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
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)
Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index 35f74eda30ae..ff663797291c 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -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
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: rockchip: Add Khadas edge2 board
2023-03-15 3:34 [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board Yixun Lan
2023-03-15 3:34 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board Yixun Lan
@ 2023-03-15 3:34 ` Yixun Lan
2023-03-15 7:54 ` [PATCH 0/2] arm64: " Heiko Stuebner
2 siblings, 0 replies; 5+ messages in thread
From: Yixun Lan @ 2023-03-15 3:34 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski,
Sebastian Reichel
Cc: Jagan Teki, Christopher Obbard, Yixun Lan, Nick Xie, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
Edge2 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.
Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
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
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index 99a44c400d6a..1743e9e14426 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -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
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
new file mode 100644
index 000000000000..93b4a0c4ed0f
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
@@ -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";
+};
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board
2023-03-15 3:34 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board Yixun Lan
@ 2023-03-15 7:16 ` Krzysztof Kozlowski
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-15 7:16 UTC (permalink / raw)
To: Yixun Lan, Heiko Stuebner, Rob Herring, Krzysztof Kozlowski,
Sebastian Reichel
Cc: Jagan Teki, Christopher Obbard, Nick Xie, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
On 15/03/2023 04:34, Yixun Lan wrote:
> Edge2 is an ultraslim, credit-card sized ARM PC designed by Khadas.
> It has quite a few rich peripherals.
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board
2023-03-15 3:34 [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board Yixun Lan
2023-03-15 3:34 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board Yixun Lan
2023-03-15 3:34 ` [PATCH 2/2] arm64: dts: rockchip: Add Khadas edge2 board Yixun Lan
@ 2023-03-15 7:54 ` Heiko Stuebner
2 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2023-03-15 7:54 UTC (permalink / raw)
To: Yixun Lan, Krzysztof Kozlowski, Sebastian Reichel, Rob Herring
Cc: Heiko Stuebner, linux-rockchip, linux-kernel, Christopher Obbard,
Nick Xie, linux-arm-kernel, Jagan Teki, devicetree
On Wed, 15 Mar 2023 11:34:39 +0800, Yixun Lan wrote:
> 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: 04d5529935229a709d6facb8a80168cc0976c89a
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-15 7:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15 3:34 [PATCH 0/2] arm64: rockchip: Add Khadas edge2 board Yixun Lan
2023-03-15 3:34 ` [PATCH 1/2] dt-bindings: arm: rockchip: Add Khadas Edge2 board Yixun Lan
2023-03-15 7:16 ` Krzysztof Kozlowski
2023-03-15 3:34 ` [PATCH 2/2] arm64: dts: rockchip: Add Khadas edge2 board Yixun Lan
2023-03-15 7:54 ` [PATCH 0/2] arm64: " Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).