Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp148969pxb; Fri, 16 Apr 2021 01:55:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDAgSuE2mvCAn7aQH1chsWSm99ecj8Y1Zn59G2z4OfG5g6QUGWR37Oo6M7EHbjycl7X+Rs X-Received: by 2002:a17:906:26d4:: with SMTP id u20mr7719633ejc.114.1618563315131; Fri, 16 Apr 2021 01:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618563315; cv=none; d=google.com; s=arc-20160816; b=WGgYZKbI40yCjVafpRbr8VlVaVE2R8DcbfuXZV/aTVSiefxzMDZNIk2m8FOL+Us5eZ ATYNuOBHXZZ07bd28ze4eJA93Zu3PopucuiIVceKezS8weN6CHtfjUqRGOPSWSEnMBOO XKK1Hx51wMbvObdIS198Mcg4wNx9T+eKmDDrJR3y8ApUfl4mZJHDr//3b1fDioGgx83E 79EeHHw3Av0Sei2h9pBDHTiQLmYBVMd4iE4zRRse4NpvvhdZyq32oYDKJ5NMAMf6G8+8 cdV1WUkh8aonT+vmhb3Tf4M049/uAvYbNFurgOFJ9uiSR5SNizDLQxRKrS6B3bPoMJJV GCqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=w4to9PUSxtQrXbdmsTUw3QtHl1mWitr2dKidP9T7h6Q=; b=lSGuneklbKJpfpjeDJ3+Of6G2XwkQLIpTA2o6/s8nV8wV1qfQ1+Y3b+g8dcNvVw5YA mSylfFk5qvq1yWGvEQTEN7Q1zb51kTw0YM38UDBIDsMxZJtjWAhbF9P9mDmXyhgkwLrk pR3euJyx9/rDJNgAYWq7H9ATTU0zAT/RdA8d5/aAryxqg3umddF0B2IACwSCSk+INVcM M9H8i94nJycW/paMYDGk86e2XC+A0DP0gcbV1C56j/CWSYTTaO4zLLjiHPKqVC3fCMjO 7KGVkgK4OUxP7q2g40c4PwDwRx1gM5lEIfRsmgsWPhVJkMqiSq1CBskNFZAKx4Rqc7aN p1oQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a25si4007960ejv.555.2021.04.16.01.54.52; Fri, 16 Apr 2021 01:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241585AbhDPIxJ (ORCPT + 99 others); Fri, 16 Apr 2021 04:53:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:54156 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241067AbhDPIwk (ORCPT ); Fri, 16 Apr 2021 04:52:40 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 889CEADB3; Fri, 16 Apr 2021 08:52:14 +0000 (UTC) From: Thomas Bogendoerfer To: "David S. Miller" , Jakub Kicinski , Rob Herring , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v5 net-next 10/10] dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs Date: Fri, 16 Apr 2021 10:52:06 +0200 Message-Id: <20210416085207.63181-11-tsbogend@alpha.franken.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210416085207.63181-1-tsbogend@alpha.franken.de> References: <20210416085207.63181-1-tsbogend@alpha.franken.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for ethernet controller integrated into IDT 79RC3243x SoCs. Signed-off-by: Thomas Bogendoerfer --- .../bindings/net/idt,3243x-emac.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/idt,3243x-emac.yaml diff --git a/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml b/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml new file mode 100644 index 000000000000..3697af5cb66f --- /dev/null +++ b/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/idt,3243x-emac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 79rc3243x Ethernet controller + +description: Ethernet controller integrated into IDT 79RC3243x family SoCs + +maintainers: + - Thomas Bogendoerfer + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: idt,3243x-emac + + reg: + maxItems: 3 + + reg-names: + items: + - const: korina_regs + - const: korina_dma_rx + - const: korina_dma_tx + + interrupts: + items: + - description: RX interrupt + - description: TX interrupt + + interrupt-names: + items: + - const: korina_rx + - const: korina_tx + + clocks: + maxItems: 1 + + clock-names: + items: + - const: mdioclk + +required: + - compatible + - reg + - reg-names + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + + ethernet@60000 { + compatible = "idt,3243x-emac"; + + reg = <0x60000 0x10000>, + <0x40000 0x14>, + <0x40014 0x14>; + reg-names = "korina_regs", + "korina_dma_rx", + "korina_dma_tx"; + + interrupts-extended = <&rcpic3 0>, <&rcpic3 1>; + interrupt-names = "korina_rx", "korina_tx"; + + clocks = <&iclk>; + clock-names = "mdioclk"; + }; -- 2.29.2