From patchwork Fri Oct 27 13:34:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 158934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp608628vqb; Fri, 27 Oct 2023 06:36:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfM3RpDgkz0QCgFurhAHKA/gZ8U0F1JJ3m4EdkcB7FvqE2cUGl6rv7/sqi2NQvsLdnVd3m X-Received: by 2002:a81:ac08:0:b0:5a8:9901:e93c with SMTP id k8-20020a81ac08000000b005a89901e93cmr2652092ywh.44.1698413794321; Fri, 27 Oct 2023 06:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698413794; cv=none; d=google.com; s=arc-20160816; b=JyouOSsJWjf+QIEVEKRFKB40C87+20N7vKpKlV9cAnp1jo6/RPNxPjz8DduR/1YJqH fb7QAFx6vAvTS8oirTb5Of0VuPdN54HgV3xUunmHJT0wtYg9FI8pS8ECTIhKcgI2Vd0A uNszPlUb4aer3pe48C5fkRp36wXMt/3DJuTUSyOrMPCSz79xMu251XLL99Mx66vinvFy uqVHtfEHzD/DyHE3CA7kS1iFa/YCoOrgLaYLgPKWR28Au9NDJ2CCZi+WV+5EWEXn3xBO s2tndTD4e93HU3OMrc1egAe3RdbHjVVaqh8//kP8hK+bWZHPoMYjqxJEc0EfFnnMz3Wg 0CUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SkXMaUVEsb4kPB44vkGq4pV31saBQG9CgbO7o0C0h+Q=; fh=TXmJ51wQtzLLjes0qtH+NOoYV89/uc4AwJxMSeVWyD4=; b=JzJ/TZ68q8WyURlHszWMQDJ5zQvb+LOrh/CpzSrgpzHdNlazEEcZhutBBPeWoOwlec KEBC1iUTQi0OLiTWKNWYf+GxbJpzGNAkd20+Eemjqnn5rkoyWrqf7BQqLzEpsRG4qdVf PO575NetNDMF5VcQmfE6eqzEf3z+J2b8BxuYqNpkokAXuT8LuMG0bIoT21ZMstFD0ZW0 fWiP+SCX8ajrpM5QOU0exOolphweowfBRldGA2X12l2MAY0I0g/aULYyFLCG6Q7KggfH q58H+TnB2qkoXLq/bRtg8HXvl7X4U7pcxckbN8VeB0NWU9PFfMQJvZ0HctfrT99iKZ6V x4Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=VuC0EBY5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ep11-20020a05690c2c8b00b005affb6cc8c3si966806ywb.522.2023.10.27.06.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 06:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=VuC0EBY5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C475A8084066; Fri, 27 Oct 2023 06:35:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346052AbjJ0NfH (ORCPT + 25 others); Fri, 27 Oct 2023 09:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345996AbjJ0Ner (ORCPT ); Fri, 27 Oct 2023 09:34:47 -0400 Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE4B9D7D for ; Fri, 27 Oct 2023 06:34:43 -0700 (PDT) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202310271334418c82199d957eac0fa8 for ; Fri, 27 Oct 2023 15:34:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=SkXMaUVEsb4kPB44vkGq4pV31saBQG9CgbO7o0C0h+Q=; b=VuC0EBY5NqqqEAuLFOqledQOu/5j4czFDeXS7mTxGFAITmqK7vEz2oUXywk7tIAloME8Wa pzz3IKsm7VPug5qqslE1448YxV102bPdb1jWKH/IGqUGvp0Zm2P+QJeyidEQASAzErVOpkYO 6z5j8PTu+cGvVQbG1AViTwLnOoBWU=; From: Jan Kiszka To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Benedikt Niedermayr Subject: [PATCH 6/7] arm64: dts: ti: iot2050: Add node for SPI devices on Arduino connector Date: Fri, 27 Oct 2023 15:34:37 +0200 Message-Id: <34ac4d465e1e51723941936c4b04b736fa85dd8b.1698413678.git.jan.kiszka@siemens.com> In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 27 Oct 2023 06:35:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780915942720677514 X-GMAIL-MSGID: 1780915942720677514 From: Jan Kiszka This interface is normally driven by userspace on the IOT2050. Signed-off-by: Jan Kiszka --- arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 53bd296ba310..bc77ba58d8f9 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -1180,6 +1180,12 @@ &mcu_spi0 { #address-cells = <1>; #size-cells = <0>; ti,pindir-d0-out-d1-in; + + spidev@0 { + compatible = "siemens,iot2050-arduino-spi"; + spi-max-frequency = <20000000>; + reg = <0>; + }; }; &tscadc1 {