Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4789269imm; Mon, 14 May 2018 13:07:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq9uX1/UnPRqt3Z1dPYteVQvn3PTB1loJMAIkGpJA1Qh1JLR9yp2Ax3JPUvSwLrYqn2Rwy1 X-Received: by 2002:a65:590e:: with SMTP id f14-v6mr9564214pgu.282.1526328432093; Mon, 14 May 2018 13:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526328432; cv=none; d=google.com; s=arc-20160816; b=wyAjK2CChkJ0Z/lh8TUvvJ0TtWAOxWCNr9DtVTJUG3rRDbD4ePM8M6nVp9TQnntl5M cQfl/YG/Xg1js3KEkAjFRufHDlW5ACODChnaKlgf0XI3mktnEIm68fumFy0MVtUMo1FE 6psMcfXN8OKoVBCP0yp0nqbzfZezYBIia7cMgb70gM+5AM9R/BY/tKxMy5Ta8Y6v1urg 67xFsaCavlPgLuEVnHCMZWT/8Q7qs1RsXQ4RHqAT9ubgZ6q9P7MnUG7UtoKiPwj8IDKC 7oE9iz5UhieULiub93IQEVQkTCLZYoFPFji0DsOGht/JPmXz/ECqdFgIWQhc7QMNfBHU D24w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=5WUDFbvOx/z1TXjJTUO5ACejnUVv7+1o99UwKp1tpfo=; b=veybOdaJDG4ptFAUqwzTbESv9H31VFRRXzZ5mAwlwVqeDF2LNH3oc35EzhNbOS1Z8T RJfzH6Ta5vCOhn2nLtiw8ayV/lHvNQ3gyCBAUmr9vwzz1WJpOA8DMRZdvoMs9dCbHoPz 29UYEmjvoP6i+ywHUuK5Ru3KZkLrFdASqUl0cRXlsypRGt9UGP1OhP8/ZJbRXuawbi0a oLyxjIMZq9k7gEe3ft3DInd5psLytB9ZiJYp3ej1LRNvjWGH4uSHePWQ7yzawPrr4+e7 4bfvXxxpNGHr8KRUK0++GEi16i7o9azpedUncX4/L3g8N8fI9IEBwG0D4fBRazj/kekU eWQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l186-v6si10632866pfl.155.2018.05.14.13.06.57; Mon, 14 May 2018 13:07:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752171AbeENUF2 (ORCPT + 99 others); Mon, 14 May 2018 16:05:28 -0400 Received: from mail.bootlin.com ([62.4.15.54]:32903 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752018AbeENUFX (ORCPT ); Mon, 14 May 2018 16:05:23 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 357E420896; Mon, 14 May 2018 22:05:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id 11834203B7; Mon, 14 May 2018 22:05:21 +0200 (CEST) From: Alexandre Belloni To: "David S . Miller" Cc: Allan Nielsen , razvan.stefanescu@nxp.com, po.liu@nxp.com, Thomas Petazzoni , Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Alexandre Belloni Subject: [PATCH net-next v3 1/7] dt-bindings: net: add DT bindings for Microsemi MIIM Date: Mon, 14 May 2018 22:04:54 +0200 Message-Id: <20180514200500.2953-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180514200500.2953-1-alexandre.belloni@bootlin.com> References: <20180514200500.2953-1-alexandre.belloni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DT bindings for the Microsemi MII Management Controller found on Microsemi SoCs Reviewed-by: Florian Fainelli Reviewed-by: Rob Herring Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/net/mscc-miim.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/mscc-miim.txt diff --git a/Documentation/devicetree/bindings/net/mscc-miim.txt b/Documentation/devicetree/bindings/net/mscc-miim.txt new file mode 100644 index 000000000000..7104679cf59d --- /dev/null +++ b/Documentation/devicetree/bindings/net/mscc-miim.txt @@ -0,0 +1,26 @@ +Microsemi MII Management Controller (MIIM) / MDIO +================================================= + +Properties: +- compatible: must be "mscc,ocelot-miim" +- reg: The base address of the MDIO bus controller register bank. Optionally, a + second register bank can be defined if there is an associated reset register + for internal PHYs +- #address-cells: Must be <1>. +- #size-cells: Must be <0>. MDIO addresses have no size component. +- interrupts: interrupt specifier (refer to the interrupt binding) + +Typically an MDIO bus might have several children. + +Example: + mdio@107009c { + #address-cells = <1>; + #size-cells = <0>; + compatible = "mscc,ocelot-miim"; + reg = <0x107009c 0x36>, <0x10700f0 0x8>; + interrupts = <14>; + + phy0: ethernet-phy@0 { + reg = <0>; + }; + }; -- 2.17.0