Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F137AC433F5 for ; Mon, 4 Apr 2022 14:24:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A6EBB83AFD; Mon, 4 Apr 2022 16:22:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qy984oBW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9788F836B4; Mon, 4 Apr 2022 16:20:36 +0200 (CEST) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4B0E7839DF for ; Mon, 4 Apr 2022 16:19:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jbx6244@gmail.com Received: by mail-ej1-x633.google.com with SMTP id n6so6227190ejc.13 for ; Mon, 04 Apr 2022 07:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5B4CiSQV2974qIBgdU5Fr31ZAWjQFHKDJU98n0NDJag=; b=qy984oBWXRp3CQymuE6oaGWdTM1SlW5yuVktgQCtbM8StQni8RItOTBXwLAMlB7tj5 UCVOPHsAtAHZN4oW2bRHpfs7B5yrCqvpnTEYbD7mZR2tOhnnq4AEmiGcn0JkwIWyhV3I Wdu/9XDqwaYv8yyA4fTUMm+idOMlHk8cg/ymqCKFIaKR8+CWcidEkw6qgzt3VGcq0JuG cntNSoJuLUkoUCi/D9teeKoA9+wkSSDnJm8bP5Vr1vX4hmRKGkeY0smdquSDtWJedkLj CjO0gGScqm37Y199qizpRSpmhithKCFJeJSN3J2M3rMGzL1fALuLhWhgQlhmOc26v+sM D2ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5B4CiSQV2974qIBgdU5Fr31ZAWjQFHKDJU98n0NDJag=; b=Lf9BNUOXvZ5UftaG+VeZfjaK59kqz3J6k45iya5DnoIuAdDVSroD+Uhu2pG7oi99TO dFpe/wF3cSRKw9QeYWv1XvsVbh6tQnJTAKSsZ8/25phrTLEs3H2ux70g9qFtBFG09KX+ 1t3xgkPhGECWwsxJF9bsAQFQXZsT0QmDDDxG8CZqb8Fqn4EU9LMtXr4HJgB3W+80QLPi TSo5VI8mKdPf6gbI5T1pAWPw+ZxY6F4fjTTjpAt4erysdH6HDp+aJEoxaiOLYJK1Ykjs rPMbGQDve3z+lB3jw4hUMf8wFogQmlgjTeWPegxzebtVAwYZ81J7Rr0O8qaSood58egA 0OyQ== X-Gm-Message-State: AOAM531XvdXQ9p3jXRI6FUodixn6AQZP2BmCUlPDL/xAnHnrzkXqi2U8 U9myIqTO60TXRfTxjmeWyRA= X-Google-Smtp-Source: ABdhPJywX/LPqABBXIy49CJ9ryQCm3lItggmJaWGej0j+jqZRJCToGhyruxWKR7ToN9PDrbJr+9DNA== X-Received: by 2002:a17:907:2cc4:b0:6df:a036:a025 with SMTP id hg4-20020a1709072cc400b006dfa036a025mr289896ejc.554.1649081985694; Mon, 04 Apr 2022 07:19:45 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id rh26-20020a17090720fa00b006e0da7ef847sm4462196ejb.13.2022.04.04.07.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 07:19:45 -0700 (PDT) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, lukma@denx.de, seanga2@gmail.com, u-boot@lists.denx.de Subject: [PATCH v9 13/16] rockchip: rk3066: add Rikomagic MK808 board Date: Mon, 4 Apr 2022 16:19:23 +0200 Message-Id: <20220404141926.6085-14-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220404141926.6085-1-jbx6244@gmail.com> References: <20220404141926.6085-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Signed-off-by: Johan Jonker --- arch/arm/mach-rockchip/rk3066/Kconfig | 9 +++++++++ board/rikomagic/mk808/Kconfig | 15 +++++++++++++++ board/rikomagic/mk808/MAINTAINERS | 6 ++++++ board/rikomagic/mk808/Makefile | 3 +++ board/rikomagic/mk808/mk808.c | 3 +++ 5 files changed, 36 insertions(+) create mode 100644 board/rikomagic/mk808/Kconfig create mode 100644 board/rikomagic/mk808/MAINTAINERS create mode 100644 board/rikomagic/mk808/Makefile create mode 100644 board/rikomagic/mk808/mk808.c diff --git a/arch/arm/mach-rockchip/rk3066/Kconfig b/arch/arm/mach-rockchip/rk3066/Kconfig index 335f49bc55..95d7fc8a29 100644 --- a/arch/arm/mach-rockchip/rk3066/Kconfig +++ b/arch/arm/mach-rockchip/rk3066/Kconfig @@ -1,5 +1,12 @@ if ROCKCHIP_RK3066 +config TARGET_MK808 + bool "MK808" + help + MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, + HDMI and a micro-SD card slot. It also includes on-board NAND + and 1GB of SDRAM. + config ROCKCHIP_BOOT_MODE_REG default 0x20004040 @@ -27,4 +34,6 @@ config TPL_LIBGENERIC_SUPPORT config TPL_SERIAL default y +source "board/rikomagic/mk808/Kconfig" + endif diff --git a/board/rikomagic/mk808/Kconfig b/board/rikomagic/mk808/Kconfig new file mode 100644 index 0000000000..4abad7e750 --- /dev/null +++ b/board/rikomagic/mk808/Kconfig @@ -0,0 +1,15 @@ +if TARGET_MK808 + +config SYS_BOARD + default "mk808" + +config SYS_VENDOR + default "rikomagic" + +config SYS_CONFIG_NAME + default "mk808" + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + +endif diff --git a/board/rikomagic/mk808/MAINTAINERS b/board/rikomagic/mk808/MAINTAINERS new file mode 100644 index 0000000000..b3ef6adb91 --- /dev/null +++ b/board/rikomagic/mk808/MAINTAINERS @@ -0,0 +1,6 @@ +MK808 +M: Johan Jonker +S: Maintained +F: board/rikomagic/mk808 +F: configs/mk808_defconfig +F: include/configs/mk808.h diff --git a/board/rikomagic/mk808/Makefile b/board/rikomagic/mk808/Makefile new file mode 100644 index 0000000000..a4d16884df --- /dev/null +++ b/board/rikomagic/mk808/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-y += mk808.o diff --git a/board/rikomagic/mk808/mk808.c b/board/rikomagic/mk808/mk808.c new file mode 100644 index 0000000000..e0bfc6f331 --- /dev/null +++ b/board/rikomagic/mk808/mk808.c @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0+ + +#include -- 2.20.1