Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8995610rwb; Thu, 24 Nov 2022 06:52:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MHyp5eaJnzbY2Zf6Wdhl7A4xZmLYr3TCCpe3KnBBjMf86q/Q4IuICWlqbHR2qg5ue0ypL X-Received: by 2002:a17:90a:5d08:b0:218:770c:9a40 with SMTP id s8-20020a17090a5d0800b00218770c9a40mr18796557pji.158.1669301550155; Thu, 24 Nov 2022 06:52:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669301550; cv=none; d=google.com; s=arc-20160816; b=fvJDqZuvEo1MbSMJDQbqS8aRegyjQ2g79gcOTKVDJhdp0d4sYbRkGZil4DpNxMWT1B V7cd2Zh8FMvbDCkSDK3xHBha791Q7LUwK0cewymS8J4m3cHg6FVfBHkbY7L5P1khG4gw SXvCOKhP/WFHLuAPtVIhQ0e50c/2gOXCTro+tWupMzjk6AUTo4F87pqLYwPCNwI+EhA5 BAkOhdme1bTO+cep1BZa/BOUMOjhu7fD8463wFQQtMUuM4t8K2nBWunSihSSTaBuDwD/ xxMI1VHssaKYClUWsaLJzKExa/IU8rPawNPcG6umOWJcMuvY6N1aIyU9VgmZjX8FNu8y wc0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8+xPAuSIm7sn1g5dyzUce5QkctDmHAfczQtJaKhdwDg=; b=iuv7GDqapDRn8FizDSqOS89ujVX1XXid6OeH+ZZ4f781aNmZGV4FI1pB4Uf4Z7dbBs cEwjLIZS8YV9DCqY0F4giGPhWJkei4N3E4Clv/yleicYQVbo8YNvojvV6cj3+ZoMR98l yqVs+DHzGIuC4mdQbqHIKJCArOKWy/odRfMIFBRjNbCPVF7RrWbHtMcEh+a+AwtptuAD pHkuz2e+vK7+yTPvUUsOAp+OnB97sZY+2w6j7eDAAfCm9hAurnD+WCojZOJ6gnH+YHAa +BXcgU8FaeAiGRkmneXSWLBU2+fdhXqtcmrr5TEDLMoOzt1sMGTlI93Tv+fJofz/Wrf3 w3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jL07reJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a63ef46000000b0047771668718si1441740pgk.479.2022.11.24.06.52.19; Thu, 24 Nov 2022 06:52:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jL07reJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbiKXOtr (ORCPT + 87 others); Thu, 24 Nov 2022 09:49:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbiKXOtf (ORCPT ); Thu, 24 Nov 2022 09:49:35 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF4A0100B2C; Thu, 24 Nov 2022 06:49:33 -0800 (PST) Received: from jupiter.universe (dyndsl-095-033-156-095.ewe-ip-backbone.de [95.33.156.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id AB21D6602B31; Thu, 24 Nov 2022 14:49:31 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1669301371; bh=yBh0Wx9DXuTVRgMWeBdTO0zin0IJINi2hEYO9Xdv17k=; h=From:To:Cc:Subject:Date:From; b=jL07reJAZiRz+S8Ft122TMBUINA4UMACpDLXzzOsGaz/GShghEC38od8rD3nU+Et2 asU/q/gB7ymheXk08wZpCCI83OgsA1tTcQqcjPw5oAykQwQ9XDEHV8nhhCuzWYAeD9 wECjS4J1XKt1FBmFPagK123NSJ9gkHhbGwStHT9Y6Go9YJCW/onSpwzR1/ctHMaOFa iahOMTOjZot2ZXNdF7n/wHjjOLlQsQF9VvpIkh6/3Pd0eVFRTndPaWeaPpdEYluKqq Gr5D4DGqW18SpcaJCo3+5g3Ye6IU5+Hgv9Oa3VxJrOK+9e+/15EsueU1o+ZUjb86qw G9Mjfm0j9MSGg== Received: by jupiter.universe (Postfix, from userid 1000) id 583A8480117; Thu, 24 Nov 2022 15:49:29 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Linus Walleij , Christopher Obbard , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv4 0/7] Initial rk3588 DT Date: Thu, 24 Nov 2022 15:49:21 +0100 Message-Id: <20221124144928.35381-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This adds initial rk3588(s) DT including two different board devicetrees. All required driver changes have been merged into the respective maintainer trees. There is one warning from the DT check: $ make CHECK_DTBS=y rockchip/rk3588-evb1-v10.dtb rockchip/rk3588s-rock-5a.dtb DTC_CHK arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb /home/sre/src/collabora/rode/linux-rockchip-upstream/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb: ethernet@fe1c0000: Unevaluated properties are not allowed ('interrupt-names', 'interrupts', 'mdio', 'power-domains', 'reg', 'reset-names', 'resets', 'rx-queues-config', 'snps,axi-config', 'snps,mixed-burst', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,tso', 'stmmac-axi-config', 'tx-queues-config' were unexpected) From schema: /home/sre/src/collabora/rode/linux-rockchip-upstream/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml This is for gmac1. gmac0 has the same properties and there is no warning. Also rk3588s (and thus the Rock 5A) has only gmac1 and there is no warning for the Rock 5A. It looks like for some reason the referenced "snps,dwmac.yaml#" is only checked for the first node. I think it's a bug in dt-validate. Also the same issue can be seen with rk356x. Changes since PATCHv3: * https://lore.kernel.org/all/20221121175814.68927-1-sebastian.reichel@collabora.com/ * update reset gpio + timings in EVB1 and Rock 5A DT to new style * change regulator- prefix to -regulator suffix in EVB1 and Rock 5B DTB * merge dt-binding update patches for EVB1, Rock 5A and Rock 5B and add Krzysztof's Ack * change pinctrl name "active" to "default" for all PWM nodes * remove aliases from rk3588s and rk3588 DTSI * sort includes in rk3588s.dtsi * add dma names for uart * some more property order fixes * remove #power-domain-cells for the power-controller sub-nodes; only the main node should be referenced * add dynamic-power-coefficient and #cooling-cells for all CPU cores Changes since PATCHv2: * https://lore.kernel.org/all/20221115161702.163057-1-sebastian.reichel@collabora.com/ * add minimal Radxa Rock 5B DT * Add aliases for i2c, spi and gpio in rk3588s.dtsi * Fix ethernet-phy node name and remove #phy-cells * Sort nodes / includes in both boards * Sort nodes in rk3588s.dtsi according to register address * add missing spi4 node in rk3588s.dtsi * split board specific dt-bindings into their own patches * add board specific mmc alias following the downstream enumeration Changes since PATCHv1: * https://lore.kernel.org/all/20221108171500.99599-1-sebastian.reichel@collabora.com/ * Drop Acked-by from Krzysztof * Add 'regulator-' prefix to VCC12V VCC5V0 regulators * Change 'Radxa Rock 5A' to 'Radxa ROCK 5 Model A' in DT binding * Update cover-letter (clock driver and some DT binding fixes got merged) -- Sebastian Christopher Obbard (1): arm64: dts: rockchip: Add rock-5b board Jianqun Xu (1): arm64: dts: rockchip: Add rk3588 pinctrl data Kever Yang (2): arm64: dts: rockchip: Add base DT for rk3588 SoC arm64: dts: rockchip: Add rk3588-evb1 board Sebastian Reichel (3): dt-bindings: soc: rockchip: add initial rk3588 syscon compatibles dt-bindings: arm: rockchip: add initial rk3588 boards arm64: dts: rockchip: Add rock-5a board .../devicetree/bindings/arm/rockchip.yaml | 15 + .../devicetree/bindings/soc/rockchip/grf.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 3 + .../boot/dts/rockchip/rk3588-evb1-v10.dts | 156 + .../boot/dts/rockchip/rk3588-pinctrl.dtsi | 516 +++ .../boot/dts/rockchip/rk3588-rock-5b.dts | 44 + arch/arm64/boot/dts/rockchip/rk3588.dtsi | 58 + .../boot/dts/rockchip/rk3588s-pinctrl.dtsi | 3403 +++++++++++++++++ .../boot/dts/rockchip/rk3588s-rock-5a.dts | 63 + arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 1672 ++++++++ 10 files changed, 5935 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3588.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s.dtsi -- 2.38.1