From patchwork Fri May 4 13:56:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 10380687 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 C34966037D for ; Fri, 4 May 2018 14:12:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A327D29479 for ; Fri, 4 May 2018 14:12:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9768D2947D; Fri, 4 May 2018 14:12:08 +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 0319929479 for ; Fri, 4 May 2018 14:12:08 +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=91teIUS8vXPji/ItQ3I0DJpUdtngQko4CBlhDxeYiT8=; b=Ib9HFM4HfdZDeJL3gqej8OfW29 SAC3VTxYgeW9xb3LlBn7prYyuAMUpql+akMPV5QvwUek3fsGA00fpQYY4HW1ZJgyvR7+TESus6d03 kUHZEZKy5AjgwLounwQJwU80wJwZxn2JCb2jOBatUV4bYOMe+GZEQJeyvyVnZ19FEMBFn+cCj0RDR LwqR2zVnZX02+XzhiFLGDAzUwxLHCM50K3lfv5Vvl3Mro3oJkbovK2MwITBgxAtG/RlhBsqtmR1Br Fr8TxLSiAujrRM/1sm7DuFgBLtX0ahK9n7ji87d0EQOc9mUUJftKMJW0YNGk3eGK41I7N98YgoZNO +kKEaVcg==; 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 1fEbRI-00032U-9j; Fri, 04 May 2018 14:12:00 +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 1fEbPj-0000im-R4 for linux-arm-kernel@bombadil.infradead.org; Fri, 04 May 2018 14:10:23 +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=kfEh41QUAd62Lso2ZpCsqXmNwSjzpwMA9XsMnN+R4Qg=; b=rsieeNfnWeZpdiXIWTDRwABvr Kvfdx45kR8BpgCc69JFkm3MBRhysA2OppWcKu4+GlGZ/IUXH6sIRjwYn9VUY7NragZo2prBnslNZg YWlPGNNti0phuDHUTFCpmhNiVfvfCmc15NDXPZWDs7r3gH0/vYKjPvCRnQTqTxMxaLtpOFfAD4AhX E3a4lKby4bTj29hv2hWVHI+zG9a7Cs5vBN/L4QMK0WFRMsRKDgRcXN09sNMzJhnB1TJT5d8O2MqVw REFaNV4HIld9Ly2rRxUC0yKEmkTf3CgMhIUJM9IkZp1XonIfTkoVYdq11mZckFiCHOSIziCKRg7UO lLG2NskOw==; 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-0005CW-Q6 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 5EB7F20A23; 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 2CD3220A2B; 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 12/13] arm64: dts: marvell: 7040-db: describe the 10G SFP cage Date: Fri, 4 May 2018 15:56:42 +0200 Message-Id: <20180504135643.23466-13-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_913699_268DF761 X-CRM114-Status: GOOD ( 10.04 ) 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 cage description for the 10G interface in the Marvell Armada 7040 DB board. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts index d6bec058a30a..10a429dcaab7 100644 --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts @@ -55,6 +55,10 @@ compatible = "usb-nop-xceiv"; vcc-supply = <&cp0_reg_usb3_1_vbus>; }; + + sfp_eth0: sfp-eth0 { + compatible = "sff,sfp"; + }; }; &i2c0 { @@ -240,8 +244,10 @@ status = "okay"; /* Network PHY */ phy-mode = "10gbase-kr"; + managed = "in-band-status"; /* Generic PHY, providing serdes lanes */ phys = <&cp0_comphy2 0>; + sfp = <&sfp_eth0>; }; &cp0_eth1 {