From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75A97C433F5 for ; Fri, 22 Apr 2022 18:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ievQ8Ijpf3rHDDhbMzhtkFFQ8Nercb89IlyJZY/RrEs=; b=jPNp3t8AniNGLf 4EQ2QEQD2zqSlcfs6V9UFtG4v0ESc+W0SpaFSEMO9exyVRt4IJ4DX9fTmLktH/MOJCbZaszq9KbLP Ixjvs6vmId1/QrMT3fgBPz8c+iRIIjfH1Wd9qydBT/QX1vHjnKePRCbrrpuxMAAsRtQBjSAr8oahf iGKWLpyISwBj2t2BcPiQyYM26xmSp6Iut1HDbN6b0UA6jww+/g87j7c68o+EmI8Lfx7D+WY7gbTm2 HY/ewHnMIYu0b0+OKxW1AGy7cyMIZdaKqSm4GYarpXS/+4QOZv8Gas4y569eZZQJP66n4xsI3KyKf 3NGY99R5gfQOnaND9GgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhxdd-001t2w-O2; Fri, 22 Apr 2022 18:04:14 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhxcm-001smK-G1 for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 18:03:23 +0000 Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C57784000D; Fri, 22 Apr 2022 18:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1650650596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=loZEYdhbLh05kEj+SfWEXqAWNslES1rqU6WiBkJyWCY=; b=gZ54Xw4E2YxcgCYuiYoziAzsNShsmCvxhLBDcJS/IPRFtpDGScixLyGE5bPV81RpT3tRnA einY2FJMJWcGEk9Z9vcDo/p1zXilfwgsUsLMaCOVQ/oDwIyVwaB1ylEwjotH0viwFqiesW urZoDNZaOmOKdEe/hoT+bJBRw2WYd0K8zwku1gd2hCFBIjG/ADjnYiTTM7cJV7W2N6HSZy mVBbH1ccb5kgJAjfoDxDoRvRxxtk/RxuVA4aaI2Oxqq4IXfNWdAQKW2lLgVJOWuTn2Mxnd /yvmXqhonKr6iNbKZMYtK0dwn+xkw5I3S9KYG4U1gygJfRzwKOxXNwOfmwKYYQ== From: Maxime Chevallier To: davem@davemloft.net, Rob Herring Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko Subject: [PATCH net-next 4/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet controller Date: Fri, 22 Apr 2022 20:03:04 +0200 Message-Id: <20220422180305.301882-5-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220422180305.301882-1-maxime.chevallier@bootlin.com> References: <20220422180305.301882-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_110320_857786_19C80955 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the DT binding for the IPQESS Ethernet Controller. This is a simple controller, only requiring the phy-mode, interrupts, clocks, and possibly a MAC address setting. Signed-off-by: Maxime Chevallier --- .../devicetree/bindings/net/qcom,ipqess.yaml | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,ipqess.yaml diff --git a/Documentation/devicetree/bindings/net/qcom,ipqess.yaml b/Documentation/devicetree/bindings/net/qcom,ipqess.yaml new file mode 100644 index 000000000000..8fec5633692f --- /dev/null +++ b/Documentation/devicetree/bindings/net/qcom,ipqess.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/qcom,ipqess.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IPQ ESS EDMA Ethernet Controller Device Tree Bindings + +allOf: + - $ref: "ethernet-controller.yaml#" + +maintainers: + - Maxime Chevallier + +properties: + compatible: + const: qcom,ipq4019e-ess-edma + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + maxItems: 32 + description: One interrupt per tx and rx queue, with up to 16 queues. + + clocks: + maxItems: 1 + + phy-mode: true + + fixed-link: true + + mac-address: true + +required: + - compatible + - reg + - interrupts + - clocks + - phy-mode + +unevaluatedProperties: false + +examples: + - | + gmac: ethernet@c080000 { + compatible = "qcom,ipq4019-ess-edma"; + reg = <0xc080000 0x8000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + + status = "okay"; + + phy-mode = "internal"; + fixed-link { + speed = <1000>; + full-duplex; + pause; + asym-pause; + }; + }; + +... -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel