From patchwork Mon May 27 06:39:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1939651 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20230601.gappssmtp.com header.i=@edgeble-ai.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=Ynb5ZX91; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VnmGG1xCvz20Pq for ; Mon, 27 May 2024 16:39:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E6D0788168; Mon, 27 May 2024 08:39:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai 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=edgeble-ai.20230601.gappssmtp.com header.i=@edgeble-ai.20230601.gappssmtp.com header.b="Ynb5ZX91"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D98728816A; Mon, 27 May 2024 08:39:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) (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 8241D88167 for ; Mon, 27 May 2024 08:39:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@edgeble.ai Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-24ca3acb835so1100992fac.3 for ; Sun, 26 May 2024 23:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20230601.gappssmtp.com; s=20230601; t=1716791966; x=1717396766; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nv93Av15zBEdqWdUWJ5T1yIkKIcGnzFoza9jBVRxPTM=; b=Ynb5ZX91fGM5uPZHTETnfeLIkmdZX9n10gj3qPKtPpk81eLdJgn/cFSPa9VIpGkkar 5iKswd4cuMiIIhBn85vdswkcBZnyCkO8sDW/A8hhyL+E0f5Cwt2En3KtnYVxsUuLyTBt HJaDDpB/MoCCXPDr3Z6xcha4eaiW3IqhMjOTMMSkc1CvzwB33ILicgfr35UtIFkvsRkE Q/xAxmUYWjE3+sSIQI8RpJIn47qFHPYGLlgpdXNYJzKTEXjevlb1tHgBMPA2gnz+bhRm pmLbViSGamWN0wle3FjHRfcTakZPXiRn27gmKCHg2UIRsJrt/YO+zhewds5q3bzFBbuP Gw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716791966; x=1717396766; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nv93Av15zBEdqWdUWJ5T1yIkKIcGnzFoza9jBVRxPTM=; b=NmuH7GG6fMR0JO0gIjNnBBtWSybku7jGTEimVUX45CIAi6S2xRWzQ5gLMo5mTV+Uf1 hGmYUL8Cir73QMjPsLKngIGH9CdGLq6Rv2L41JH78SlGFXqihlsTdefoPvsrv6lMVkYr eW9v7jyl9/jICeHXj4XYMLBQFgTwWTAjqTGcWaL2zSPUNdgc6//zFI6QT7Q+UUyRbpf9 LsX7rx/pOvga6tTSADONX25c6LVaKOr+0zWTXGP5iEqMlDfo4mh9K25oe6ycquM2RMWc onVPHc8qNg2rhile5X0K7iVGjYimVyMt2/DCz3hJS3Py+G5QYIq/JfmxQNH5JZJz9CGs afdA== X-Forwarded-Encrypted: i=1; AJvYcCV3UWAkX+8hLCuO5Il7E0QzLOZ+/9s5u3EnFROxsCnSmSnfO/MSlEW1Z2TA7RBDslbJoXBgPN0ba3c4p/cbhATmezW7Fg== X-Gm-Message-State: AOJu0Ywn5Fw2in0ez4Q/mjs9cGNcSG4nuSzErNTWt/x2ckb8gWa9dRtv izvUkC8oM4ke4UtIj1n+/V1jIb7qEMUHmFJx6T61pGbEV+Op+0X3THSl6EwE5wA= X-Google-Smtp-Source: AGHT+IH93YNs5LfpW6Tn3wFromARVhH98QdarTym2zsK6FDRVHcYwiL6g00SvEqU3yH48Zj5Ny3O9A== X-Received: by 2002:a05:6870:828e:b0:24d:2d66:f07b with SMTP id 586e51a60fabf-24d2d66f15bmr7119905fac.19.1716791965911; Sun, 26 May 2024 23:39:25 -0700 (PDT) Received: from tops-ThinkPad-E14-Gen-5.. ([103.217.239.66]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fc0599f3sm4283664b3a.53.2024.05.26.23.39.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 23:39:25 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass , Jonas Karlman Cc: Anand Moon , u-boot@lists.denx.de, Jagan Teki Subject: [PATCH 1/2] arm64: dts: rockchip: Fix spl-boot-order for edgeble-ncm6b Date: Mon, 27 May 2024 12:09:14 +0530 Message-Id: <20240527063915.6205-1-jagan@edgeble.ai> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Edgeble NCM6B SoM has built-in eMMC so make sdhci has first boot priority. Fix it for NCM6A, NCM6B SoM. Signed-off-by: Jagan Teki Reviewed-by: Anand Moon --- arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 6 +----- arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi | 11 ++++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi b/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi index dd0058262b..88f3f7eee2 100644 --- a/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi +++ b/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi @@ -6,12 +6,8 @@ #include "rk3588-u-boot.dtsi" / { - aliases { - mmc0 = &sdmmc; - }; - chosen { - u-boot,spl-boot-order = &sdmmc; + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; }; }; diff --git a/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi b/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi index a45b3f5e86..289578803e 100644 --- a/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi +++ b/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi @@ -6,11 +6,12 @@ #include "rk3588j-u-boot.dtsi" / { - aliases { - mmc0 = &sdmmc; - }; - chosen { - u-boot,spl-boot-order = &sdmmc; + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; }; }; + +&sdmmc { + bus-width = <4>; + status = "okay"; +}; From patchwork Mon May 27 06:39:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1939652 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20230601.gappssmtp.com header.i=@edgeble-ai.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=lf4sxChb; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VnmGV3MScz20Pq for ; Mon, 27 May 2024 16:39:46 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6C3B888231; Mon, 27 May 2024 08:39:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai 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=edgeble-ai.20230601.gappssmtp.com header.i=@edgeble-ai.20230601.gappssmtp.com header.b="lf4sxChb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0585788167; Mon, 27 May 2024 08:39:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 6B2968820B for ; Mon, 27 May 2024 08:39:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@edgeble.ai Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6fdfee2734aso1017431b3a.0 for ; Sun, 26 May 2024 23:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20230601.gappssmtp.com; s=20230601; t=1716791970; x=1717396770; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DP2JK9ufxRkWpzKXl3le6ahk5SIXIkjeY2ia2d4GDTc=; b=lf4sxChb0BkulzxRGRDiWu2Mq6nR46rzhaPGWbrCuNTkkl9i3aFGm6/n55cfasrIil OkYeJ2y5siXSegasn0dnaZNT+3dTKwg5Dd9N/6wWg/ZUAwJoiMcWwCIWe2gbPTQMQhcQ aT3wS4d66XK10bOB3+dHMDod7awFcyRdPppnduSRS3ZE44yxfuEJm6RSk0aQ2f94DIoA kKbXI6dyz/l2Z8NkFWzJBSMvF+AjDvDr/Qk0AN3TF1MH9KfeTSsXDiCd38IAyo+uGKft WQnGfVV7BCaHTFUAGknjbJ97memE1lUZqgxU3qKpnL18fGUHTOFjT/x8eIQpzf19R+Xa 4YuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716791970; x=1717396770; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DP2JK9ufxRkWpzKXl3le6ahk5SIXIkjeY2ia2d4GDTc=; b=oDVPcuANpDa2NWVjLHQyGd0/avSetoltn7xL5vO71wVJjnssfiyyeBqVU4SEqM+7LZ pIH7+roJRH02sfNDHspxiCe4O7Uo98R/1vI8/U9XO7vGlJAOsHmyfSMc6uiuVnN1n47l E4IfOR3Mo89Dm0gmKV4XysHrjbtLo2w9bQ3lKVMYrQvYJw59hP0NIYMPFAaJZIETCgzp /tupXwgwo8YRoRF75D06T8TSHohixHr/CFJVOv/wymYOAQcmKGyyCbd+0vlTPIwJqytN 9sYGgXd2dW4qAuXwV4AkyNEWztXCLESL4cm1vmfI8mCWI/IpRlL0Hh+h19HrXhZuHQg/ W8pg== X-Forwarded-Encrypted: i=1; AJvYcCXPUWE4sCIPDTuN07tUPmHRVmwLCJtFaIgHLKii2Wck/+bQXhznD1SfSOddHVDViPtlnz49gMuZnbYdWQybYLISLrCT7Q== X-Gm-Message-State: AOJu0Yy7WAWBCjdaowepcr3Xrh8cpeGHkZU17MVofE42zW9w4Ll9EQNx R2xcMaDYflg1SReqicvuIGMyeSsRwJf2b0t20p1/eSSDjf+7fzC8v+Bo1EoPrPk= X-Google-Smtp-Source: AGHT+IEsLWeHpWrUy/xxXvJasBXOzfN1VxUUiksC6cMuYpzLvj+qay21/FE+SNtTMAEnVKnZcnfCNQ== X-Received: by 2002:a05:6a20:158d:b0:1af:baf9:feee with SMTP id adf61e73a8af0-1b212d37083mr8989982637.26.1716791969609; Sun, 26 May 2024 23:39:29 -0700 (PDT) Received: from tops-ThinkPad-E14-Gen-5.. ([103.217.239.66]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fc0599f3sm4283664b3a.53.2024.05.26.23.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 23:39:29 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass , Jonas Karlman Cc: Anand Moon , u-boot@lists.denx.de, Jagan Teki Subject: [PATCH 2/2] rockchip: rk3588-edgeble: Add USB OTG support Date: Mon, 27 May 2024 12:09:15 +0530 Message-Id: <20240527063915.6205-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240527063915.6205-1-jagan@edgeble.ai> References: <20240527063915.6205-1-jagan@edgeble.ai> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Add support for USB OTG with UMS to program eMMC. Add it for Edgeble NCM6A, NCM6B. Signed-off-by: Jagan Teki Reviewed-by: Anand Moon --- .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 18 ++++++++++++++++++ .../dts/rk3588-edgeble-neu6b-io-u-boot.dtsi | 18 ++++++++++++++++++ configs/neu6a-io-rk3588_defconfig | 9 +++++++++ configs/neu6b-io-rk3588_defconfig | 9 +++++++++ 4 files changed, 54 insertions(+) diff --git a/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi b/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi index 88f3f7eee2..534d9f8a2c 100644 --- a/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi +++ b/arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi @@ -15,3 +15,21 @@ bus-width = <4>; status = "okay"; }; + +&u2phy0 { + status = "okay"; +}; + +&u2phy0_otg { + status = "okay"; +}; + +&usbdp_phy0 { + status = "okay"; +}; + +&usb_host0_xhci { + dr_mode = "peripheral"; + maximum-speed = "high-speed"; + status = "okay"; +}; diff --git a/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi b/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi index 289578803e..b3d17a60ce 100644 --- a/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi +++ b/arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi @@ -15,3 +15,21 @@ bus-width = <4>; status = "okay"; }; + +&u2phy0 { + status = "okay"; +}; + +&u2phy0_otg { + status = "okay"; +}; + +&usbdp_phy0 { + status = "okay"; +}; + +&usb_host0_xhci { + dr_mode = "peripheral"; + maximum-speed = "high-speed"; + status = "okay"; +}; diff --git a/configs/neu6a-io-rk3588_defconfig b/configs/neu6a-io-rk3588_defconfig index ac281e6539..6e50d06458 100644 --- a/configs/neu6a-io-rk3588_defconfig +++ b/configs/neu6a-io-rk3588_defconfig @@ -24,6 +24,7 @@ CONFIG_SPL_PAD_TO=0x7f8000 CONFIG_SPL_ATF=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_SETEXPR is not set # CONFIG_SPL_DOS_PARTITION is not set CONFIG_SPL_OF_CONTROL=y @@ -33,6 +34,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y CONFIG_SPL_CLK=y +# CONFIG_USB_FUNCTION_FASTBOOT is not set CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_MISC=y @@ -42,6 +44,8 @@ CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_USBDP=y CONFIG_SPL_PINCTRL=y CONFIG_PWM_ROCKCHIP=y CONFIG_SPL_RAM=y @@ -49,4 +53,9 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_ERRNO_STR=y diff --git a/configs/neu6b-io-rk3588_defconfig b/configs/neu6b-io-rk3588_defconfig index c01e5fb0d0..f2eb650f19 100644 --- a/configs/neu6b-io-rk3588_defconfig +++ b/configs/neu6b-io-rk3588_defconfig @@ -24,6 +24,7 @@ CONFIG_SPL_PAD_TO=0x7f8000 CONFIG_SPL_ATF=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_SETEXPR is not set # CONFIG_SPL_DOS_PARTITION is not set CONFIG_SPL_OF_CONTROL=y @@ -33,6 +34,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y CONFIG_SPL_CLK=y +# CONFIG_USB_FUNCTION_FASTBOOT is not set CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_MISC=y @@ -42,6 +44,8 @@ CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_USBDP=y CONFIG_SPL_PINCTRL=y CONFIG_PWM_ROCKCHIP=y CONFIG_SPL_RAM=y @@ -49,4 +53,9 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_ERRNO_STR=y