Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2328489pxp; Mon, 21 Mar 2022 17:05:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOk4pWNbeb8EgfwAf/uAGpDio0F56X/njHcu2FSRYR2E5acJirXWiIISFeWxVrvOYFHHyZ X-Received: by 2002:a17:902:bc86:b0:151:ec83:4a8b with SMTP id bb6-20020a170902bc8600b00151ec834a8bmr14939938plb.69.1647907554545; Mon, 21 Mar 2022 17:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647907554; cv=none; d=google.com; s=arc-20160816; b=b1cHFqOKTLcss+Yxix11pu2rEBD1j8Ky54kLYnf7ks/HSU4DQz5cSNEk+WhJ6C1BIM hyr+7loSeNJeavl8MzBIwtVFRs7X0caGUTknR6JnwXf52VuLA0kzysJzJzyZW44g76uE ahcKVW3G1WLvX9NVgk4+jNWmI08d1ej4KMY3+04d0x6PXyr42IsNBeZIXYnrxdm6wEC8 De/Kmb1pie7LHpPPwpsfLLmOZXAu30zWATMskFJv/Z3ZbDHjE3rhSqUOhBOAy3WsMc6m foVsdbhsZEgPRY2AWzP1TRulGha2/+RbpuUSSZuVZxGpLPsiCEcss5A9Sw/DRzXq+QK3 Ixug== 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:cc:to:from; bh=+HoeE2W/ryKkpe+VfzrLS2++GE1duPztit0eYWb9Bqo=; b=spGFD4CrEE7h+8VUCaLziznhI0Yyue5aBLwEBhGokWaCRYbjjU28vW9qaCJAEwYZ7Y qwmBe+6axoNZgMSrUp4cAtcFbLtTF8vbsq3KW7RSr712S5p6SFPygJgT1Uq0Y+Wi6MkB JR5kP+smtKiKyjopH1LTTpdWhsJE5Wweb5ykOhDcfuhDJDG3bQBbhMJS5TIbeycpNjjH ccsnG3+TRgKCL3YaOOVgo3nfmaGh1IyB5E3yrsRdm585EMHCLBz+8YWgKuJoXu1VvrUO r6OVTySQI4W4NZdPNvUpR4K/+rLrNKIFFSMFeYK22wahKGxjJyWcU1gYW4EMFh6C2qJU 3IrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmp.felk.cvut.cz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 132-20020a63048a000000b003816043efeesi12874400pge.483.2022.03.21.17.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 17:05:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmp.felk.cvut.cz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5A5C811628A; Mon, 21 Mar 2022 16:33:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbiCUXfO (ORCPT + 99 others); Mon, 21 Mar 2022 19:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232838AbiCUXfK (ORCPT ); Mon, 21 Mar 2022 19:35:10 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 21 Mar 2022 16:33:43 PDT Received: from mailgw.felk.cvut.cz (mailgw.felk.cvut.cz [147.32.82.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B21B66E34C; Mon, 21 Mar 2022 16:33:43 -0700 (PDT) Received: from mailgw.felk.cvut.cz (localhost.localdomain [127.0.0.1]) by mailgw.felk.cvut.cz (Proxmox) with ESMTP id 4D1FC30AE007; Tue, 22 Mar 2022 00:33:42 +0100 (CET) Received: from cmp.felk.cvut.cz (haar.felk.cvut.cz [147.32.84.19]) by mailgw.felk.cvut.cz (Proxmox) with ESMTPS id 6885230ADC00; Tue, 22 Mar 2022 00:33:41 +0100 (CET) Received: from haar.felk.cvut.cz (localhost [127.0.0.1]) by cmp.felk.cvut.cz (8.14.0/8.12.3/SuSE Linux 0.6) with ESMTP id 22LNXfOx014320; Tue, 22 Mar 2022 00:33:41 +0100 Received: (from pisa@localhost) by haar.felk.cvut.cz (8.14.0/8.13.7/Submit) id 22LNXfWM014319; Tue, 22 Mar 2022 00:33:41 +0100 From: Pavel Pisa To: linux-can@vger.kernel.org, devicetree@vger.kernel.org, "Marc Kleine-Budde" , Oliver Hartkopp Cc: Wolfgang Grandegger , David Miller , Rob Herring , mark.rutland@arm.com, Carsten Emde , armbru@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Marin Jerabek , Ondrej Ille , Jiri Novak , Jaroslav Beran , Petr Porazil , Pavel Machek , Drew Fustini , Pavel Pisa , Rob Herring Subject: [PATCH v8 2/7] dt-bindings: net: can: binding for CTU CAN FD open-source IP core. Date: Tue, 22 Mar 2022 00:32:29 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The device-tree bindings for open-source/open-hardware CAN FD IP core designed at the Czech Technical University in Prague. CTU CAN FD IP core and other CTU CAN bus related projects listing and documentation page http://canbus.pages.fel.cvut.cz/ Signed-off-by: Pavel Pisa Reviewed-by: Rob Herring Acked-by: Pavel Machek --- .../bindings/net/can/ctu,ctucanfd.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml diff --git a/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml b/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml new file mode 100644 index 0000000000000..fb34d971dcb39 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/ctu,ctucanfd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CTU CAN FD Open-source IP Core Device Tree Bindings + +description: | + Open-source CAN FD IP core developed at the Czech Technical University in Prague + + The core sources and documentation on project page + [1] sources : https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core + [2] datasheet : https://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/doc/Datasheet.pdf + + Integration in Xilinx Zynq SoC based system together with + OpenCores SJA1000 compatible controllers + [3] project : https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top + Martin Jerabek dimploma thesis with integration and testing + framework description + [4] PDF : https://dspace.cvut.cz/bitstream/handle/10467/80366/F3-DP-2019-Jerabek-Martin-Jerabek-thesis-2019-canfd.pdf + +maintainers: + - Pavel Pisa + - Ondrej Ille + - Martin Jerabek + +properties: + compatible: + oneOf: + - items: + - const: ctu,ctucanfd-2 + - const: ctu,ctucanfd + - const: ctu,ctucanfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: | + phandle of reference clock (100 MHz is appropriate + for FPGA implementation on Zynq-7000 system). + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + ctu_can_fd_0: can@43c30000 { + compatible = "ctu,ctucanfd"; + interrupts = <0 30 4>; + clocks = <&clkc 15>; + reg = <0x43c30000 0x10000>; + }; -- 2.20.1