Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp695886pxj; Fri, 14 May 2021 13:21:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkAAM5cwjQ2aRSLPREJcnWPKZuxUBYY28GPnZdu1O2JrbnLGPqBdF1l8x368mdGm5WkpZ6 X-Received: by 2002:a05:6e02:cf:: with SMTP id r15mr2733054ilq.248.1621023717473; Fri, 14 May 2021 13:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621023717; cv=none; d=google.com; s=arc-20160816; b=QhtlhxdxmKx3UAw04UXLSCcq+7SpXGtPekTS0Lux5UqIi/q4OkyyVaLuIPbY0BMKCc b5DWV75V8OWsApO7AF6oS6K43F49LL1mxaROK/Ux+0DWBzKMu0z751g2k7x0fgSEKoMV LOpjxgWX9eHnkQuqky5axju9jeyhPXj/aQMFrDQeF+PKwe7J0cB/gVoggJJx2nmNVP5y IndjMCNES2YM6Ki9ZYOoR+/v/keLcPBpw3RUF3/hCXhXkBPgdwrWmjHaANAu5eKxJxrj OOdOKN0rCuJ55NZX6Y4kuZ3kdoKNHMMTkbcAPva8caJF5H0H/wUahbooOyddc10bTcCv KIXg== 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=aIH+b0GcZ8y25PBNAB55HaGHxbJE5IpyGf18xNdDBl0=; b=u5fwsqUag8kvyB7rJ6wpNH7F/pMGhnRcwSIOBtwmEah2HK4tb/QKHH8c4xtE3eFbfN BMZ4Juvn6NnMn83iiGJ4JgE7aeXq70b1NXOBtcUQFFkvwKuBJPpTTRdThjzxXh+A/rRz Mv0Y3/TIljtKSp4Q9JkAwMcmhZwMT8ag92ZFQ/juhEGGBaqKld3wJ+xamhXV1rJdvpY2 AUH44UWlav5Og/uMOWlIj+W1V8CtYYQJ/EilZz3e03ba4zlPJZlW52mOhEDhAw4U/Lts 5xW1peJPpmZ+J6SHKsJRsPvp1yMqfXMRmVuQVPfdjfg+sgI9bfWt7f3EuQ7Lm1dJaIa5 3Qiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=OFH22zjE; 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 z8si8805297ilq.2.2021.05.14.13.21.44; Fri, 14 May 2021 13:21:57 -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=OFH22zjE; 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 S232333AbhENS5Q (ORCPT + 99 others); Fri, 14 May 2021 14:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232103AbhENS5N (ORCPT ); Fri, 14 May 2021 14:57:13 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C675EC061574; Fri, 14 May 2021 11:56:01 -0700 (PDT) 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 088D922253; Fri, 14 May 2021 20:55:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1621018559; 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=aIH+b0GcZ8y25PBNAB55HaGHxbJE5IpyGf18xNdDBl0=; b=OFH22zjEuWilKr8OSzP0oNbyyGRH3ZKvAIfVlwEjRYTfeEt3KbXqNEagRxMdL/1Dcub6zp TKctZnFq9e+UhJ/fnmFVEtVx/P5sezfJfKhj+eXfwBeitw6WY0+WQWtmG+KN+7YfmyeNOZ z6vNXuLO1EUhiXvtE49DezxIGVwRXsQ= 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 1/2] arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage Date: Fri, 14 May 2021 20:55:52 +0200 Message-Id: <20210514185553.10095-2-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-var4.dts. Fixes: 815364d0424e ("arm64: dts: freescale: add Kontron sl28 support") Signed-off-by: Michael Walle --- .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts index df212ed5bb94..e65d1c477e2c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts @@ -31,11 +31,10 @@ reg = <0x4>; eee-broken-1000t; 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