Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3099414pxb; Tue, 13 Apr 2021 19:07:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzstOxGyRFixh5SqkpSJ6VnIIvTxz4VozmIVn1yEQa1i5KcV5p9YTJ9OYqGE9f3kXkZAsm X-Received: by 2002:a17:906:5490:: with SMTP id r16mr17048471ejo.352.1618366031876; Tue, 13 Apr 2021 19:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618366031; cv=none; d=google.com; s=arc-20160816; b=CcbmmOwnA2oGznlAqC6brC0pWlWLqysEB2igkogJbG59ChW9APopBKQ0GzPqxUqR7Y Wo72n2LiVqFBfD/7jkrB/E5n8EN9+Tc3SH8botmTisNbbUKHUYWE1UQJajQ1Ga82qQVL IVFxcgwixuQ+9j7sYOe/aucftI28FGPb7LevR7swdFqhUFiLvlab64KJDdwddoAIGqBY tFJbcmWFYXlmZIOptJgKXSgsrgPazttliVo4QBCgXO7lNZhLxdQVP1YerQdnoZNYw69d uBHZze1qkyfHUURpYnMERDF6seLNAF4y4SHKh98narewfABJrxw2rh6yfL+Vhvnx80ki EmqQ== 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 :dkim-signature; bh=k+Vlef7jvOgvilVVGjBjjKMPscsAK3dgpBzI2L4C8Zg=; b=Ruhhqu8v/cy8BgEIHlgvPb2DRv1Dw405ML+xW1AmmE5tYZd35kJdesVzvPWUjbe1mZ EdMCymKYFpJ7PZ2iKo82RldBKaw/TXSaGOzDg8YyvRgNejfMGdqsKb98EQ+D8HxCDyeR mW43l/O9R9oPzt0NLCkaVvJzboIznNZPIj5rUWqew3XUBpaTQr7Bdcsxb4KHi0Kw/lID paKavUHbOsNdOSUYC36zPnS4qE1qcMVmG71bXy0+s8dMWEl7l4OFavM9SiWa1+G/yJpd 0wpnTd/EObhY5URG/upg9d7z/Z+FZg8rpXfSaj5hX+k3RgTOglZ7++5D7W4w3K6Q2P8U LdZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=TSk8y4kR; 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 t16si11618957edr.548.2021.04.13.19.06.48; Tue, 13 Apr 2021 19:07:11 -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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=TSk8y4kR; 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 S1344928AbhDMPeV (ORCPT + 99 others); Tue, 13 Apr 2021 11:34:21 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:53365 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231717AbhDMPeR (ORCPT ); Tue, 13 Apr 2021 11:34:17 -0400 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 56E3F22255; Tue, 13 Apr 2021 17:33:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1618328036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k+Vlef7jvOgvilVVGjBjjKMPscsAK3dgpBzI2L4C8Zg=; b=TSk8y4kR6hjVdj0zQR6KgjryVKO3UJ4ITLsBRmMfIallERiAfi+LIz3poCkZaVsABHVRvn j9eNWnZlML1mHXnRgiuwpIblpcxynPE6f0f76j8EhTnLTyfreuUW2toXMH4bw4+lZbfXhc rQcibQso7EyUpZVGJntDpc8FEg78ihA= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Michael Walle Subject: [PATCH 2/2] arm64: dts: freescale: sl28: fix RGMII clock and voltage Date: Tue, 13 Apr 2021 17:33:49 +0200 Message-Id: <20210413153349.29119-3-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210413153349.29119-1-michael@walle.cc> References: <20210413153349.29119-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During hardware validation it was noticed that the clock isn't continuously enabled when there is no link. This is because the 125MHz clock is derived from the internal PLL which seems to go into some kind of power-down mode every once in a while. The LS1028A expects a contiuous clock. Thus enable the PLL all the time. Also, the RGMII pad voltage is wrong, it was configured to 2.5V (that is the VDDH regulator). The correct voltage is 1.8V, i.e. the VDDIO regulator. This fix is for the freescale/fsl-ls1028a-kontron-sl28-var1.dts. Fixes: 642856097c18 ("arm64: dts: freescale: sl28: add variant 1") Signed-off-by: Michael Walle --- .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts index 6c309b97587d..e8d31279b7a3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts @@ -46,7 +46,8 @@ eee-broken-100tx; qca,clk-out-frequency = <125000000>; qca,clk-out-strength = ; - vddio-supply = <&vddh>; + qca,keep-pll-enabled; + vddio-supply = <&vddio>; vddio: vddio-regulator { regulator-name = "VDDIO"; -- 2.20.1