Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp252744pxb; Fri, 15 Jan 2021 02:19:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+HtRc280Evfrf1lOZUzPd3pAr6BXhh2bcIZLMXQn245QqYWjvyMNW4TZo0+AHdhoFcz/c X-Received: by 2002:aa7:d051:: with SMTP id n17mr3792064edo.215.1610705950319; Fri, 15 Jan 2021 02:19:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610705950; cv=none; d=google.com; s=arc-20160816; b=pAsgf/ad0OrQRGuhnTuIgybQd+fHX/uqNJAFnzol26PGQcacvLJarHLjKjeAs+yOGx AA1eRVFuXeHM/2jSsHs3RRfoAJIkaJ/7UYTq8RqV3NOthfsPN/NW40oMaAvEwI93WV+N nr2/mGFnTYRqkbiVzq3WvPwvdMLiYFcxR/ge0vCBKrsqN3tVFW0v19LuKMND5B0IV3/9 mwbxvHD41ecj1Bkc0WqfX/MYapZ2Hf686aXaH8i3tCDLjWGVqxn54MxzYMnpr+0FEiAN AZ5hsSUXkToql1b5vYDnqCRcT3ykZAqs0iH0AuprPvZJ8sCiZPRQvBHFgihw4O9Tfveo EriQ== 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 :dkim-signature; bh=6fgRlLkwxsmY7BYgCFdgyzj4S+bI1O7GBJW53PDVtEY=; b=qfILg+QFI33hFPcBPNM1M6kTohpQxTlMP8jtTsgjrbqMamlZO90fm6A7120JxorxR7 U2G/v/wrEndCrY/LNOOCZir/l6gcwgcfiDnkCeuTKeGLRMbNAOAv0J/0w6vLxOXM4gnU pdU3Lmq7i2dO3HsVift5P3q/PAeBjleWGDiodWsK/V9YufvIjskfQ6017hbgAAJuwzxH HFCCHpQwlJw9IoiffFjvnLl7XfDTlvD630USE8gNGU2qEjqhgxoUpVo0jPVlHEITStIC Jf+fCT+THDANzXwSx98i8VUlRMl/OWC5iAA0JLF+O+NrYWo6nwnRQGqxOhOVR07FaaXq AAWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TlHMbmMs; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn4si3956376ejc.376.2021.01.15.02.18.46; Fri, 15 Jan 2021 02:19:10 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TlHMbmMs; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729654AbhAOKRn (ORCPT + 99 others); Fri, 15 Jan 2021 05:17:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbhAOKRm (ORCPT ); Fri, 15 Jan 2021 05:17:42 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AA41C061793; Fri, 15 Jan 2021 02:17:02 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id v24so5718631lfr.7; Fri, 15 Jan 2021 02:17:02 -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=6fgRlLkwxsmY7BYgCFdgyzj4S+bI1O7GBJW53PDVtEY=; b=TlHMbmMslon+O19Brt5TtQkGwyv26qSkm5vsYY3VFo14F75GVw4EmaAeENHxrHcD4h RLAcNjncj2Q6i02f1xU17AbdqJmAi2fI/fcFx0QcvgZLAIy7uvMwQghEwSlh11gpNHgF C1KXvLq07euYLF8Npqg+/yROO5dwwzg2CqccIsKE8uSYKmLWudo375H9o+MLRa8JJMMN FdIPJQYwXDHWBpbC4OkaorOuy04fHm2RdsUp/pq9OqYXvuXBsfNrdGSuICLTt2i7OjQN bT+6U6CEalaqFJQk4xQbEoHX3aK7ydSueWNtD1zpE7zA18nraJzgdudjnjGSgBAiN0JJ uRVA== 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=6fgRlLkwxsmY7BYgCFdgyzj4S+bI1O7GBJW53PDVtEY=; b=Kp9bfUgNUhmtIYhcfeScpaYGsIO/EiLScZN9s2K38a34cHTdztJ2SUSdQ976vRwtxq pERJCxQhWfbk5hFB4GQrpUKgz4vCfueAoKBdqNAB7+0sdPCAKQ7gy9Xy4IpzOczIhbkq FbiPeJmvnsAEpzqhx4g+IrrS9YAtqwCBhOgDY2OSUe8xCqshKBvdL6ukANy8qIMe71Kq 5wTffxJiH79t4Jzw+QhSARCpZfKvy5LyYdpotNQRF2eaKSe1nd2W731hpoOqRIzYCw/r 23BQln1Nc1IoUUm1jGEW9NemZJl7PiY6xgxTkJ/oKSexEqZCLOZs/iMjoPUw4HH8GqG+ eoYw== X-Gm-Message-State: AOAM532NNvPHj8de0YgycpRh+ikG9945UNMR4QdWm0F47wrJxNAZQIkn i87obGONLrThT/7Lzwv8w6U= X-Received: by 2002:a19:600d:: with SMTP id u13mr5242339lfb.312.1610705820854; Fri, 15 Jan 2021 02:17:00 -0800 (PST) Received: from endpoint.lan ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id g26sm758033ljn.90.2021.01.15.02.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 02:17:00 -0800 (PST) From: Pawel Dembicki To: linux-arm-kernel@lists.infradead.org Cc: Yangbo Lu , Pawel Dembicki , Shawn Guo , Li Yang , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: fsl-ls1012a-frdm: add spi-uart device Date: Fri, 15 Jan 2021 11:16:13 +0100 Message-Id: <20210115101613.1490837-2-paweldembicki@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115101613.1490837-1-paweldembicki@gmail.com> References: <20210115101613.1490837-1-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds spi-uart controller to LS1012A-FRDM board dts. Device is equipped in SC16IS740 from NXP. Signed-off-by: Pawel Dembicki --- .../boot/dts/freescale/fsl-ls1012a-frdm.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts index 67702667ed8a..9473d16336a2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts @@ -7,6 +7,7 @@ */ /dts-v1/; +#include #include "fsl-ls1012a.dtsi" / { @@ -57,6 +58,26 @@ simple-audio-card,codec { }; }; +&dspi { + status = "okay"; + bus-num = <0>; + + serial@0 { + reg = <0>; + compatible = "nxp,sc16is740"; + spi-max-frequency = <4000000>; + clocks = <&sc16is7xx_clk>; + interrupt-parent = <&gpio1>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + + sc16is7xx_clk: sc16is7xx_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; +}; + &duart0 { status = "okay"; }; -- 2.25.1