arm64: dts: rockchip: Add initial support for Khadas Edge 2L
Subsystems (2)
v2 cover arm64: dts: rockchip: Add initial support for Khadas Edge 2L
This patch series adds initial basic support for the Khadas Edge 2L board, which is based on the Rockchip RK3576 SoC.
To keep the initial review process simple and easy, this series only enables the bare minimum peripherals required to boot the board to a shell:
- UART (for serial console)
- eMMC (for root filesystem)
Support for other rich peripherals (such as PCIe Wi-Fi, USB, HDMI, microSD, etc.) will be submitted in subsequent patch series once this base is merged.
Changes from v1 at [1]:
- dt-bindings: Removed marketing language from the commit message.
- arm64: dts: Rewrote the commit message to use the imperative mood.
[1] https://patchwork.kernel.org/project/linux-rockchip/cover/[email protected]/
Gray Huang (2):
dt-bindings: arm: rockchip: Add Khadas Edge 2L board
arm64: dts: rockchip: Add Khadas Edge 2L board
.../devicetree/bindings/arm/rockchip.yaml | 5 +++ arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-khadas-edge-2l.dts | 34 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
Signature · 1 line
2.34.1
PATCH v2 1/2 dt-bindings: arm: rockchip: Add Khadas Edge 2L board
The Khadas Edge 2L is a single board computer based on the Rockchip RK3576 SoC.
Specification:
- Rockchip RK3576
- 8/16GB LPDDR5
- 64/128GB eMMC 5.1
- AP6275P WiFi6 LAN
- HDMI2.1 Type-A
- MIPI-CSI x2
- 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
@@ -754,6 +754,11 @@ properties: - const: khadas,edge2 - const: rockchip,rk3588s + - description: Khadas Edge-2L series boards + items: + - const: khadas,edge-2l + - const: rockchip,rk3576 + - description: Kobol Helios64 items: - const: kobol,helios64
Signature · 1 line
2.34.1
Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
Quoted 2 lines · Gray Huang
The Khadas Edge 2L is a single board computer based on the Rockchip RK3576 SoC.
<form letter>
This is a friendly reminder during the review process.
It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
If a tag was not added on purpose, please state why and what changed. </form letter>
Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
Quoted 8 lines · Krzysztof Kozlowski
Quoted 2 lines · Gray Huang
The Khadas Edge 2L is a single board computer based on the Rockchip RK3576 SoC.
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
Quoted 8 lines
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
My apologies for missing the Acked-by tag in this v2 submission. I will keep this in mind for future patches.
As you suggested, I will not send a v3 just to add this tag.
Quoted 10 lines
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577If a tag was not added on purpose, please state why and what changed. </form letter>
Best regards,
Krzysztof
PATCH v2 2/2 arm64: dts: rockchip: Add Khadas Edge 2L board
In reply to Gray HuangThe Khadas Edge 2L is a single board computer based on the Rockchip RK3576 SoC.
Add basic device tree support for this board. Currently, only eMMC and UART are enabled, allowing the board to boot into a basic Linux system via the serial console.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-khadas-edge-2l.dts | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -164,6 +164,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10-pcie1.dtbo +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-khadas-edge-2l.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-luckfox-omni3576.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-nanopi-m5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-nanopi-r76s.dtb
arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/pinctrl/rockchip.h> +#include "rk3576.dtsi" + +/ { + model = "Khadas Edge-2L"; + compatible = "khadas,edge-2l", "rockchip,rk3576"; + + aliases { + mmc0 = &sdhci; + }; + + chosen { + stdout-path = "serial0:1500000n8"; + }; +}; + +&sdhci { + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; + +&uart0 { + status = "okay"; +};
Signature · 1 line
2.34.1
Quoted 9 lines · Gray Huang
This patch series adds initial basic support for the Khadas Edge 2L board, which is based on the Rockchip RK3576 SoC.
To keep the initial review process simple and easy, this series only enables the bare minimum peripherals required to boot the board to a shell:
- UART (for serial console)
- eMMC (for root filesystem)[...]
Applied, thanks!
[1/2] dt-bindings: arm: rockchip: Add Khadas Edge 2L board
commit: b1a9b33cff4f58f2507e930d2c5805877928c6f7
[2/2] arm64: dts: rockchip: Add Khadas Edge 2L board
commit: 254c6ae9c5014497e840a6fb8520f70caef31097Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>