Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2331321pxb; Mon, 18 Jan 2021 15:08:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwL99DBCybOg9HBVCWMFjVzoYKFSKsgzxJRVGxhRizD+BW7mGLtoh/0x6JQp9jyrZI4He3J X-Received: by 2002:a17:906:5002:: with SMTP id s2mr1182980ejj.16.1611011322690; Mon, 18 Jan 2021 15:08:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611011322; cv=none; d=google.com; s=arc-20160816; b=He2+eqvm06FhkPJv5APwsBx9iCQgnKHZniuRXJRbw1SnGYrG3Qma5cz14fVgejQtOV zLR9jRbjVFK0CbaLz/aVU46CwX6WZdM2rUBCMlITwkk6AC9T1ppTHtIcWMH6nsFkfWnt NxKloOxlO0RlRPl2HKp/hq3Zv9DcO+GOabUvjStFtItOtFxko70eUHkDQcqKLkHOXRhJ P5X+SNBqWET2vKMDw7psnyzA7M8rzOhMrS233dAUbCwEZfhWv27T9DFcLYlnbGSrmt0D ylA6JzStwC5PLbqtqkGhG8CCPrGSXRZY951e4q/4j8MEiKFqKNk0eYmf5T5Dvcq4dhBA Urcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ynGhdMGCh0VfPS9XReW0DUdy0qMm9/O9HbiP8RqfmzU=; b=XA+iaWrlr7xUM9XYns2L0s0XGmXENt7XYb4m75dap0T+hmjVyUmj3Cg8rs6bnPWMEe d6F3NED3zaKe7mhjapZhxVY8Ftggpcbue99oSC2T5VV5DFVKwPcMsj3g046B1aLyH8kc vl0bGjlHw1sbwv/39DjIz9u9mqqoV52FmwhQmVsZ0Z/3D0iEgMvOggCi6QeUAt0N4Btg m/KPKb2L01MU/zW59nxdq1KfZ+rZWL6c03NYCN58WEGVigCGJR6wasEq0GGjvhDFUYuq 3l1kR35vu0TCzsafJu4KMS4gjSVNfSI1pmwWm+JIv1thVYBqZ6JaYgUCAEcKSgeko6io dSoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UeqbX3Kq; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be5si620860edb.385.2021.01.18.15.08.19; Mon, 18 Jan 2021 15:08:42 -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=@kernel.org header.s=k20201202 header.b=UeqbX3Kq; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732926AbhARHjI (ORCPT + 99 others); Mon, 18 Jan 2021 02:39:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:44598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732733AbhARHjG (ORCPT ); Mon, 18 Jan 2021 02:39:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BDE08221E5; Mon, 18 Jan 2021 07:38:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610955505; bh=7oHB7NQzZBBuIwVDW4GoZ51rO4/VcaQdYrs8EhPQSAE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UeqbX3Kq1gKB9ohMu6aJnAU5aTocwuAU1VEGvjtHK2/f8hIm7YOHW7ttQCs1ak8Zg u9CrRLP0Nta36Hq5ha/PIA4+zRmBrGn3ov6hUWJqUGG6scUITYHipc/yiPgdpfFsXs rntbBxUSoVsXjj+Y9cygHjhz+/o16/ZgwdpcPH/y8qPAmabEjI6ARlZMGKMZWwiGWt W34j54mbWQ9D+R8IW9j/ezTYomIhEDUa5/2sMrGOiwmcMOZKip2AAak/Sl91/D+GTX pXJBuou5HWgI2JiARSyuPWPVcCfA+37Xb1CdLsQxtJgL5v1luzWkAKZ50ZChiDFNN7 mfqFKb6DnXhrA== Date: Mon, 18 Jan 2021 15:38:09 +0800 From: Shawn Guo To: Pawel Dembicki Cc: linux-arm-kernel@lists.infradead.org, Yangbo Lu , Li Yang , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] arm64: dts: fsl-ls1012a-frdm: add spi-uart device Message-ID: <20210118073806.GR28365@dragon> References: <20210115101613.1490837-1-paweldembicki@gmail.com> <20210115101613.1490837-2-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210115101613.1490837-2-paweldembicki@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 15, 2021 at 11:16:13AM +0100, Pawel Dembicki wrote: > 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>; Let's end property list with `status`. > + > + serial@0 { > + reg = <0>; > + compatible = "nxp,sc16is740"; Let's start property list with `compatible`. > + spi-max-frequency = <4000000>; > + clocks = <&sc16is7xx_clk>; > + interrupt-parent = <&gpio1>; > + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; > + > + sc16is7xx_clk: sc16is7xx_clk { clock-sc16is7xx for node name maybe. Shawn > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <24000000>; > + }; > + }; > +}; > + > &duart0 { > status = "okay"; > }; > -- > 2.25.1 >