Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8010318ybn; Tue, 1 Oct 2019 01:34:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwL6rfgRq0baWrbE3X4ptWHsXveqGVuJPDnrc/45QKtRmY9ZVsNC+3JAy9m284Wh+oXINjj X-Received: by 2002:a17:906:1c5b:: with SMTP id l27mr23187065ejg.27.1569918846200; Tue, 01 Oct 2019 01:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569918846; cv=none; d=google.com; s=arc-20160816; b=ZUFxA1Fdm61hjtGi7famUw5U+xV/ObZiai73+6lzsLqNvxq4DcdVFxE5kTG0GqHyIL /53kqnvniis1dhtsApH1GDXQ5lM9wn95ssvcDP5l+2PWCb/XSim38ZDyIZ3eMPiIqUd1 OOGP1CiHziy5jAiLK28ul1vGxz63IwbMIWyz+JY6+3ESFF8WyvWf0lv84l/fFk0YSlqf qyL+sFPVcWuEv5qnfc59lxeyb7yJKlPQygFELb0FzSdOtt4dMl/kEMwhtnQsoBK089Pw H19OKLF5GXoJx6MxeLf81V8wTxg79laIrMKajt/uVZcgGOleOOObXbM2cwLd+6QGfeNl 0/bQ== 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=F8rRdQpkEssSj7HYVuFBE+mQqmdR2N3KqpOoSZcct0I=; b=q/GmKsvGOT1sHEVFJlkKSIqykgYL6ZVHKTJrMm/obQ/tLsERQviMv5D0MCA/XWH8tY syv4jliwGJ5FyWSGP4YaS1BYjuvY2FlFxgH/nUH4F492O7qigV1cfvX3wLsc4HKinAKc FpoQNCUOi3l/zQAzyvKvSrVLAywlvvHzkes7e0LHE8QYoqlOt7VOEqJ5T9FrH33WVDme jZBnnAmZvEh140Bh5eI2zciubahDQCh5LS0A/zAveLs9FVKCZTRijSj2YeHQeBRQUAJL JD8NBdVxaF6M4SGA6PJw/C3Hx0IRjNy7Ui//0ysbPf172G/adHNiXjt5PZX4yuxMM7r8 U5Lw== 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 d35si8275807ede.440.2019.10.01.01.33.41; Tue, 01 Oct 2019 01:34:06 -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 S1733084AbfJAIcZ (ORCPT + 99 others); Tue, 1 Oct 2019 04:32:25 -0400 Received: from hermes.aosc.io ([199.195.250.187]:51798 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727361AbfJAIcZ (ORCPT ); Tue, 1 Oct 2019 04:32:25 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 5F36E82B13; Tue, 1 Oct 2019 08:32:20 +0000 (UTC) From: Icenowy Zheng To: "David S . Miller" , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 3/3] arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+ Date: Tue, 1 Oct 2019 16:29:12 +0800 Message-Id: <20191001082912.12905-4-icenowy@aosc.io> In-Reply-To: <20191001082912.12905-1-icenowy@aosc.io> References: <20191001082912.12905-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some of the Pine64+ boards are known to use a batch of broken RTL8211E PHYs. A magic number that is in an undocumented field of a register is passed from Realtek via Pine64. Add the property to apply the hack to the Pine64+ device tree. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts index 24f1aac366d6..4d68f850d03a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts @@ -61,5 +61,6 @@ ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; + realtek,config-magic-for-pine64; }; }; -- 2.21.0