Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp210939ybd; Sat, 22 Jun 2019 01:36:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhfTzi53265Gj5Mfw7ATmZzTcoxKs9fAVR4A/NQjRICFVry4HnZl0ZT8/fudAEh8BT1Z3e X-Received: by 2002:a17:90a:342c:: with SMTP id o41mr11861082pjb.1.1561192575895; Sat, 22 Jun 2019 01:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561192575; cv=none; d=google.com; s=arc-20160816; b=gYel3XEM9x3zcDDgsGwJV0yd5MoDF8Jdkgk7qB8L18e+/ko55X6lth6G2Ix6O/kmxi Vf3i+Mn1TmjNCtXXgucBPD7wNF4FKXAQ/Lzk5cZCezui1dGC9Movo4CFX6PckqBgOI7C E0+Vb1QyL1Z1BTpIb7qHpf0xVNYlhVtFMDO5rhguyOTm7Oq8FrYQpWgnCc4gfRLZ2Y2N 9UIi3O8/v3n+isylduazplW0Jlr2VrhhKnS6WNYB69QaihwjBMrCMe2NVVm5cm4MpTf4 KbLd6vgG3Ze3kdLw+ZU2OfXywdoLX0Q47nWxixQ14cuyf8+t9gisKD4mZomiNoXzH5uB zULg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TfzUwv/tYbH4vW37jKwzbSvetDqWtMCxLZKN9c9Ro+8=; b=STCBSEnFSeU3V8Jq0gZQmmoGDEC9Nn3SJk/h4NGDRV4oimFhqG1mUtUYAcWmuqsO0R Ugb+HeH5TUZauIuUPETPjgL7DYlMOZ2dj1RBuY4TPxIzKdrGZimAXAr2Q06uRYgI765r 6/fDR5zdkQJqPo3rTRI/EZXENFUPs/gofzzxAZoWh5SXvSEANPo4cBHC3P/NFu4h/zju Eojuk0WojxLSsFZeA9A1PsQ58oERFqZnVC5IgJUBhfxVJ/ycosZGQgXCOKurl3BkPuvi AzWtFUy1tGfIu2RogfrhZt4YTsFoTeKz1xpObnMYeal7AuyhiG4oEUj0r0oT55noQiMx 7oQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si4304061pgq.440.2019.06.22.01.36.00; Sat, 22 Jun 2019 01:36:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbfFVIeF (ORCPT + 99 others); Sat, 22 Jun 2019 04:34:05 -0400 Received: from gloria.sntech.de ([185.11.138.130]:36032 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbfFVIeE (ORCPT ); Sat, 22 Jun 2019 04:34:04 -0400 Received: from p508fd9dc.dip0.t-ipconnect.de ([80.143.217.220] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hebTB-0004tX-Q4; Sat, 22 Jun 2019 10:33:57 +0200 From: Heiko Stuebner To: Katsuhiro Suzuki Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: rockchip: add ethernet phy node for tinker board Date: Sat, 22 Jun 2019 10:33:57 +0200 Message-ID: <1871177.hjLhdHVgcu@phil> In-Reply-To: <20190621180017.29646-1-katsuhiro@katsuster.net> References: <20190621180017.29646-1-katsuhiro@katsuster.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Freitag, 21. Juni 2019, 20:00:17 CEST schrieb Katsuhiro Suzuki: > This patch adds missing mdio and ethernet PHY nodes for rk3328 ASUS > tinker board. > > Signed-off-by: Katsuhiro Suzuki just for my understanding, which problem does this solve? Normally the gmac can establish connections just fine on the rk3288 by probing the phy in the automatic way. And I also don't see any additional properties like phy interrupt line below. Thanks Heiko > --- > arch/arm/boot/dts/rk3288-tinker.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3288-tinker.dtsi b/arch/arm/boot/dts/rk3288-tinker.dtsi > index 293576869546..3190817e8d5d 100644 > --- a/arch/arm/boot/dts/rk3288-tinker.dtsi > +++ b/arch/arm/boot/dts/rk3288-tinker.dtsi > @@ -117,6 +117,7 @@ > assigned-clocks = <&cru SCLK_MAC>; > assigned-clock-parents = <&ext_gmac>; > clock_in_out = "input"; > + phy-handle = <&phy0>; > phy-mode = "rgmii"; > phy-supply = <&vcc33_lan>; > pinctrl-names = "default"; > @@ -127,6 +128,17 @@ > tx_delay = <0x30>; > rx_delay = <0x10>; > status = "ok"; > + > + mdio0 { > + compatible = "snps,dwmac-mdio"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + phy0: ethernet-phy@0 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0>; > + }; > + }; > }; > > &gpu { >