diff options
author | Yixun Lan <dlan@gentoo.org> | 2023-03-15 11:34:41 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-03-15 08:39:48 +0100 |
commit | 04d5529935229a709d6facb8a80168cc0976c89a (patch) | |
tree | 41ddd8f3a809d05f4f4ed48981fbf1a0b2170869 /arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts | |
parent | 5a6d76761225bfa31d114f434b990fa2ed9b04c5 (diff) | |
download | lwn-04d5529935229a709d6facb8a80168cc0976c89a.tar.gz lwn-04d5529935229a709d6facb8a80168cc0976c89a.zip |
arm64: dts: rockchip: Add Khadas edge2 board
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>
Link: https://lore.kernel.org/r/20230315033441.32719-3-dlan@gentoo.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts | 37 |
1 files changed, 37 insertions, 0 deletions
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"; +}; |