Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp695867pxj; Fri, 14 May 2021 13:21:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7QSbnIL+ow1UkPzsMwKx5ekiEE5E5FE8Qv6Yh+8R7BUHRk3CyhR/me6thbFeMaq5X6QB2 X-Received: by 2002:a5d:818c:: with SMTP id u12mr35780760ion.81.1621023716012; Fri, 14 May 2021 13:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621023716; cv=none; d=google.com; s=arc-20160816; b=ZH54/PPW3oByhHchgblzyLdrA7TuyvrJRybl8kPcz1luxJQ3Oq7q5wgIIvlJ6A+mP+ ZE6tmedRf3b5btTgfmMjREYm4LRwn7bnn0vYaRwrcjmRsOYOUHj9/PA3of1urP5qLuS4 o5tspHJAGYNHC5tVjC3TgTEjqEzto4BMvFHuRzsvvBZSwEX95AVDu/r30Ds/zcdTOZh+ sgze47166psLSONp7yyWds17beQzmdZxIcHDmx8y7vZQKR/OO4G27MT12LiB+yx0f7Kk /Wti8VvPJ+Z60eU7xIpUR75xox7vAyH4zdnF7QRc6byRWX44YDx5ZGyX/jTnF8jeZj/B SpyQ== 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=kqJnF0u138hzcQejjMyoHlFqVWebv90Xw25mDTsciCEeuvDBHE+aM6pwSevos2v277 DTKrMuttWNfqbeB4oK4dg3VDHahZ0E1aflJSVMkyt0WZ6WzMqHUixlZfdfbrJCTnCs8p luHOMRQgpTbSamfUgib5QHhd8/akjMB+o9THDeFXKpO7OtB23qBbcnWTt/fO1THGga8E HgPuLQiUkPpQY8ATSXaYRN8H3URz1GLr0cNA3gTK8jp6AB6+3+nn130oDnEIrCKr+KTG fU8M2m2VgJ5EdnoOzOTorUy/0t6sJmaj2oAgjxvd0DhKoX0pndYQPvgqPRw2JWAefHAI oVaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=temU5cA4; 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 e196si8526024jac.30.2021.05.14.13.21.43; Fri, 14 May 2021 13:21:56 -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=temU5cA4; 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 S232185AbhENS5N (ORCPT + 99 others); Fri, 14 May 2021 14:57:13 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:49409 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbhENS5N (ORCPT ); Fri, 14 May 2021 14:57:13 -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 71ADB22256; Fri, 14 May 2021 20:56:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1621018560; 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=temU5cA4euB+8etpqOS7IPN8QBpLP6u4KNpnrSrAHUDNWCmYAC9nyDNdRLRpDmGu7cCtrR mm9SQt4YqribXXekS6sJOPjmx8WXPoVH/MI7w7CysuMdFfLyvSWp4h/RC4HeCUwXIST4Kb pv0+cEv9kS+8BetLr/R6NmAcBM8EMkw= 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 v2 2/2] arm64: dts: freescale: sl28: var1: fix RGMII clock and voltage Date: Fri, 14 May 2021 20:55:53 +0200 Message-Id: <20210514185553.10095-3-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210514185553.10095-1-michael@walle.cc> References: <20210514185553.10095-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