From patchwork Fri May 4 13:56:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 10380771 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 020C56037D for ; Fri, 4 May 2018 14:28:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA545294A3 for ; Fri, 4 May 2018 14:28:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDB0E294A6; Fri, 4 May 2018 14:28:34 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 6CEFC294A3 for ; Fri, 4 May 2018 14:28:34 +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: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=XY0d/Czplbz4LDxEhsEIeDj20gCMPWKyf95LhrsJSvI=; b=VtX9tVrYABVRVD01IlPlsUVzJ5 Jl23IIAB5eEnmVcNfoi7oAfmePLU1C2sOQxRh/RMmngmQtaXa2+QSfkOFg34Xk/24P/kl+gvTrvp4 6b9ttR8pSQpMJF5zPVjjk8CNzLzUd/FIkjtgrwG7svEVH++7Rn/WJyhL/8yfKVPR2hRrVff2ldnZc eVGoZ9sdIM9s8BWQb5kWts7XfsLbZoJuKmb9qW5x5qcfT8umvn7yiWnMLYJaejfR+5xzsLRCWtvyq 2GvDB+12XjXRlJlvVIIoi6DOK9TTzlaF+4zh3BRmNovRo2SwFOwvbHScoY4BsHG2CMwyar1t7Co9a kf3s4weA==; 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 1fEbhE-00056y-NJ; Fri, 04 May 2018 14:28:28 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEbPk-00027S-Ms for linux-arm-kernel@bombadil.infradead.org; Fri, 04 May 2018 14:10:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XHSZhNLk2PcI9nOYQqEtTl80kk8/VbWndQNYIn2TAgg=; b=v47PTZJPYUjRHHVo/XZY0osvp te1luoCPFlrlIUtmjFiLBzqt1LYnguljumSiZrfmS4+S0OazQpu4HJJciLpnY2ZrGYKIEk9p7qedz mHp+EtxlcTht66IsT+/7d8B5tFXG/MXPrVkKH7ov9DUshp5UeO6cPIKXcInb2KW5/d+wCxT42+Q83 3xGfJt0t+LNRYWUb5hCBZvsn2PH3Xb21wiJNsjHHPCU98d3wYe7FnoDNW+qPvWs5914PmxM3403kw nxfYxQ9otLNFCiAPAS0D9D/QmeeDqgjyzW++JuTIn+moZ3XSRx7Gd9BRGiut2ztqMvSTKFyqzYYW8 sljJgw3YQ==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEbGG-0005CX-Q9 for linux-arm-kernel@lists.infradead.org; Fri, 04 May 2018 14:00:39 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id B9B9520A2A; Fri, 4 May 2018 16:00:15 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 871B620A2C; Fri, 4 May 2018 16:00:05 +0200 (CEST) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com, linux@armlinux.org.uk, gregory.clement@bootlin.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com Subject: [PATCH net-next v2 13/13] arm64: dts: marvell: 8040-db: describe the 10G SFP cages Date: Fri, 4 May 2018 15:56:43 +0200 Message-Id: <20180504135643.23466-14-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504135643.23466-1-antoine.tenart@bootlin.com> References: <20180504135643.23466-1-antoine.tenart@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180504_150036_909175_860F19CA X-CRM114-Status: UNSURE ( 9.69 ) 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: ymarkman@marvell.com, Antoine Tenart , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, maxime.chevallier@bootlin.com, nadavh@marvell.com, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com, stefanc@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org 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 This patch adds the SFP cages description for the 10G interfaces in the Marvell Armada 8080 DB board. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index 5689fb23bbab..0a9aeac71614 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts @@ -70,6 +70,14 @@ compatible = "usb-nop-xceiv"; vcc-supply = <&cp1_reg_usb3_0_vbus>; }; + + sfp_eth0: sfp-eth0 { + compatible = "sff,sfp"; + }; + + sfp_eth1: sfp-eth1 { + compatible = "sff,sfp"; + }; }; &i2c0 { @@ -177,6 +185,8 @@ &cp0_eth0 { status = "okay"; phy-mode = "10gbase-kr"; + managed = "in-band-status"; + sfp = <&sfp_eth0>; }; &cp0_eth2 { @@ -303,6 +313,8 @@ &cp1_eth0 { status = "okay"; phy-mode = "10gbase-kr"; + managed = "in-band-status"; + sfp = <&sfp_eth1>; }; &cp1_eth1 {