From patchwork Tue Apr 15 05:18:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 14051501 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3215FC369AB for ; Tue, 15 Apr 2025 05:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZDazF46cZbKyM8KoNOdTi+ZFCCKrzpMNUCyS8OukxiI=; b=B/j/kIjW65pAoC pK2A/3VKEWTks2brZZxhbrN8+FAzaX7J49BtqbzCIgBz51UFvDY4s9BX/Yo7kyR7HQ26jXnlcfhDh 3P3ZL+j8PGE5Ho6czSMbdZEVgjefKFXYK4U4rnMvRVpbgixKtv/7EbYj2jIOsFvjT9F/sQEw8JTaw baGF75rUQkw/VM+/rLiDABUULzewGM+Idwg78iFvHK3vD6QjqiieVs9T6o8NbKaH4PhpPzYpjwzyZ qZMRMqlkvOL5TlliSrcr9LHz/DEaWRTg5FrqHEMpGIYrQ/2xKytdtdo+tGyFCddoVVup1mQKNgfBz qzrSCGzxN8W4U0lUfBHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u4YuC-00000004Yuk-18HO; Tue, 15 Apr 2025 05:32:20 +0000 Received: from mail-m49224.qiye.163.com ([45.254.49.224]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u4YhN-00000004XJw-2sSe; Tue, 15 Apr 2025 05:19:07 +0000 Received: from localhost.localdomain (unknown [103.29.142.67]) by smtp.qiye.163.com (Hmail) with ESMTP id 11e6d9647; Tue, 15 Apr 2025 13:18:58 +0800 (GMT+08:00) From: Kever Yang To: heiko@sntech.de Subject: [PATCH v4 0/7] rockchip: Add rk3562 SoC and evb support Date: Tue, 15 Apr 2025 13:18:48 +0800 Message-Id: <20250415051855.59740-1-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlCHkseVk8dTEpJT00eQ0xLTlYVFAkWGhdVEwETFh oSFyQUDg9ZV1kYEgtZQVlKS0hVSUJVSk9JVU1MWVdZFhoPEhUdFFlBWU9LSFVKS0hKT0hMVUpLS1 VKQktLWQY+ X-HM-Tid: 0a9637e2e37803afkunm11e6d9647 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Ogg6Fjo5CDJNLBopGgwjCjg3 CDMKCT1VSlVKTE9PTUJPSE9JT09KVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlKS0hVSUJVSk9JVU1MWVdZCAFZQU9JSEw3Bg++ DKIM-Signature: a=rsa-sha256; b=aqgjzf0YeZvYGty2CdsOQnp7mCSRn3ztKgzIpqn882Rkfvdv/XFgXiMTPO8h/TNVg0DJDZO+Xd5aJp7UieaQKqUZiD5gaAaEPOpbmP/J4xAgK0kxtGFaVaAdYbjnM69LaA4Qgln+GGUQSg+yxD20zafuuF/Xwow3Vag5PLsWcMA=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=kVuF3/DNXF3QjN/z8vNYlHmSLMpNtBoaruzQNxSDhrk=; h=date:mime-version:subject:message-id:from; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250414_221906_430001_7ED95D56 X-CRM114-Status: GOOD ( 14.30 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , ulf.hansson@linaro.org, linux-pci@vger.kernel.org, Shawn Lin , Kever Yang , Finley Xiao , Manivannan Sadhasivam , Shresth Prasad , Jamie Iles , Dragan Simic , linux-watchdog@vger.kernel.org, Rob Herring , Simon Xue , Detlev Casanova , linux-rockchip@lists.infradead.org, Quentin Schulz , Lorenzo Pieralisi , Guenter Roeck , devicetree@vger.kernel.org, Conor Dooley , Yao Zi , Jonas Karlman , Frank Wang , Elaine Zhang , Bjorn Helgaas , Johan Jonker , Wim Van Sebroeck , linux-arm-kernel@lists.infradead.org, Jimmy Hon , Jianfeng Liu , linux-kernel@vger.kernel.org, FUKAUMI Naoki , Diederik de Haas , Andy Yan , Krzysztof Kozlowski Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Patch series V4 remove patches already landed, and remove dts nodes for modules still under review. This patch set adds rk3562 SoC and its evb support. I have split out patches need driver change for different subsystem. And all the modules with dt-binding document update in this patch set do not need any driver change. I put them together to make it clear we have a new SoC and board to use the new compatible. Please pick up the patch for your subsystem, or please let me know if the patch has to send separate. Test with USB, PCIe, EMMC, SD Card. This patch set is base on the patch set for rk3576 evb1 support. V3: https://lore.kernel.org/linux-rockchip/20250227111913.2344207-1-kever.yang@rock-chips.com/ V2: https://lore.kernel.org/linux-rockchip/b4df8a73-58a2-4765-a9e4-3513cb2bc720@rock-chips.com/T/ Changes in v4: - Collect ack tag - remove gmac and otp nodes - remove gmac nodes Changes in v3: - Rebase the change base on rk3576 pcie patches - Collect reveiw tag - Collect the Acked-by tag - remove i2c/serial/spi alias - add soc node Changes in v2: - Update in sort order - remove grf in cru - Update some properties order Finley Xiao (2): arm64: dts: rockchip: add core dtsi for RK3562 Soc arm64: dts: rockchip: Add RK3562 evb2 devicetree Kever Yang (5): dt-bindings: PCI: dwc: rockchip: Add rk3562 support dt-bindings: watchdog: Add rk3562 compatible dt-bindings: rockchip: pmu: Add rk3562 compatible dt-bindings: soc: rockchip: Add rk3562 syscon compatibles dt-bindings: arm: rockchip: Add rk3562 evb2 board .../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/arm/rockchip/pmu.yaml | 2 + .../bindings/pci/rockchip-dw-pcie.yaml | 9 +- .../devicetree/bindings/soc/rockchip/grf.yaml | 7 + .../bindings/watchdog/snps,dw-wdt.yaml | 1 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3562-evb2-v10.dts | 488 ++++ .../boot/dts/rockchip/rk3562-pinctrl.dtsi | 2352 +++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3562.dtsi | 1263 +++++++++ 9 files changed, 4126 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3562-evb2-v10.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3562-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3562.dtsi