Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3558074iob; Sun, 1 May 2022 22:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziEfO/ySwgpmg09CaILv5wrAg0v8oa1mXdxgu0zpDKEdzhp/3XYkNnWbNp1j21kWrEKbuS X-Received: by 2002:a17:903:1c5:b0:15e:a42b:7b4a with SMTP id e5-20020a17090301c500b0015ea42b7b4amr3620135plh.111.1651469960827; Sun, 01 May 2022 22:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651469960; cv=none; d=google.com; s=arc-20160816; b=KNC3lbbt/9r8XeONYfGgGPVM8x418EsJde8XJcqam2hZDz/z1ki7NtYxInK+bzTsxe wAQ1PqTzlMBPVRgyLL+SqeBcvl5BtzQVtyYJgTJrFTboe98BnAUao2No9x21ABbM3v+8 FLt2db03ybvwBvGeJUpj+wISCUA8S4IlDQ1lywn6U29W08Hf98/0XQYWCG7jbZrEf38e 3qbCpKG/5RwCoFlGrkWZu+9cQXBP+Y4bQojk60VumoRb/V36RWolShzeRE43q0It1hyN WaFf70fP/ut0w+izbBvzukgokH8x6k/iIKZ50iH39qn15uQNZdqg2xbHBQeUv2HcyGta ikWA== 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=UnezEqtW81uRYScNgdjWnbwnsPrhRQ2Cgugk4MmVq4A=; b=XdzDSvL96JmzxDpTdELD5Ia78biaXvUHkRd2XaKeab/rxokS12yVO3lpjWr+b6GOYe lzrg/TrlTkXlvrm21ADLRkaRJeVVrr3CsSpLvIkj0Mky/isr+xBppdkrf2x83K5jVWLO TjOSRBQ1hrCNEPgH0BY3PaSWKDPl5njxUDj6mOo5AqpE9z6VrPdFaihJTprqPZfVZ9fG 6JRYwmbA53xm+PzUuCw0R+oUHWhiTMLqdADzgBG4J1+GecMu80k3nBSLA4BTQrMB8API 0rGsx4BkvTZwLIJZ/Io5OGjfVpGZ2pHWTcsrO58VFtvrNpIkI1VlGVRSSvjpbYb3AWcP kO8g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be3-20020a170902aa0300b00153b2d1663bsi14087082plb.579.2022.05.01.22.39.03; Sun, 01 May 2022 22:39:20 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346878AbiEAMIJ convert rfc822-to-8bit (ORCPT + 99 others); Sun, 1 May 2022 08:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346812AbiEAMIH (ORCPT ); Sun, 1 May 2022 08:08:07 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7202723172; Sun, 1 May 2022 05:04:40 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nl8JX-0005z2-51; Sun, 01 May 2022 14:04:35 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Peter Geis Cc: "open list:ARM/Rockchip SoC..." , Rob Herring , Krzysztof Kozlowski , Johan Jonker , devicetree , arm-mail-list , Linux Kernel Mailing List Subject: Re: [PATCH v2 5/7] arm64: dts: rockchip: add Pine64 Quartz64-B device tree Date: Sun, 01 May 2022 14:04:34 +0200 Message-ID: <1911020.usQuhbGJ8B@diego> In-Reply-To: References: <20220429115252.2360496-1-pgwipeout@gmail.com> <3428030.iIbC2pHGDl@diego> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Sonntag, 1. Mai 2022, 13:48:02 CEST schrieb Peter Geis: > On Sun, May 1, 2022 at 7:31 AM Heiko St?bner wrote: > > > > Am Sonntag, 1. Mai 2022, 09:06:33 CEST schrieb Johan Jonker: > > > > > > On 4/29/22 13:52, Peter Geis wrote: > > > > Add a device tree for the Pine64 Quartz64 Model B single board computer. > > > > This board ouputs debug on uart2 and supports the following components: > > > > Gigabit Ethernet > > > > USB2 x2 (one port otg capable) > > > > USB3 > > > > PCIe/SATA M2 > > > > HDMI > > > > DSI (RPi compatible pinout) > > > > CSI (RPi compatible pinout) > > > > A/B/G/N WiFi > > > > Bluetooth > > > > SDMMC > > > > eMMC > > > > SPI Flash > > > > PI-40 compatible pin header > > > > > > > > Signed-off-by: Peter Geis > > > > --- > > > > arch/arm64/boot/dts/rockchip/Makefile | 1 + > > > > .../boot/dts/rockchip/rk3566-quartz64-b.dts | 615 ++++++++++++++++++ > > > > 2 files changed, 616 insertions(+) > > > > create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts > > > > > > > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile > > > > index 4ae9f35434b8..252ee47b8a1d 100644 > > > > --- a/arch/arm64/boot/dts/rockchip/Makefile > > > > +++ b/arch/arm64/boot/dts/rockchip/Makefile > > > > @@ -59,5 +59,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.1.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.2.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb > > > > +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-b.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts > > > > new file mode 100644 > > > > index 000000000000..184ab7e1d178 > > > > --- /dev/null > > > > +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts > > > > @@ -0,0 +1,615 @@ > > > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > > > +/* > > > > + * > > > > + */ > > > > + > > > > +/dts-v1/; > > > > + > > > > +#include > > > > +#include > > > > +#include "rk3566.dtsi" > > > > + > > > > +/ { > > > > + model = "Pine64 RK3566 Quartz64-B Board"; > > > > + compatible = "pine64,quartz64-b", "rockchip,rk3566"; > > > > + > > > > > > [..] > > > > > > > + > > > > +&mdio1 { > > > > > > > + rgmii_phy1: ethernet-phy@0 { > > > > + compatible = "ethernet-phy-ieee802.3-c22"; > > > > + reg = <0x1>; > > > > > > Hi, > > > > > > The reg value doesn't match the node name. > > > Other 2 boards use "reg = <0>" with label "rgmii_phy1". > > > Could you check? > > > > I do have an older Quartz-B in my boardfarm and in that older > > devicetree the phy-reg also is "0" instead of the "1" used here. > > > > Is that a hardware-change? > > The ethernet maintainers previously brought up that 0x0 is the > broadcast address for the mdio-bus. They requested we put the actual > bus id of the phy even on single phy busses. This is the first one > I've confirmed the bus address on. > > Though I realized ethernet-phy@0 should be ethernet-phy@1 since you > mentioned this. Strange dtbs-check doesn't catch this, would you fix > it in line Heiko no that's ok, I can fix that up. Just wanted to clarify what the intention was first :-) > or do you want another revision? > > > > > Thanks > > Heiko > > > > >