Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1722050ybz; Thu, 16 Apr 2020 14:25:14 -0700 (PDT) X-Google-Smtp-Source: APiQypK0Pt4C3jyQBKIDJMCGiLlMCgoVD2/ztnfVT9JkWE+Z4ilaXxTtDJaF5U4JmzHT0hpaxQzP X-Received: by 2002:a17:906:2b96:: with SMTP id m22mr32118ejg.330.1587072313884; Thu, 16 Apr 2020 14:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587072313; cv=none; d=google.com; s=arc-20160816; b=AP+ov/Y1q4jQpLsppTZ/slh5+6+GF65HkkfAjkh/m9g8BNCfNJRa536DuPs/qZ331i jn64JoSrGE+CbJiVFuq0VOEUpB3DNAqzqrFHoXKtLmGOeeA7IkltrwdgNHx5rGdoXY91 u8i3wuyQW/M/7Ezvg9OBuRH8jyhWY3jMdRduLj2bYGTfDurqp7mghOjNoOn43bZIs4R2 i+AzXzfJ5rOD2mtzf27UcLALLFJ/A+BrWr6w6D9vfN3YjMYhMqAqYxzHb61MYg4V1Jpj QmKv3J3MqQTbYW7tVsb/n9phXI9NeTZsPT0nh9bfV+z8octiioxHlWFQKK3pliAfVv8F SRHQ== 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=+0CpUolp99nUV5KXjaXEHVBJofpyKayhYsKWdhpPnfw=; b=LTsEEQ5Ki0Qtiz7aer0S1c+fHn6pZXpsTASYNiXy/7c5nNmsDwkf5hX8xujf7FalTE 5JFKCq2RtpVqXh2SjUbMiJEmhCKHnAkLmKUBO+LvE7cnv5tN58s5oypcDsypzrN5zgj0 Uom21yjPsQEikB9Zhzg/lD5qUJzG5KV3WIpxR87v4fQioWYhejWqU6XLH/Le8oh55OGc rQdjwSzwnHl81tKJDcRdp19CDeOEYnM82qgmswISmbqncUF2f5F5JIaCYrbgXektZJWB 4pOS0b+8LbhlLEsJ38baoCNP/XWlnHI0xTRt+jZvN9YpX/IuzVIt5gchbHjkPeKoHyMi 0hQw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si13035935edr.60.2020.04.16.14.24.51; Thu, 16 Apr 2020 14:25:13 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729409AbgDPS6d (ORCPT + 99 others); Thu, 16 Apr 2020 14:58:33 -0400 Received: from mailoutvs3.siol.net ([185.57.226.194]:32978 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728600AbgDPS6W (ORCPT ); Thu, 16 Apr 2020 14:58:22 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id C3EFA5246A7; Thu, 16 Apr 2020 20:58:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta09.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta09.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AfVCf8zZKDrT; Thu, 16 Apr 2020 20:58:18 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 7F20552469F; Thu, 16 Apr 2020 20:58:18 +0200 (CEST) Received: from localhost.localdomain (cpe-194-152-20-232.static.triera.net [194.152.20.232]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id DEC325246A5; Thu, 16 Apr 2020 20:58:15 +0200 (CEST) From: Jernej Skrabec To: robh+dt@kernel.org, andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com Cc: mripard@kernel.org, wens@csie.org, lee.jones@linaro.org, linux@armlinux.org.uk, davem@davemloft.net, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC PATCH 4/4] arm64: dts: allwinner: h6: tanix-tx6: Enable ethernet Date: Thu, 16 Apr 2020 20:57:58 +0200 Message-Id: <20200416185758.1388148-5-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200416185758.1388148-1-jernej.skrabec@siol.net> References: <20200416185758.1388148-1-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tanix TX6 uses ethernet PHY from copackaged AC200 IC. Enable it. Signed-off-by: Jernej Skrabec --- .../dts/allwinner/sun50i-h6-tanix-tx6.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch= /arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index 83e6cb0e59ce..41a2e3454be5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -12,6 +12,7 @@ / { compatible =3D "oranth,tanix-tx6", "allwinner,sun50i-h6"; =20 aliases { + ethernet0 =3D &emac; serial0 =3D &uart0; }; =20 @@ -39,6 +40,14 @@ reg_vcc3v3: vcc3v3 { }; }; =20 +&ac200_ephy { + status =3D "okay"; +}; + +&ac200_pwm_clk { + status =3D "okay"; +}; + &de { status =3D "okay"; }; @@ -47,6 +56,14 @@ &dwc3 { status =3D "okay"; }; =20 +&emac { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&ext_rmii_pins>; + phy-mode =3D "rmii"; + phy-handle =3D <&ext_rmii_phy>; + status =3D "okay"; +}; + &ehci0 { status =3D "okay"; }; @@ -69,6 +86,17 @@ hdmi_out_con: endpoint { }; }; =20 +&i2c3 { + status =3D "okay"; +}; + +&mdio { + ext_rmii_phy: ethernet-phy@1 { + compatible =3D "ethernet-phy-ieee802.3-c22"; + reg =3D <1>; + }; +}; + &mmc0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&mmc0_pins>; @@ -86,6 +114,10 @@ &ohci3 { status =3D "okay"; }; =20 +&pwm { + status =3D "okay"; +}; + &r_ir { linux,rc-map-name =3D "rc-tanix-tx5max"; status =3D "okay"; --=20 2.26.0