From patchwork Thu Oct 14 09:27:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuji Ishikawa X-Patchwork-Id: 12558157 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7439FC433EF for ; Thu, 14 Oct 2021 09:35:21 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3D9EF60E96 for ; Thu, 14 Oct 2021 09:35:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D9EF60E96 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=ZZis/Pm3Kzhv8y+2E9jdRFFa1z34Ji0GbMsP9ZNwwXs=; b=3zYvzUCM9keLqT Zx0U/p2k+Rsu/CP+iP+cAJbDkCxYjEIGXUrlB94dWNeO7WVmzyvke/GFMxgpQlKnSIfdg5v9UbD3f tWuUKEbufMkRFEJMnFS7eMhSNVcufU28md9SSgmwhfS1wdeUH/5g4LEAFKTWPH7+d3YVvOwBt7mT0 Gh6dq7tmMoteqp7pF+EITAjwFSUE93ca4qWoS5RCRYrVMP98tyRnERKmG53R2bGRt8rhDaYSZ2rax iAmYlSTDzLqzdmQOBpltpmHY1sJin5nSZjfj66pfcUv343wCaFVA2dQ9inZvlm0n7wJoBsJDHbqWj S0Rz1pmpGtsvGeaJpZGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1max6S-002NPI-7g; Thu, 14 Oct 2021 09:32:44 +0000 Received: from mo-csw1515.securemx.jp ([210.130.202.154] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1max6B-002NKF-5G for linux-arm-kernel@lists.infradead.org; Thu, 14 Oct 2021 09:32:29 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1515) id 19E9WNMT009064; Thu, 14 Oct 2021 18:32:23 +0900 X-Iguazu-Qid: 34tMdwO14c3dprnV7m X-Iguazu-QSIG: v=2; s=0; t=1634203942; q=34tMdwO14c3dprnV7m; m=sNy+yJgzDWYfVLPQCwTNyi1CpDAX/3yAv0cGj2bA9uk= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1512) id 19E9WMis001423 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 14 Oct 2021 18:32:22 +0900 Received: from enc02.toshiba.co.jp (enc02.toshiba.co.jp [61.202.160.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx12-a.toshiba.co.jp (Postfix) with ESMTPS id 3825D10013A; Thu, 14 Oct 2021 18:32:22 +0900 (JST) Received: from enc02.toshiba.co.jp (localhost.localdomain [127.0.0.1]) by enc02.toshiba.co.jp with ESMTP id 19E9WLDA007778; Thu, 14 Oct 2021 18:32:22 +0900 Received: from enc02.toshiba.co.jp.mid_26071066 (localhost.localdomain [127.0.0.1]) by enc02.toshiba.co.jp with ESMTP id 19E9RJqc004244; Thu, 14 Oct 2021 18:27:19 +0900 X-SA-MID: 26071066 From: Yuji Ishikawa To: Rob Herring , nobuhiro1.iwamatsu@toshiba.co.jp Cc: punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: visconti: Add 150MHz fixed clock to TMPV7708 SoC Date: Thu, 14 Oct 2021 18:27:01 +0900 X-TSB-HOP: ON Message-Id: <20211014092703.15251-2-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> References: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211014_023227_428300_89F62FC2 X-CRM114-Status: GOOD ( 10.73 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This clock source is referred by baudrate generators of SPI and I2C devices. Signed-off-by: Yuji Ishikawa --- arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi index 5db9a012d6fc..01d7ee61ad25 100644 --- a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi +++ b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi @@ -148,6 +148,13 @@ clock-output-names = "clk125mhz"; }; + clk150mhz: clk150mhz { + compatible = "fixed-clock"; + clock-frequency = <150000000>; + #clock-cells = <0>; + clock-output-names = "clk150mhz"; + }; + clk300mhz: clk300mhz { compatible = "fixed-clock"; clock-frequency = <300000000>; From patchwork Thu Oct 14 09:27:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuji Ishikawa X-Patchwork-Id: 12558155 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D718CC433F5 for ; Thu, 14 Oct 2021 09:35:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A835460E96 for ; Thu, 14 Oct 2021 09:35:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A835460E96 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=NTOXCN4r8yYnxyh7r1j8Vi6m1tfZokIjjKArDmierbs=; b=12CFHkCAzo0daE J2CFVEp548wCd/4ri2yNmp9jr98/HxLloRX1EtgYI+N9A2+PwOLnFCErcSUhhYeE9K8oIMKVTTQxZ pd4g7IKUl/uUv08xssItojVUd0ABh4ULREkHqZl0BmPaN1+4v24n2rDWVB7TDSfDUyUb0yr6+gcN7 Wok1w8nPb0Kyck5BCT4+ozhtQrvyQy/kIowykT5RkgG7fDRLpO8a55ijKClh8WJKZ9uxF6QGWIDfR FV85tGuTUJB5aDD0EWD7r/hOGOlllK01K7+y5jyx5gGgfR1ThI8rhQAUlR6IsN7Z/4OEY4omSmWZ1 ExKiu7o8hTuDYxRIMPdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1max6w-002NZ3-5D; Thu, 14 Oct 2021 09:33:14 +0000 Received: from mo-csw1116.securemx.jp ([210.130.202.158] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1max6B-002NKN-Um for linux-arm-kernel@lists.infradead.org; Thu, 14 Oct 2021 09:32:29 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 19E9WNMO020167; Thu, 14 Oct 2021 18:32:23 +0900 X-Iguazu-Qid: 2wGrZzhrw7YZz77Y4h X-Iguazu-QSIG: v=2; s=0; t=1634203942; q=2wGrZzhrw7YZz77Y4h; m=pbtOhYC+vB3c7EwQspa4nOAhmlBbj1HcnwfZKZOfN6I= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1111) id 19E9WMZO013690 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 14 Oct 2021 18:32:22 +0900 Received: from enc02.toshiba.co.jp (enc02.toshiba.co.jp [61.202.160.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx12-a.toshiba.co.jp (Postfix) with ESMTPS id 3863610013B; Thu, 14 Oct 2021 18:32:22 +0900 (JST) Received: from enc02.toshiba.co.jp (localhost.localdomain [127.0.0.1]) by enc02.toshiba.co.jp with ESMTP id 19E9WLOb007776; Thu, 14 Oct 2021 18:32:21 +0900 Received: from enc02.toshiba.co.jp.mid_26071069 (localhost.localdomain [127.0.0.1]) by enc02.toshiba.co.jp with ESMTP id 19E9RKW3004268; Thu, 14 Oct 2021 18:27:20 +0900 X-SA-MID: 26071069 From: Yuji Ishikawa To: Rob Herring , nobuhiro1.iwamatsu@toshiba.co.jp Cc: punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: arm: toshiba: Add the TMPV7708 VisROBO VRB board Date: Thu, 14 Oct 2021 18:27:02 +0900 X-TSB-HOP: ON Message-Id: <20211014092703.15251-3-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> References: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211014_023228_299466_6E27749D X-CRM114-Status: GOOD ( 10.01 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add an entry for the Toshiba Visconti TMPV7708 VisROBO VRB board (tmpv7708-visrobo-vrb) to the board/SoC bindings. Signed-off-by: Yuji Ishikawa --- Documentation/devicetree/bindings/arm/toshiba.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/toshiba.yaml b/Documentation/devicetree/bindings/arm/toshiba.yaml index 001bbbcd1432..9c1cacbdc916 100644 --- a/Documentation/devicetree/bindings/arm/toshiba.yaml +++ b/Documentation/devicetree/bindings/arm/toshiba.yaml @@ -18,6 +18,7 @@ properties: items: - enum: - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board + - toshiba,tmpv7708-visrobo-vrb # TMPV7708 VisROBO VRB board - const: toshiba,tmpv7708 additionalProperties: true From patchwork Thu Oct 14 09:27:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuji Ishikawa X-Patchwork-Id: 12558159 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9918BC433F5 for ; Thu, 14 Oct 2021 09:36:01 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 548AE60E96 for ; Thu, 14 Oct 2021 09:36:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 548AE60E96 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=tGS2pIprGnX9HUqk0IKYiZkW5UalfCgRweH6IDZl5nE=; b=lFOV8QHAfE5Mae onJ2PhMoOSduQ3Z0FRcefgTDyLx0FQfHOwkoNGcsoGrMGjJqf9eRAQOADhXgR7YgsieBbE1olHiAP sE0gf6e5diKMDqcpS37AdsMLRGpXe5g49lxn9l4H8IMVR7hOtfeVGxVVsb9wLpX5iJGYvxuAJEgek UjDSKBFZ4mGMh6r+drU/2kfNUZJv+qHPp9W2eAc7GSOLPzoJCO/5OF5eMCd8usvA6mPFHGOrnpqsV 7ET7wrig8709H1Wnt6V6n9lwnblSgs/teKWtzGiLQpXMOCxR+QnsMcZ10bq3fThaM+/geqIs7zv3o cRC41q4XDSqlOlUjSxIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1max7E-002Nff-Fy; Thu, 14 Oct 2021 09:33:32 +0000 Received: from mo-csw1114.securemx.jp ([210.130.202.156] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1max6F-002NM3-3I for linux-arm-kernel@lists.infradead.org; Thu, 14 Oct 2021 09:32:33 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1114) id 19E9WRfl003817; Thu, 14 Oct 2021 18:32:27 +0900 X-Iguazu-Qid: 2wGrDIThyhDNqVKqwL X-Iguazu-QSIG: v=2; s=0; t=1634203946; q=2wGrDIThyhDNqVKqwL; m=4zehAYeNbRATCaZ3OAhMbmPJgaQhQQLSHRHh0DU1PCU= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1113) id 19E9WQBA015844 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 14 Oct 2021 18:32:26 +0900 Received: from enc01.toshiba.co.jp (enc01.toshiba.co.jp [106.186.93.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx2-a.toshiba.co.jp (Postfix) with ESMTPS id 0DB8B10007B; Thu, 14 Oct 2021 18:32:26 +0900 (JST) Received: from enc01.toshiba.co.jp (localhost.localdomain [127.0.0.1]) by enc01.toshiba.co.jp with ESMTP id 19E9WPK3024619; Thu, 14 Oct 2021 18:32:25 +0900 Received: from enc01.toshiba.co.jp.mid_24808785 (localhost.localdomain [127.0.0.1]) by enc01.toshiba.co.jp with ESMTP id 19E9RMH8021261; Thu, 14 Oct 2021 18:27:22 +0900 X-SA-MID: 24808785 From: Yuji Ishikawa To: Rob Herring , nobuhiro1.iwamatsu@toshiba.co.jp Cc: punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: visconti: Add DTS for the VisROBO board Date: Thu, 14 Oct 2021 18:27:03 +0900 X-TSB-HOP: ON Message-Id: <20211014092703.15251-4-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> References: <20211014092703.15251-1-yuji2.ishikawa@toshiba.co.jp> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211014_023231_465037_CEAEB75C X-CRM114-Status: GOOD ( 16.34 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This board consists of two boards: the SoM board (VRC SoM) with the SoC on board, and the board for I/O (VRB). The functions of each board supported by this update are as follows: - VRC SoM - WDT - GPIO - SDCard (SPI-MMC mode) - I2C x1 - VRB board - VRC SoM - UART x2 - Ethernet phy Signed-off-by: Yuji Ishikawa --- arch/arm64/boot/dts/toshiba/Makefile | 1 + .../boot/dts/toshiba/tmpv7708-visrobo-vrb.dts | 61 +++++++++++++++++++ .../dts/toshiba/tmpv7708-visrobo-vrc.dtsi | 44 +++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts create mode 100644 arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi diff --git a/arch/arm64/boot/dts/toshiba/Makefile b/arch/arm64/boot/dts/toshiba/Makefile index 8cd460d5b68e..7ccb4664bb37 100644 --- a/arch/arm64/boot/dts/toshiba/Makefile +++ b/arch/arm64/boot/dts/toshiba/Makefile @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-rm-mbrc.dtb +dtb-$(CONFIG_ARCH_VISCONTI) += tmpv7708-visrobo-vrb.dtb diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts new file mode 100644 index 000000000000..d0817463706e --- /dev/null +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree File for TMPV7708 VisROBO VRB board + * + * (C) Copyright 2020, 2021, Toshiba Corporation. + * (C) Copyright 2020, Nobuhiro Iwamatsu + */ + +/dts-v1/; + +#include "tmpv7708-visrobo-vrc.dtsi" + +/ { + model = "Toshiba TMPV7708 VisROBO (VRB) board"; + compatible = "toshiba,tmpv7708-visrobo-vrb", "toshiba,tmpv7708"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* 768MB memory */ + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x30000000>; + }; +}; + +&uart0 { + status = "okay"; + clocks = <&uart_clk>; + clock-names = "apb_pclk"; +}; + +&uart1 { + status = "okay"; + clocks = <&uart_clk>; + clock-names = "apb_pclk"; +}; + +&piether { + status = "okay"; + phy-handle = <&phy0>; + phy-mode = "rgmii-id"; + clocks = <&clk300mhz>, <&clk125mhz>; + clock-names = "stmmaceth", "phy_ref_clk"; + + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + phy0: ethernet-phy@1 { + device_type = "ethernet-phy"; + reg = <0x1>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi new file mode 100644 index 000000000000..f0a93db6dde6 --- /dev/null +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree File for TMPV7708 VisROBO VRC SoM + * + * (C) Copyright 2020, 2021, Toshiba Corporation. + * (C) Copyright 2020, Nobuhiro Iwamatsu + */ + +/dts-v1/; + +#include "tmpv7708.dtsi" +#include + +&wdt { + status = "okay"; + clocks = <&wdt_clk>; +}; + +&gpio { + status = "okay"; +}; + +&spi0_pins { + groups = "spi0_grp", "spi0_cs0_grp"; +}; + +&spi0 { + status = "okay"; + clocks = <&clk300mhz>, <&clk150mhz>; + clock-names = "sspclk", "apb_pclk"; + + mmc-slot@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + gpios = <&gpio 15 GPIO_ACTIVE_LOW>; + voltage-ranges = <3200 3400>; + spi-max-frequency = <12000000>; + }; +}; + +&i2c0 { + status = "okay"; + clocks = <&clk150mhz>; +};