From patchwork Mon Jan 28 09:52:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 10783487 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2348591E for ; Mon, 28 Jan 2019 09:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1097C2A618 for ; Mon, 28 Jan 2019 09:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 046F12A7AA; Mon, 28 Jan 2019 09:52:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A1AB82A618 for ; Mon, 28 Jan 2019 09:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f8xmAz5MHufui5scWDe4dCC1WD5WnrEs22CMd2IYVlk=; b=hprgnpA/+Lz5Vt oPsoCk0jMQenGALEDGeB7D/ZSaj3PJqBQ4+Kvfe2JQFI4tnS/EANACzKYWRLZek3y7lW9+jGRcMey 840YPRfKStu8uO/3giJFob9qd7hr81CssOy8aORkwan7ANazN6AN/5vgYLLEdLc+CdK5iwGJquntq 9uMuHkmKWewHEKLcWour9AzLI+wESLRb79nHxrrGccLES4G4j3WwfAGPtCyHDozm/9IJ9v1/Fevvy S/xzll/Wq/7cg5QHyigS0I2J6pyU8aBTjSW/luw5JO5HEEHXZZuu2sh/aX7XxmA/zsWXjOh6FKVkQ ozqE4Vq6PHIRp8zFehGg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1go3ao-0000TJ-TH; Mon, 28 Jan 2019 09:52:38 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1go3aY-0000CU-Ne for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2019 09:52:24 +0000 Received: by mail-wr1-x442.google.com with SMTP id s12so17254491wrt.4 for ; Mon, 28 Jan 2019 01:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KtM62Ad84C4ODh72Krb0FUMdDNSIAS/usrBDZqYXoSY=; b=KIrAinr0qJtIJpI60MufWjCO8qjZXn2uW9YyqMJy7+9hbumW1+FiBQ7A5hdShEL+Gv rWWelW18g+ZFyUKrlMDKSIu093lDLgxRux1fm5mN/Vp7VbLz2FtsMsWXQ7R5m7E8PmkP d93vw+uuiCtTQaV7Z1Jt4EzkFFD9LIeAJSQR5CvKTkgJerGLsLr8OIFZw+RcPOgR6NBD bhjqIX9H2wSDWr8ujyR+JQfvIBO0StQuCgjJ6GHjlqW2Y8jSYztszt0pbvqr55jCCpD4 qSms/fm1D32j5Z+you4/F1aoQkxC5vrU1q4fIBgyR8G9+dBUnkQN9fYsqvfdgQHQbX1N mu7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KtM62Ad84C4ODh72Krb0FUMdDNSIAS/usrBDZqYXoSY=; b=H/gNLPRtFx1dTKVBjVPnHXirfMxTb1k/4eyS46Fj4N0YtvbZmD0aJalkgW8n4U5lj+ +rxTO+dUpu6jtks5+Qngr+9uaHn4HXWqYNucmDKxNy/Xy+FaJe8bZ4bcfvAB6IRSpnGW Bo7kHVu32kltKgYnFzMloPSeRNL8CZJxqppvO85hqMIqHH7WpRLSQl9RJLG+CK4w55kb oOC3zh+l4MG5L5jslIK54mqLTnUfoxzQFbK2d8GfXgp07b6ewTxrcdj3PEoWwSSuuqxm t3G4H/5HBiQUBWBHls2/WCtYOFbDp7NR7rxTNBh5TL47OJwQky+Fj92gaF+fq/GF6uNh fjtQ== X-Gm-Message-State: AJcUukf2am+Z289OpqxZOjfUuR2HuYTHCQMG9ZvjyCS6UUk6qZPljSVm K4N+j8KyV0eXB889bY0LtwbV7Q== X-Google-Smtp-Source: ALg8bN6MuBBH4b3wLTXhUt+RiTBjtHi1mpw3tOXEih3EAm9noUxIeTkcg9WTgR4PE6M51/fLTtzw1w== X-Received: by 2002:adf:82a4:: with SMTP id 33mr19799883wrc.252.1548669141306; Mon, 28 Jan 2019 01:52:21 -0800 (PST) Received: from xps.home ([2a00:23c4:f7a1:ce00:5105:4b7b:c922:7c6]) by smtp.gmail.com with ESMTPSA id y34sm302696099wrd.68.2019.01.28.01.52.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 01:52:20 -0800 (PST) From: Carlo Caione To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] arm64: dts: imx8mq-evk: add missing MDIO / PHY nodes Date: Mon, 28 Jan 2019 09:52:11 +0000 Message-Id: <20190128095212.14681-2-ccaione@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128095212.14681-1-ccaione@baylibre.com> References: <20190128095212.14681-1-ccaione@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190128_015222_764743_CBE31536 X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Populate the fec1 node with the missing MDIO and PHY entries. Signed-off-by: Carlo Caione Reviewed-by: Fabio Estevam Reviewed-by: Andrew Lunn --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 64acccc4bfcb..2641f777d0bb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -37,7 +37,18 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + }; }; &i2c1 { From patchwork Mon Jan 28 09:52:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 10783489 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A64791E for ; Mon, 28 Jan 2019 09:52:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4861A2A7A3 for ; Mon, 28 Jan 2019 09:52:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C6952A7AD; Mon, 28 Jan 2019 09:52:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BB0772A7A3 for ; Mon, 28 Jan 2019 09:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ArULS/YS/r9j84SfagIsyW41ll4O8LanxU9ZgYDrr6k=; b=rwS2amkUMsI/S3 A+q1oqq3jyO//Xe1aeimhX/5ro3mXj7JCsVj+VJ9Q0B7ufeGxIWoQpP5mOYYICS5y/Vmwhx1Ie+8r NFP6PxQIOzrb7u8pfLuJwZEsFHQt0/tRLPk3EI9+RfZZy8pjmOx+E4P6nDZismU21K3R3w+dKcoJP bnRSxKMZfWi9WL62QDNaGsDWWLTPyMbBneLDZJtZ6ybkHroAzXz83M0vMP2CyUQ/DkLdJ6AJz789R Ng8dN+0ulITakQZpVXbRlATnsZgUnPn8CNC2e2QdPVGDNtz6qDgIt2U9EugdUCzmX3+YtwmwKlWtH xwFdlww8lwkNsptH+pPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1go3b4-0000hH-LU; Mon, 28 Jan 2019 09:52:54 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1go3aZ-0000Cs-ML for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2019 09:52:25 +0000 Received: by mail-wr1-x442.google.com with SMTP id v13so17228134wrw.5 for ; Mon, 28 Jan 2019 01:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+Zg9cyWmyqHF4r/UJngOsnfqHjmhh14L3ADETmf6l18=; b=EkiZP7FWBzLqJipKqCdVmvVmwScGDrAvBcw0QQ3WAl6h3vHSHaWbsfA+1ZQB0HsgCo 9ZpAH5KOmYYjquH9baA1VUyWauq1cXNejTbo2tJN81t3wrfZphTpg5Fzi/BwanwxjP5r 2MPkXhrmcB9Nq76p5VORVUhNbQT66lZSRFHvFuNFdYQOqST1ny7OjnvNszbJvmhbD25Q 3eVf1ZcjKYX2Etgfpp9GEErnTcVn5dJbuXCr4m+d8eyMO6cJ3g7S6rhgDz/+W4LzHRkn NhoqdN80JDkGalCtbC/FtQR5ZlshN6NEetqn8Ch42A1xYUcytetkyKphEP/jWG+FS00O GK8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+Zg9cyWmyqHF4r/UJngOsnfqHjmhh14L3ADETmf6l18=; b=WwKL0KPVK2wvtjv82VfYN2Qd464SZBQRPxI+VlJ8Pv7AjmkHp5Ex6nooyYd8o6smyC bYy6g9w51ISVVUukjZfQE6RVgKrstnfEh/kdgRcKBiHT01t9fDBEnT1M/Nz6RyJlasoh 12RqL7UYK75EACgGSWOngb3QvZRUJWaZ/YBwIE5YFmPaaU5D114obmz6Xprg56DTC/pr cM5qYmksZ7+4Zj17cUmHrDd0Cjn9pvl0ua6ykETP7k47QRB3KtTZYnkvernhofNTw686 7FfpsGoCOzEJFa6SujHeImu9BMm7CesiZI1f61QsgKnFrQaFuWY55WrPCdG/Rztsqtkt 9OpQ== X-Gm-Message-State: AJcUukfOvnbEp/8dq34Hq9VhD56rPifd6VKI+ToEIIMfZ1vLJg4eCnmU Dh3q/oiqk1co31s3AaSPQa3QjQ== X-Google-Smtp-Source: ALg8bN7gxnHLKe7d5QwFKuj0giVmw3WnKRu3i+hErDeqCevywcRS7Y7hYtglxtCN2oReJheG9sfW3w== X-Received: by 2002:adf:aa9c:: with SMTP id h28mr20674938wrc.216.1548669142430; Mon, 28 Jan 2019 01:52:22 -0800 (PST) Received: from xps.home ([2a00:23c4:f7a1:ce00:5105:4b7b:c922:7c6]) by smtp.gmail.com with ESMTPSA id y34sm302696099wrd.68.2019.01.28.01.52.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 01:52:21 -0800 (PST) From: Carlo Caione To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: imx8mq-evk: Add fsl,magic-packet property Date: Mon, 28 Jan 2019 09:52:12 +0000 Message-Id: <20190128095212.14681-3-ccaione@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128095212.14681-1-ccaione@baylibre.com> References: <20190128095212.14681-1-ccaione@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190128_015223_776528_2FD8BB06 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the fsl,magic-packet property in the fec nome. Signed-off-by: Carlo Caione Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 2641f777d0bb..02f6da92957f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -38,6 +38,7 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; + fsl,magic-packet; status = "okay"; mdio {