From patchwork Thu Jul 20 13:32:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9854993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 407D5602BA for ; Thu, 20 Jul 2017 13:33:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3136C287B0 for ; Thu, 20 Jul 2017 13:33:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25D3E287AC; Thu, 20 Jul 2017 13:33:46 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 98BD6287AC for ; Thu, 20 Jul 2017 13:33:45 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=qcaKaToVyTS+RVYl5Syv461RQKyaykjKelWd+mnUj98=; b=N3y YPb3VjgHWlnQQDTAimkwnOKlzDr69ac09SrwKGWGQMYXD2UCc0Dz9V/IytOSLu6rn/oFmAup0Gg1K d8G0FhdiEH9Wn95mSF+YobH9yC6dPxa68QL1rakSym2O8jd7ZBYHfenVXx7ZNCO2OAPcnKLnQdFUm 246y6DNkcnwBqcgBSJtbRTF9Viz2ZAGvaDzsI7053uzyhDosws7gHewYkZTvU8rO3MFQEDfiMweIY HsXDQnHz0aMEyQBoky4nDVpSEUC3p9MYaxR7dhdndCdWaporoa4v+oWN+/RAR5ugh9HTOfL+kRwna KmELms1Di+PQCmEOrCGHXCvixp+0eWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYBaH-0001NJ-MI; Thu, 20 Jul 2017 13:33:41 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYBZk-0000iT-KC for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2017 13:33:15 +0000 Received: by mail-wr0-x241.google.com with SMTP id y67so9509252wrb.3 for ; Thu, 20 Jul 2017 06:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=Inkpa+tZ8O34uV66GpsgEUyHQnzS+CjDGzV3vTRgXFQ=; b=n6VzYrFl7Ptyd26Y1E8FOwuZefPIjTy2YDg5IEaj4FrwxjiJ6VgoUFhf8BMedXydHH EsNgKE00MPribSVcKGeXjjx5C1ny/oKk2gIOt7MNFSMHalXrd+bpvbUdMd91bg4IGLOd l61PdGTt2FpG9uZM2xrEALQrjNm4NPANPKymY8Tq7Vkq/c3Q66vhuMVhVH18yR5tF+AH HXI9VfClQ2bs2NdddpMwL689wt9FtNI3qPEgs6sWaT+z/Ap+79lVh+5fDE8HYCb1RoXG 1FJvmGAzZfY94piOoy0L8XpkBpuKEjymNNOxhlzmxDXKLMisspbokZEnxaybKku90dsa V/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Inkpa+tZ8O34uV66GpsgEUyHQnzS+CjDGzV3vTRgXFQ=; b=edkWWiGr24kOt2/5Cja2/FFllZtrOWfnIt8+hKIF9Djw3I955XR3oSxb8up///4D6L OhLOdUG2KyC/HRxX/PVGPbgHXCWKAw8GvOFODpX2IdcjZh7XLjJMMG2DI+iBNFKq1Czu ao7nU+FX4i2fXHaFMm1T+NmnU0+wHmX2TFU1Znhjw8jBLBYtlQZIyfzD1zWM/zY3WAuB d1CLFezTgGKBkQRcm3ktmxuC/VBF17GHSgA4xhRYu1H6jNP87U8Fnim9rdwFrR4G6Snk wMN/oxJC+ja6odxA+koVeL3HYr+jPgXjy80yNB9qjZZIGGRVw0UR4aozmcUHQE1P0Dl7 DqRg== X-Gm-Message-State: AIVw112Ay/xSKQno2/wexvWBUSaPh5v+Ug5RsCkbQW7Mo3mGdN9oyJ7f iWuoQiRziFR/02O7ryM= X-Received: by 10.223.151.135 with SMTP id s7mr3613636wrb.231.1500557566528; Thu, 20 Jul 2017 06:32:46 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e1sm3573332wrc.91.2017.07.20.06.32.45 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 20 Jul 2017 06:32:46 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm: zynq: Add device-type property for zynq ethernet phy nodes Date: Thu, 20 Jul 2017 15:32:45 +0200 Message-Id: <4ad09fa434f85861fd5f2dfcb7780b4076f9c53b.1500557562.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170720_063309_396974_8F332E6C X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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: Mark Rutland , devicetree@vger.kernel.org, monstr@monstr.eu, Josh Cartwright , Sai Pavan Boddu , linux-kernel@vger.kernel.org, Russell King , Rob Herring , Rob Herring , Peter Crosthwaite , Steffen Trumtrar , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= MIME-Version: 1.0 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 From: Sai Pavan Boddu Mention device-type = "ethernet-phy", as qemu will need this in absence of compatible. Signed-off-by: Sai Pavan Boddu Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-parallella.dts | 1 + arch/arm/boot/dts/zynq-zc702.dts | 1 + arch/arm/boot/dts/zynq-zc706.dts | 1 + arch/arm/boot/dts/zynq-zed.dts | 1 + arch/arm/boot/dts/zynq-zybo.dts | 1 + 5 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/zynq-parallella.dts b/arch/arm/boot/dts/zynq-parallella.dts index 64a6390fc501..77f6f10bf685 100644 --- a/arch/arm/boot/dts/zynq-parallella.dts +++ b/arch/arm/boot/dts/zynq-parallella.dts @@ -54,6 +54,7 @@ compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22"; reg = <0>; + device_type = "ethernet-phy"; marvell,reg-init = <0x3 0x10 0xff00 0x1e>, <0x3 0x11 0xfff0 0xa>; }; diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts index 2f99500faae5..a096275d903d 100644 --- a/arch/arm/boot/dts/zynq-zc702.dts +++ b/arch/arm/boot/dts/zynq-zc702.dts @@ -97,6 +97,7 @@ ethernet_phy: ethernet-phy@7 { reg = <7>; + device_type = "ethernet-phy"; }; }; diff --git a/arch/arm/boot/dts/zynq-zc706.dts b/arch/arm/boot/dts/zynq-zc706.dts index 7283037ce9cb..689ec9d6f7b9 100644 --- a/arch/arm/boot/dts/zynq-zc706.dts +++ b/arch/arm/boot/dts/zynq-zc706.dts @@ -53,6 +53,7 @@ ethernet_phy: ethernet-phy@7 { reg = <7>; + device_type = "ethernet-phy"; }; }; diff --git a/arch/arm/boot/dts/zynq-zed.dts b/arch/arm/boot/dts/zynq-zed.dts index 35e631d86b12..c6a5749c8930 100644 --- a/arch/arm/boot/dts/zynq-zed.dts +++ b/arch/arm/boot/dts/zynq-zed.dts @@ -50,6 +50,7 @@ ethernet_phy: ethernet-phy@0 { reg = <0>; + device_type = "ethernet-phy"; }; }; diff --git a/arch/arm/boot/dts/zynq-zybo.dts b/arch/arm/boot/dts/zynq-zybo.dts index e19b58155d82..8b42fb199a8e 100644 --- a/arch/arm/boot/dts/zynq-zybo.dts +++ b/arch/arm/boot/dts/zynq-zybo.dts @@ -51,6 +51,7 @@ ethernet_phy: ethernet-phy@0 { reg = <0>; + device_type = "ethernet-phy"; }; };