Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1333487rwb; Tue, 27 Sep 2022 11:29:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4DN9Q3kvZ3PjWEE+ENMGamv/9UN9dg/73DaZ/2LbbOSA346wcd2Iz1qz15bxW+tBacdDlT X-Received: by 2002:a65:44c1:0:b0:428:ab8f:62dd with SMTP id g1-20020a6544c1000000b00428ab8f62ddmr25857673pgs.211.1664303385845; Tue, 27 Sep 2022 11:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664303385; cv=none; d=google.com; s=arc-20160816; b=YjRzn7d1VvQAVNcWQ4fmurcHNbphOwuj2YjKzdAQ62Y/DiIgGB0Pi4Ta0ptgA0FCfA KfWaz0mjnGlIIoqPbXJC/RjIelJLB9bnSiVLHoRhL9yGzNYhcqSlVOH10XdkuydNJQ4I lpMFpyMu8CQSGuOtC8TAGYCva5fMK/viJ1BLJ8aYdWy49GxsgBZd17LETIN8vvXEqrsH 2AmgDso+3CM+CAXRhIcc8ddc19O2LWU+Ia/AdyDY6GOCtSAYX4F29gEwztwNJIU+oX65 OlBzVsZy66+SjQEV5WmN7HNpHGR8zu/SuVkS4RHdDA2lJqcP02evUKrUTpfOUM157IXz qKeg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zQLjcgc+6rcODMm7MtDTuTqWrKQTPHzNyf3GpkI6WN4=; b=W1UhW6c0JxRb0G85LDmr+7NL8gcZt06HYEWci+h1XT8h9YSswQ2a+uoYIWaUZBlPkb HY8A+SjiLBTnR0peba5SfYTfLlyfRC/9NPk2vha+CL89aSuV51jvr91s0m8hRR5sSISF Mi2qWr45ENYrelSqs7HXnTYK/lJHn/nYgRwoZroBweTrMpkgXQSyJXLqPX4S1+RFP3FU 1yc0aY75dfGL4kYe7/ULe4Fn8A4GVQuriGFl/cZwlNKTDts2K/5ZRIuA7WzlP3/eSjfC AkEgi8S4czLmHcc6+bPowzJ5Vq9GErmVdYeFCzYZMbUI3S9BMjH4ov4l+JuTKdb7PpsX cZyA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a170902b94400b001787041469bsi2226116pls.281.2022.09.27.11.29.32; Tue, 27 Sep 2022 11:29:45 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233287AbiI0SQG (ORCPT + 99 others); Tue, 27 Sep 2022 14:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233131AbiI0SPs (ORCPT ); Tue, 27 Sep 2022 14:15:48 -0400 Received: from mail-m121145.qiye.163.com (mail-m121145.qiye.163.com [115.236.121.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F24563F27; Tue, 27 Sep 2022 11:15:44 -0700 (PDT) Received: from amadeus-VLT-WX0.lan (unknown [218.85.118.195]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 935608000A3; Wed, 28 Sep 2022 02:15:37 +0800 (CST) From: Chukun Pan To: linux.amoon@gmail.com Cc: heiko@sntech.de, robh+dt@kernel.org, michael.riesch@wolfvision.net, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chukun Pan Subject: Re: [PATCH-next v1] arm64: dts: rockchip: Enable NVM Express PCIe controller on rock3a Date: Wed, 28 Sep 2022 02:15:30 +0800 Message-Id: <20220927181531.5546-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaGklPVhhDGEJLSUNOH0oaS1UTARMWGhIXJBQOD1 lXWRgSC1lBWUlKQ1VDTlVKSkNVSkJOWVdZFhoPEhUdFFlBWU9LSFVKSUtDTk1VSktLVUtZBg++ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Nj46FDo4Lz0hPg44FxM5PBY8 SB0aCyJVSlVKTU1PSEtJTkhDSkxOVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUlK Q1VDTlVKSkNVSkJOWVdZCAFZQUlOSEg3Bg++ X-HM-Tid: 0a8380295c56b03akuuu935608000a3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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 Anand, On 27-09-22, 19:16, Anand Moon wrote: > As per the schematic below pice support with 2 regulators > > VCC3V3_PCIE (SCT2250FPA) > VCC3V3_PI6C_03 (PI6C557-03 is a spread spectrum clock generator > supporting PCI Express and Ethernet requirements) > [0] https://dl.radxa.com/rock3/docs/hw/3a/rock3a_v1.3_sch.pdf Thanks for sharing, I rewrote this patch, can you try again? > No, it did not work on my board, see bool logs. > [0] https://pastebin.com/Lk93VFxg From the boot log, looks like ethernet is broken: mdio_bus stmmac-0: MDIO device at address 0 is missing. rk_gmac-dwmac fe010000.ethernet eth0: no phy at addr -1 Actually I had this problem too, and reusing the "snps, reset" property solved it. What confuses me is am I doing something wrong or there is something wrong with the device tree now? Thanks, Chukun --- Chukun Pan (1): arm64: dts: rockchip: Add PCIe v3 nodes to rock-3a .../boot/dts/rockchip/rk3568-rock-3a.dts | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) -- 2.25.1