Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2676051pxb; Tue, 23 Feb 2021 12:42:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/JctJofRu1L/LPPqXLVX6JhpTPoaGghpGcNnO3EpvKBXV6kEggNwp8hv3UZTWUB2IDMTK X-Received: by 2002:a17:906:5d06:: with SMTP id g6mr7410009ejt.548.1614112936046; Tue, 23 Feb 2021 12:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614112936; cv=none; d=google.com; s=arc-20160816; b=So+Us+TdhRn3IkZno5szNb+6wu9cr03kFYtO07MDVI/ghK9mtpX8KZEzVSXfE3y1rs Viu1nd0E6l7jcVhAteHMqPuhjTfbJTetdKCPbi45XjZCBu1uJ7Mg0A2+4OJ/7A0WNWiG CMLHDCPiTf/dU7Gmyv0KNiL6o27vgn2DGPFcTV0RRgK+ii2dG9L7yDB7JLiw3nggRrBj NigLJ9qNkgEA7BCtv+uyB8dAKX0JEiVXl+sGgg4+kZ/3xvVEtkAcEfgaUI+oUW7Ll5hp 4hAyynFTZj4dYJjGpTAcY4Xty/5pufRZL/4h4OZIbNYUXniswhdZvabwLssSm9TO6RDm cDCw== 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; bh=0vQ27dUASKrOJkhMYYS/3iSyGsUiCyMPcC2phBINwtM=; b=ER2/cqI12UfA6RF+3nd/NufgDtf+ACgoivavIHr9437clN/ezLEY79DZMWMawVZ9n/ r4NxCxHRz2+weopdyvbLP50O8FohBdlDxrsBs/ELnfa37ujAAHhBZ+nafGgxv9A4JUMS AUR88t6T/6mUHoGVjcLb/54OJZkplLeJxWHAGiw91U9Z5AvdKsCvrWBYlxDU4ZPPA9Qn of4z8AuqYDfJTa5txBdMjQNLLfnlaR93b/MJsjnMnmj2PWGbCmAUA94eRA4xpO5gfRFc /X2RtEGXFclKoz86dDf5fmiBcojRhA6g9aPvjCbr4N0wJhfx8Ne+P2tHXWoVQbDyUA5y 4dJQ== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si2781505edb.526.2021.02.23.12.41.49; Tue, 23 Feb 2021 12:42:16 -0800 (PST) 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233266AbhBWSee (ORCPT + 99 others); Tue, 23 Feb 2021 13:34:34 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45636 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232986AbhBWSed (ORCPT ); Tue, 23 Feb 2021 13:34:33 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 8DE511F44730 Received: by jupiter.universe (Postfix, from userid 1000) id 3259A4800DC; Tue, 23 Feb 2021 19:33:49 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCHv1 2/4] ARM: dts: imx: ba16: improve PHY information Date: Tue, 23 Feb 2021 19:33:44 +0100 Message-Id: <20210223183346.138575-3-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210223183346.138575-1-sebastian.reichel@collabora.com> References: <20210223183346.138575-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PHY voltage supply information fixing the following kernel message: 2188000.ethernet supply phy not found, using dummy regulator Also add PHY clock information to avoid depending on the bootloader programming correct values. The bootloader also sets some reserved registers in the PHY as advised by Qualcomm, which is not supported by the bindings/kernel driver, so the reset GPIO has not been added intentionally. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-ba16.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index 4793ef5171aa..a684d999e605 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -177,6 +177,18 @@ &fec { pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii-id"; status = "okay"; + phy-supply = <®_3p3v>; + phy-handle = <&phy0>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@4 { + reg = <4>; + qca,clk-out-frequency = <125000000>; + }; + }; }; &hdmi { -- 2.30.0