Received: by 10.213.65.68 with SMTP id h4csp676629imn; Fri, 23 Mar 2018 13:12:57 -0700 (PDT) X-Google-Smtp-Source: AG47ELtQuSTihq/cBVtAi/VPpsk1wH/ZtyuNPvUNhitufXqyj4Vzacj47C5zKjSlRY1VXA9DD+u5 X-Received: by 2002:a17:902:5066:: with SMTP id f35-v6mr30963805plh.14.1521835976982; Fri, 23 Mar 2018 13:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521835976; cv=none; d=google.com; s=arc-20160816; b=AqyTBGpleySe7MwLm6t7jhvRNYTEKMjJf6p2V5zaEATMYWwn3uLvvOfN7ar/ULuAXe 6g4/Ox2mN3n2EigM5PikOev0h7FmJdRE7nvLFdmKil+aY3nh9SCdFL909UhiM9CX6mET YDrQJXEUe1tIb++h88+eiJ8eOe610GT8sq50ael0wTHKBrzB7wjJZZ0i1jgI1l8fov5K n2bqk6UlQxuR1voZ6Bk91R0BO9YzUgb6Owdxz2zZ4CKwFjE7V0FIb8/tDMjV9b6L5oN6 8wAFpq9EjeVMVAJhUqRgaWoNkkYtCLGlikhLWuT7hsbWVLM4JOnaYZ7971B78rcqpNWX Z95A== 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=yJSEqQEP/j10zFo7RdlAMBD5JAr8iufG/Wzf4LN7pKE=; b=0Uo4eRxMLXmr5b2kZRJIjB4oPx7VP/JIGXl1lXmgWQVjbip/486uwadcuJJDNIoO/c VFKMAZMKeUvjoHl9LM56I8jt5zEUtdgbniWqIVlkQ5milzSlt74Z2dsay/uSd1z2ECn0 sic276qoXRfYuXE2X7fiH0xM0yvd9r82Vhauhr4GVQvB7BnarTqBDda1zf1GmoeinGLt vFbxQfWhF6J1glY6LBy1HVb/FbWvjgKnI4gfSoh1QA8volb1vX7u13c/WLJYCfUmDNwA GxQhkYrQbgu41gdp86x1FoSf4k84Nm33hbGHrGVcat1SYib8Djba7fGiiMsjPOH5WEhF FXgA== 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 v45si6545511pgn.379.2018.03.23.13.12.40; Fri, 23 Mar 2018 13:12:56 -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 S1752294AbeCWULo (ORCPT + 99 others); Fri, 23 Mar 2018 16:11:44 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34901 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751827AbeCWULh (ORCPT ); Fri, 23 Mar 2018 16:11:37 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id CF2AD2084D; Fri, 23 Mar 2018 21:11:34 +0100 (CET) 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 918A520715; Fri, 23 Mar 2018 21:11:34 +0100 (CET) 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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Alexandre Belloni , Rob Herring Subject: [PATCH net-next 2/8] dt-bindings: net: add DT bindings for Microsemi MIIM Date: Fri, 23 Mar 2018 21:11:11 +0100 Message-Id: <20180323201117.8416-3-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180323201117.8416-1-alexandre.belloni@bootlin.com> References: <20180323201117.8416-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 Cc: Rob Herring Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/net/mscc-miim.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 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..711ac9ab853c --- /dev/null +++ b/Documentation/devicetree/bindings/net/mscc-miim.txt @@ -0,0 +1,25 @@ +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. + +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.16.2