Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3502335pxb; Mon, 24 Jan 2022 10:54:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxB2pWQ2NC/md7tbsPm0KUjIZj1Cm5ZvajifCFbicVdR8efgV7sSgQiRMUBDVVzsH+qzeeJ X-Received: by 2002:aa7:8d99:0:b0:4bb:8e5e:9ae4 with SMTP id i25-20020aa78d99000000b004bb8e5e9ae4mr14926980pfr.68.1643050460712; Mon, 24 Jan 2022 10:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643050460; cv=none; d=google.com; s=arc-20160816; b=FK2wEuiZtn1NzP7fEka8XSQP4p6edh5IWA2I6xluWOtbKCN48j2yphZCKVUGsMK+Bz PU/Jl/ushb1Nf/N4idVNB1/Dn/kf7cbt9pUCx+svLT6HFm3NSwP2Slpz2A4DUZgwNdl/ DxGIrOrrmXEyZ3hmPHsXXVvG1duVxEDVUl1EL7L3DfgJdzOE9tpbA309ahZ2SklqW18P Oz/UKQJjKpHpeNRHOH5PZFURGnU1AjTjI7q6YjJx6Hha+7dw+jie/dG7rIDQDhNiw4kk tFImZMgH4V/DAplysepbVAbvwU581KTFxRjH4ylMA4Iz+8lci0wLlvxPXnpyptbEbVhB pd0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=BVSxDUt+HRWJALRRXctfd2KZ5p7XkZLF7QuDs2BEHqg=; b=QEWQBvR8Ha0AEEZ7Soctm6XkGA/+O3KIQ2kYTfGsg8nlx/Ds3IXM+LHkToemeGHAbq 4/PF89eftWIHwFOcIV4FoQxxOjBPWf4NJKfds8q+/FnrUzAbwDzKsz94l7AOlmcolAXt RoUgZPFDMVcrDnmEkUaAd4nF/hMX3klNFAbG3jd0EXUW26BNJLE03fQrvGF6EHH94llo lpohUPSlz5SCU7T60rCeAsIDcPj1SutnksUbvU4VSmACiHD6G9qzpcBE/ziJoMn2ffG0 Ic9J2BDnjtIKFbByQapIIwS+8O/1gwaEXapkt5pZce/fZLb+kA0k+bGVB74tDGgf6tcb mEng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QUh+1xte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si13393210pff.365.2022.01.24.10.54.08; Mon, 24 Jan 2022 10:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QUh+1xte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242489AbiAXIzi (ORCPT + 99 others); Mon, 24 Jan 2022 03:55:38 -0500 Received: from mout.gmx.net ([212.227.15.18]:38383 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235066AbiAXIzf (ORCPT ); Mon, 24 Jan 2022 03:55:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1643014505; bh=9GE6/HhU03ye1tHqFSMbTSMegWHrLXW6xFPGDsUr8xM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QUh+1xtexuxipdL236MxFYyHzhPxnzCKu96XdjalgAlH630DHbEOqlpnxlwd/fp9c cBgdUqlXrqmRf7bmbPVeB4x1zgX15AUy+8pPamZWjkIuSq5aWekYyiUFWcBxWcCuAX njwz1Li5KYV2K3lM8WT785YI6yoAKRd3Dk9R1Oys= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.245.79.70] ([80.245.79.70]) by web-mail.gmx.net (3c-app-gmx-bs10.server.lan [172.19.170.61]) (via HTTP); Mon, 24 Jan 2022 09:55:05 +0100 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Sascha Hauer Cc: Frank Wunderlich , linux-rockchip@lists.infradead.org, Rob Herring , Heiko Stuebner , Peter Geis , Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Aw: Re: [PATCH v2 2/2] arm64: dts: rockchip: Add Bananapi R2 Pro Content-Type: text/plain; charset=UTF-8 Date: Mon, 24 Jan 2022 09:55:05 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <20220124083102.GW23490@pengutronix.de> References: <20220123135116.136846-1-linux@fw-web.de> <20220123135116.136846-3-linux@fw-web.de> <20220124083102.GW23490@pengutronix.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Je7aAK7RjPFg0XaJcEiMbvJFAZZll0ExxcjcIROYGq8ZJ+yJhJihQ0DH8cXaUjJApV+Sq vtI1A7TR+ffLQap/cfhT093HzRJKZolw/7vnIh2TtHGAooQMcDd1u4Tyxw6k6eWe5fW2/2jcRSX6 +NKoaY/X7gnLUNh4PHOYMgdlTu0Pw2oSNJsuF46ghBkkkRqurG3yj4avwXZxJg+8Rg3sP39vGA1Q +qJZx9kky3hznHpPz01NcySxy7ytuGGHWEZNVSyFUByvzW+uqONUQnVL0bzcesBFxiKgCROgOSG0 aw= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:35Zn1CJ4Kws=:FmdPaVG2vDoyBYTlDJ+9xT mpXPYJicuxSkBD50ZR4K7GG/9pR9hiuV7B44aHcLlIGvRU+fxFK03lJHKWVtSialWwl5zmhx4 YB4X9SxyhadWUYtwHzaEkQIz7S3y7cE12uqFmORT232FGsn+faJTAFwcENzTzSHjxv+tJStDS iUccLfyKO/v3EGrk5UdlJx3hQHV1103cxQC4q8OqQYsZV0umTCMD3K3xZChHE6SMsXC8k3ETU 52zDzHcR8g88vTtxdRS1ZG66hATckhIOfnU/AAM2a5pJELAy5Wo5bQ/TLlrkv53gn5HBwel8G Oi0bbPxw51D+I5U7/pTS2weHFoh4M4gjZUIu03IjAtA5tpWrJvbIQwIzh5otTv30/1DXbZGQu M2Vx1NkCcg53ZGHAvf1sen/I0lsDAaxnoQKPjicUWYxS0e6MODarfTClIL4KUByGXkcMvU+3q m5WLhsU0Vuoy2K6T8eakhmPTU32KP3KH3wYCdSNvmhcDg33v1wXLwIu/eLS05vvmmOPDXoZqL 9XtNZ02P8blO8ICEkRMjK4wq9O8YYV9B1BJAlUBCh1Qhi2rIydH9HA14z62EzjpWl3gSBHHeR ljy27JzOdFgFEsVz6IQqofCuxw0MIBq2CijzPvC41JexzORKTqeP4QIIkiamxuzy/O2UG5ij0 8CONA2uJ8m0pv/LXvmYeBld0DoVBa/JrPvGEyRdYk6m4VeA4XONiKeux/XGauXEEuFk2LzTwu OlTJ4NNZrJmD6VT9cvolNivSh30DtAOO7Rh6JfvGuGZ8C9+4JAneWAKbitkPSRxgWAmT7VJUR RcVA7Ur Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > Gesendet: Montag, 24. Januar 2022 um 09:31 Uhr > Von: "Sascha Hauer" > An: "Frank Wunderlich" > Cc: linux-rockchip@lists.infradead.org, "Frank Wunderlich" , "Rob Herring" , "Heiko Stuebner" , "Peter Geis" , "Johan Jonker" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org= , linux-kernel@vger.kernel.org > Betreff: Re: [PATCH v2 2/2] arm64: dts: rockchip: Add Bananapi R2 Pro > > On Sun, Jan 23, 2022 at 02:51:16PM +0100, Frank Wunderlich wrote: > > From: Frank Wunderlich > > > > This patch adds Devicetree for Bananapi R2 Pro based on RK3568. > > Add uart/sd/emmc/i2c/rk809/tsadc nodes for basic function. > > Gmac0 is directly connected to wan-port so usable without additional > > driver. > > On gmac1 there is a switch (rtl8367rb) connected which have not yet a > > driver in mainline. > > > > Patch also prepares nodes for GPIO header. > > > > Co-developed-by: Peter Geis > > Signed-off-by: Peter Geis > > Signed-off-by: Frank Wunderlich > > --- > > +&gmac0 { > > + assigned-clocks =3D <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>; > > + assigned-clock-parents =3D <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_= MAC0_2TOP>; > > + clock_in_out =3D "input"; > > + phy-handle =3D <&rgmii_phy0>; > > + phy-mode =3D "rgmii"; > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&gmac0_miim > > + &gmac0_tx_bus2 > > + &gmac0_rx_bus2 > > + &gmac0_rgmii_clk > > + &gmac0_rgmii_bus>; > > + > > + snps,reset-gpio =3D <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; > > + snps,reset-active-low; > > + /* Reset time is 20ms, 100ms for rtl8211f */ > > Is this really a rtl8211f? I don't know and it could indeed be a > rtl8211f, I'm just asking because the comment is copy pasted from > the Quartz64 board. i know thats a RTL8211 phy, but i see no additional letter on the chip, ba= sed on shematics it's a RTL8211F-CG > > + snps,reset-delays-us =3D <0 20000 100000>; > > + > > +&mdio0 { > > + rgmii_phy0: ethernet-phy@0 { > > + compatible =3D "ethernet-phy-ieee802.3-c22"; > > + reg =3D <0x0>; > > + }; > > 0 is the broadcast address. I'm not sure if it's a good idea to use it. > There should be another address the phy listens on. took this from the 3568-EVB (like the most parts, as the board is mostly t= he same), and in linux it's the same and working. The switch have also phy= -id 0 on mdio bus #1, are you sure this is invalid? regards Frank