lkml.org 
[lkml]   [2022]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv3 9/9] arm64: dts: rockchip: Add rock-5b board
    Date
    From: Christopher Obbard <chris.obbard@collabora.com>

    Add board file for the RK3588 Rock 5B board. This is a basic
    implementation which just brings up the eMMC and UART which is
    enough to successfully boot Linux.

    The ethernet controller is connected via PCIe so support will
    come in a follow-up patch.

    Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
    Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
    ---
    arch/arm64/boot/dts/rockchip/Makefile | 1 +
    .../boot/dts/rockchip/rk3588-rock-5b.dts | 43 +++++++++++++++++++
    2 files changed, 44 insertions(+)
    create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

    diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
    index 31fa55750a0f..b31aa1b0e9e3 100644
    --- a/arch/arm64/boot/dts/rockchip/Makefile
    +++ b/arch/arm64/boot/dts/rockchip/Makefile
    @@ -73,4 +73,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
    dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
    dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb
    dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb
    +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
    dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb
    diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
    new file mode 100644
    index 000000000000..2a55659bab41
    --- /dev/null
    +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
    @@ -0,0 +1,43 @@
    +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    +
    +/dts-v1/;
    +
    +#include "rk3588.dtsi"
    +
    +/ {
    + model = "Radxa Rock 5B Board";
    + compatible = "radxa,rock-5b", "rockchip,rk3588";
    +
    + aliases {
    + mmc1 = &sdhci;
    + };
    +
    + chosen {
    + stdout-path = "serial2:1500000n8";
    + };
    +
    + vcc5v0_sys: regulator-vcc5v0-sys {
    + compatible = "regulator-fixed";
    + regulator-name = "vcc5v0_sys";
    + regulator-always-on;
    + regulator-boot-on;
    + regulator-min-microvolt = <5000000>;
    + regulator-max-microvolt = <5000000>;
    + };
    +};
    +
    +&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.35.1
    \
     
     \ /
      Last update: 2022-11-21 18:59    [W:6.538 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site