From patchwork Sun Feb 7 22:26:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 378310 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 730A4C433E0 for ; Sun, 7 Feb 2021 22:28:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D86C64E3A for ; Sun, 7 Feb 2021 22:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbhBGW1q (ORCPT ); Sun, 7 Feb 2021 17:27:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbhBGW1o (ORCPT ); Sun, 7 Feb 2021 17:27:44 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF642C061756; Sun, 7 Feb 2021 14:27:03 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id r23so12743482ljh.1; Sun, 07 Feb 2021 14:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Di6p90oAYaCEY0Dm7sI6vpfXpEsHy9/oRKceNj8Eu0c=; b=f75BMbPQ8WQQFH2FanltOAgV1MwkfM9ONOzTtMHaj6U3XwCbsxxh+BPIFZMojSFhoc oXNrpU3lWwo6tdBZzpqH2fWb9V/Jfo+TtTm385WZyt0C6mYkqSTv0dDmUC06Yqo1jlmG etV+92GNlzx0M24vb1LaJ1Pt/6SN1i9lrVyc2+P5nHaTJPTNz9WjiFq0oFhhxDvya/Ow lZsrRtJB9bxWNb19A9LIX3bFYCwWEy1zXSson4BOTBuKPTBdpSSkHCqQ8eBFLzqQp0rZ aB3k0eDtlZUGnMAZIis5Ds26ryRTYy834D32NqycvXbH41GzOvTY7tiWDCIzOp+NGBrm tvLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Di6p90oAYaCEY0Dm7sI6vpfXpEsHy9/oRKceNj8Eu0c=; b=XuTWN0+U5413Fj/s4LJQ5cWq5bPKRP8yFPlGXbbBKbBOaNOjsXtL/EguvIhV6Ixr9y tNa8xWh19uabL0edw+zOJTp/H8ZrjKjpVR3FqJ+dhQXHBGfmh/Qg9yHEh53ZJs5T8qht 9vfuVkYEodxRHPz1UIXy9twyYeYyzSAv9kodxEoi7CAOpQzVPYYARvMfTTW1xnD0SF6c hoTeny4iG+vBc+IbTzLqx2pUMj1QTHWHOjjWCp51brbAROM7p11oh0mVCmGSVcOd6PmY 9N4YTsaTq/odLj0TKu28MaPGylpbVAKXu3KRmAG1UTDaIeqmKtAxMJm4wswI1w8wrzJ8 gYPw== X-Gm-Message-State: AOAM530zmf6v4I0EkXUFmTFIBlwugbQ4rOhCcJiNn4jRKbLom3iQtu61 1xqqzRXkXZrV1M61rurZ64k= X-Google-Smtp-Source: ABdhPJzUfoE+9NCLD/4Z/HcxCQp2kdiPk7Dr+HCTKIbGu9eFjXP/Cg0XAN/XuIshnMBNNIGsF+86Pw== X-Received: by 2002:a2e:9d04:: with SMTP id t4mr9062916lji.56.1612736822472; Sun, 07 Feb 2021 14:27:02 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id n16sm502415lfe.13.2021.02.07.14.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 14:27:01 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: "David S . Miller" , Jakub Kicinski , Rob Herring Cc: Florian Fainelli , Randy Dunlap , Masahiro Yamada , netdev@vger.kernel.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH V2 net-next 1/2] dt-bindings: net: document BCM4908 Ethernet controller Date: Sun, 7 Feb 2021 23:26:31 +0100 Message-Id: <20210207222632.10981-1-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210205214417.11178-1-zajec5@gmail.com> References: <20210205214417.11178-1-zajec5@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Rafał Miłecki BCM4908 is a family of SoCs with integrated Ethernet controller. Signed-off-by: Rafał Miłecki --- .../bindings/net/brcm,bcm4908enet.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml diff --git a/Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml b/Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml new file mode 100644 index 000000000000..5f12f51c5b19 --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/brcm,bcm4908enet.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM4908 Ethernet controller + +description: Broadcom's Ethernet controller integrated into BCM4908 family SoCs + +maintainers: + - Rafał Miłecki + +properties: + compatible: + const: brcm,bcm4908enet + + reg: + maxItems: 1 + + interrupts: + description: RX interrupt + + interrupt-names: + const: rx + +required: + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + #include + + ethernet@80002000 { + compatible = "brcm,bcm4908enet"; + reg = <0x80002000 0x1000>; + + interrupts = ; + interrupt-names = "rx"; + };