From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: [PATCH 1/7] dt-bindings: Add Cavium Octeon Common Ethernet Interface. Date: Wed, 1 Nov 2017 17:36:00 -0700 Message-ID: <20171102003606.19913-2-david.daney@cavium.com> References: <20171102003606.19913-1-david.daney@cavium.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20171102003606.19913-1-david.daney@cavium.com> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org, ralf@linux-mips.org, James Hogan , netdev@vger.kernel.org, "David S. Miller" , Rob Herring , Mark Rutland Cc: linux-kernel@vger.kernel.org, "Steven J. Hill" , devicetree@vger.kernel.org, Carlos Munoz , "Steven J . Hill" , David Daney List-Id: devicetree@vger.kernel.org From: Carlos Munoz Add bindings for Common Ethernet Interface (BGX) block. Signed-off-by: Carlos Munoz Signed-off-by: Steven J. Hill Signed-off-by: David Daney --- .../devicetree/bindings/net/cavium-bgx.txt | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/cavium-bgx.txt diff --git a/Documentation/devicetree/bindings/net/cavium-bgx.txt b/Documentation/devicetree/bindings/net/cavium-bgx.txt new file mode 100644 index 000000000000..9fb79f8bc17f --- /dev/null +++ b/Documentation/devicetree/bindings/net/cavium-bgx.txt @@ -0,0 +1,59 @@ +* Common Ethernet Interface (BGX) block + +Properties: + +- compatible: "cavium,octeon-7890-bgx": Compatibility with all cn7xxx SOCs. + +- reg: The base address of the BGX block. + +- #address-cells: Must be <1>. + +- #size-cells: Must be <0>. BGX addresses have no size component. + +Typically a BGX block has several children each representing an +Ethernet interface. + +Example: + + ethernet-mac-nexus@11800e0000000 { + compatible = "cavium,octeon-7890-bgx"; + reg = <0x00011800 0xe0000000 0x00000000 0x01000000>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet-mac@0 { + ... + reg = <0>; + }; + }; + + +* Ethernet Interface (BGX port) connects to PKI/PKO + +Properties: + +- compatible: "cavium,octeon-7890-bgx-port": Compatibility with all cn7xxx + SOCs. + +- reg: The index of the interface within the BGX block. + +- local-mac-address: Mac address for the interface. + +- phy-handle: phandle to the phy node connected to the interface. + + +* Ethernet Interface (BGX port) connects to XCV + + +Properties: + +- compatible: "cavium,octeon-7360-xcv": Compatibility with cn73xx SOCs. + +- reg: The index of the interface within the BGX block. + +- local-mac-address: Mac address for the interface. + +- phy-handle: phandle to the phy node connected to the interface. + +- cavium,rx-clk-delay-bypass: Set to <1> to bypass the rx clock delay setting. + Needed by the Micrel PHY. -- 2.13.6