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 BEAD8C83F1A for ; Fri, 11 Jul 2025 23:06:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D99EB82B07; Sat, 12 Jul 2025 01:06:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se 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; secure) header.d=kwiboo.se header.i=@kwiboo.se header.b="CLvaY1ri"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E93428277D; Sat, 12 Jul 2025 01:06:29 +0200 (CEST) Received: from smtp.forwardemail.net (smtp.forwardemail.net [149.28.215.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 591E282B07 for ; Sat, 12 Jul 2025 01:06:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=SRS0=2656=ZZ=kwiboo.se=jonas@fe-bounces.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1752275184; bh=hN+k+af4GB096HF9IijSBaVb3JQkWB5ZIkdqr7G3T9U=; b=CLvaY1riLFodFfBgfM/19UyiA2uTYWXfNI7ho5zEW2WbehVabVZpupf45gxczaRB7EMT9cMlF HJdVmyF2JpNXi/E6svm6Gle0d/tNSkaNv3HQiQU63CQ58op08H3at8gdBTSvVKhgE/9dDOjHGP/ uaKYCGwucRuyB6eF4FYnwGPh0gUAgkwtGFUBfPdmx8L52s6OLmujlRr9sACErDWDyVy7ZFx6csT 9XBIIDOkgh20xz8nImVh083jJ8iE+s/nRrhHcNbKfis7WKKJmcV0GZ4ShVn4TRkyalYt7Hws7lk aRRza8CvnJRPIjJj1Z5nVSKivxYYkiGmaeysHhPMb6YQ== X-Forward-Email-ID: 687198ea26dc7c4d255622a3 X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 149.28.215.223 X-Forward-Email-Version: 1.1.6 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Kever Yang , Simon Glass , Philipp Tomsich , Tom Rini Cc: u-boot@lists.denx.de, Jonas Karlman Subject: [PATCH 0/4] board: rockchip: Add Radxa ROCK 4D Date: Fri, 11 Jul 2025 23:06:02 +0000 Message-ID: <20250711230613.217996-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.49.0 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.8 at phobos.denx.de X-Virus-Status: Clean This series add initial support for the Raxda ROCK 4D board, running from SPI flash, booting OS from SD-card and using Ethernet has been tested. It also adds a helper function to read and translate the new bootsource ids reported by the BootROM of RK3576 to help support booting from SPI flash. Kconfig options for PCIe, NVMe and USB has been enabled and tested using latest device tree from mmind/for-next, and should automatically start working once the updated device tree finally reach dts/upstream. This series depends on the "board: rockchip: Add ArmSoM Sige5" [1] series for a clean apply. [1] https://patchwork.ozlabs.org/cover/2110236/ Jon Lin (1): spi: rockchip_sfc: Support sclk_x2 version Jonas Karlman (3): rockchip: spl: Add a read_brom_bootsource_id() helper rockchip: rk3576: Add SPI Flash boot support board: rockchip: Add Radxa ROCK 4D arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 15 +++++ arch/arm/dts/rk3576-u-boot.dtsi | 36 +++++++++++ arch/arm/include/asm/arch-rockchip/bootrom.h | 2 + arch/arm/mach-rockchip/rk3576/MAINTAINERS | 6 ++ arch/arm/mach-rockchip/rk3576/rk3576.c | 23 +++++++ arch/arm/mach-rockchip/spl.c | 7 +- configs/rock-4d-rk3576_defconfig | 68 ++++++++++++++++++++ doc/board/rockchip/rockchip.rst | 1 + drivers/spi/rockchip_sfc.c | 13 +++- 9 files changed, 169 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3576-rock-4d-u-boot.dtsi create mode 100644 configs/rock-4d-rk3576_defconfig -- 2.49.0