Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp820943rwb; Thu, 15 Dec 2022 02:58:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf77p1zYGO/ZrVI+oY4ImUtDVXpQ5OcxpkDPwOlsoTSaWqrM6Ve+CWV0ceNXjWF72KYoKNbx X-Received: by 2002:a17:907:ca2:b0:7c1:26b9:c556 with SMTP id gi34-20020a1709070ca200b007c126b9c556mr19799805ejc.15.1671101903632; Thu, 15 Dec 2022 02:58:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671101903; cv=none; d=google.com; s=arc-20160816; b=Mxgg+a/PB/QBnKnXOuS6BAH68rL+rtoLabQgFUneV1dLR7G4Ewynmcv5tO2RbuzfM7 6UNjARGptGNzsjPgiCQRnmDAmzn6gmiCviV6RPt5ZDHe1wcPPIFH8zea0EjBSR+Khzzx ONaNgpssmvbuXELICMKDSd+yRqjDJSZrnFf7UVn0hQ3xQSv5nQ7z3B2+cUORllHPbuwn MY67zSpCw51LaKrxAhXHxR+EFgjRy/tB0F8q61tdBwO86eIGBzG1Y57WFBb13PF46uYk I277MNnDmp1s6JIYVAtRHwEwRgZDz1RPndMpX5CQxRaH6kiKAOjJxMhL7Z0XKymele+w xhhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=g4OANl98v7AsQNyM9MzFGjzQDPVC11SlfN97nYRM26M=; b=xQ2WvmtnM1hRsBjoHVbhi+3GgM148lUVf2ah+OemEeXtveVQLhHoQhbj8dBjP3xaPS X/EC3uPNtKnwB5Hv6eP9tjIg7fu3mkppyY+inXSFB+4vXMXlHJBHUwN74PjQzYIe//Bt /kKQpzWISJDNbEW/d90jXznnVllh7DMQQLlKUfYIxGfupvMMwTGfdEFRDR4Urr2owxpF rY0Ae1Noftz09F64JJ68ZfHg3e3il+afLw0p49LUZ+qFT6RFDM83IBJ1/ebZ80WPeEq7 FdJcnr9egh2NcRqSklhQPaSqTj7086KI7JwNaOOtI60e3QH2neSD9qcpLvOnkU6pxgzX S6Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=HATD9ebn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb7-20020a170907160700b0078db3762061si6601166ejc.439.2022.12.15.02.58.06; Thu, 15 Dec 2022 02:58:23 -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=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=HATD9ebn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbiLOKqF (ORCPT + 69 others); Thu, 15 Dec 2022 05:46:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiLOKqB (ORCPT ); Thu, 15 Dec 2022 05:46:01 -0500 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E5BF1A23B for ; Thu, 15 Dec 2022 02:46:00 -0800 (PST) Received: by mail-yb1-xb34.google.com with SMTP id g4so2987176ybg.7 for ; Thu, 15 Dec 2022 02:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=g4OANl98v7AsQNyM9MzFGjzQDPVC11SlfN97nYRM26M=; b=HATD9ebn1O4Qe9c48sjUXAUACDR2u0tYEcJ04UcaOb0gqbvdOEQy2WjU0t1s3K2D+d hTGexmJ2/+rL6tOQkJQ/3tejDSjhAmBG8VRo4cm155V0nitfr4/bQmeoNi077uwsxJry Oj18WXHOfkY2k34B49RLNqdRYMEAXcdsm7S9ovabE7u89CgLSVoIfpPVrg4GKeHMdxv8 uU44PZhK8mLJGaxZYdUaW+31l66+FxLUC2QYr2xBEzGB1JRWXSNPhoqSXNyG+xjwEsM+ FFkfBnC5jXmnkDy9HxV6UXMDhr0atuXFz4P1NmkeU4G2NVrRMhOq6k7HLMF2ix5C2L4e mY1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g4OANl98v7AsQNyM9MzFGjzQDPVC11SlfN97nYRM26M=; b=xk4TUMTiCncTW5mCdxVqqUQKI9d9xskTeMsdnB+x1OTBw5JQODT6sGQM536dQrPRYw pjAo5NlDUHZBJkBXi0WebCg/wYQw26pEad5nmhb7y4VcLqcr1sPVnQNuVRoyQfSgO9cO jHzCwki8vUSnXHOOsI3OJZVBIiuJDHMBLwKrntPJxQcXn384pjLKF1b022u5Ae4/BEMU KEshOAVl/VjBpWd8x5rf3ybRiMOEWsAzqWJgXGeV1tErpE+Ab5IhhCtgGnal3ZQQRWgM BVFy8xE4Cdwx6Bg0RPBsHlH4Us4pP1DHQLyEOLu8IX5CJMqTEFGxCn+mnYvzEteb1l1b PbYQ== X-Gm-Message-State: ANoB5pleyuqXJC6PtNaNbgSSEGy2Lg5L/T4Oxpy2PR1JcfQY2Hvodf59 Zx621pQrUMcQkgdZgtrtCMAIh2Y+Y0hvX/JAVUpndA== X-Received: by 2002:a25:8084:0:b0:700:331d:69b4 with SMTP id n4-20020a258084000000b00700331d69b4mr19031068ybk.101.1671101159112; Thu, 15 Dec 2022 02:45:59 -0800 (PST) MIME-Version: 1.0 References: <20221214182247.79824-1-sebastian.reichel@collabora.com> <20221214182247.79824-4-sebastian.reichel@collabora.com> In-Reply-To: <20221214182247.79824-4-sebastian.reichel@collabora.com> From: Jagan Teki Date: Thu, 15 Dec 2022 16:15:47 +0530 Message-ID: Subject: Re: [PATCHv6 3/7] arm64: dts: rockchip: Add base DT for rk3588 SoC To: Sebastian Reichel Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Marc Zyngier , Linus Walleij , Christopher Obbard , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kever Yang , kernel@collabora.com, Yifeng Zhao , Elaine Zhang , Sugar Zhang Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 On Wed, 14 Dec 2022 at 23:53, Sebastian Reichel wrote: > > From: Kever Yang > > This initial version supports (single core) CPU, dma, interrupts, timers, > UART and SDHCI. In short - everything necessary to boot Linux on this > system on chip. > > The DT is split into rk3588 and rk3588s, which is a reduced version > (i.e. with less peripherals) of the former. > > Signed-off-by: Yifeng Zhao > Signed-off-by: Elaine Zhang > Signed-off-by: Sugar Zhang > Signed-off-by: Kever Yang > [rebase, squash and reword commit message] > Signed-off-by: Sebastian Reichel > --- > arch/arm64/boot/dts/rockchip/rk3588.dtsi | 58 + > arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 1703 +++++++++++++++++++++ > 2 files changed, 1761 insertions(+) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3588.dtsi > create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s.dtsi > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/arch/arm64/boot/dts/rockchip/rk3588.dtsi > new file mode 100644 > index 000000000000..d085e57fbc4c > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3588.dtsi > @@ -0,0 +1,58 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. < snip> > + qos_vop_m0: qos@fdf82000 { > + compatible = "rockchip,rk3588-qos", "syscon"; > + reg = <0x0 0xfdf82000 0x0 0x20>; > + }; > + > + qos_vop_m1: qos@fdf82200 { > + compatible = "rockchip,rk3588-qos", "syscon"; > + reg = <0x0 0xfdf82200 0x0 0x20>; > + }; > + > + gmac1: ethernet@fe1c0000 { > + compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a"; > + reg = <0x0 0xfe1c0000 0x0 0x10000>; > + interrupts = , > + ; > + interrupt-names = "macirq", "eth_wake_irq"; > + clocks = <&cru CLK_GMAC_125M>, <&cru CLK_GMAC_50M>, > + <&cru PCLK_GMAC1>, <&cru ACLK_GMAC1>, > + <&cru CLK_GMAC1_PTP_REF>; > + clock-names = "stmmaceth", "clk_mac_ref", > + "pclk_mac", "aclk_mac", > + "ptp_ref"; > + power-domains = <&power RK3588_PD_GMAC>; > + resets = <&cru SRST_A_GMAC1>; > + reset-names = "stmmaceth"; > + rockchip,grf = <&sys_grf>; > + rockchip,php-grf = <&php_grf>; > + snps,axi-config = <&gmac1_stmmac_axi_setup>; > + snps,mixed-burst; > + snps,mtl-rx-config = <&gmac1_mtl_rx_setup>; > + snps,mtl-tx-config = <&gmac1_mtl_tx_setup>; > + snps,tso; > + status = "disabled"; > + > + mdio1: mdio { > + compatible = "snps,dwmac-mdio"; > + #address-cells = <0x1>; > + #size-cells = <0x0>; > + }; One nick with dtbs_check, ethernet@fe1c0000: Unevaluated properties are not allowed ('reg', 'interrupts', 'interrupt-names', 'power-domains', 'resets', 'reset-names', 'snps,axi-config', 'snps,mixed-burst', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,tso', 'mdio', 'stmmac-axi-config', 'rx-queues-config', 'tx-queues-config' were unexpected) Jagan.