From patchwork Fri Jan 15 10:16:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 12022163 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42165C433E0 for ; Fri, 15 Jan 2021 10:18:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 F1437235F9 for ; Fri, 15 Jan 2021 10:18:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1437235F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TuJfyFqjpFTTa9tdIy3N/1H1vNwPore/rTsIAkiY6Tk=; b=bXSwuybocOwoArdHPm07QC2NR r23G8HUEXYvaDoCs83fvozLlqbWuj8gGFhYkXn6OYz9WKdbSpNgXfd4vNXUnO/swUb48rm1e8v9vs tJMH2RzbxM6MaBYy4xbTQJkcxmmLpVY8FaMVul2mSPa5tFnXKw1kQfUnB8T6jI8PZcZ6gmSoIu89d OJ/WvZqIi5Rg08uauX8GlO+T6/BRppSlCsh5fUB0hgIBR7ATzmzZmYnaQgIIRzlnjK1y/emxKcE7w esFl49xxZico2RLK254wElTsAQbg7r283d/AnElLK7ZYaSSokq/260raIlWYb+gQb1JNDd0D8CS/E C5/cMGGWA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0MAF-0001cG-KA; Fri, 15 Jan 2021 10:17:07 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0MAA-0001at-Ou for linux-arm-kernel@lists.infradead.org; Fri, 15 Jan 2021 10:17:04 +0000 Received: by mail-lf1-x12e.google.com with SMTP id h205so12358660lfd.5 for ; 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=EWC37UTmetOXRPS9Pa8iKoSMTqZH54+QuGWfA8WjO7WxIhY/r9ZODVogVELybFf061 tQhCsLlsmqCvE8uzqjlw9sUDv66MLHm2AwnxaZTvWREAwRl22X8yrgo9nd8MxaKUKZHx 3B/51e0Qcmn14pGaTiGFxRRwE/sXzlhM0vVSza+JhIl7UpQ2gmngEwRiOfp2AdsOIP7i 2NTYEco5gUvtJokv8B+E26o4oxUOiqq7lcXiwQPTFkflKM+xBmVwFLn20fTLqzG1/6Da iXLTOEQ6HiglC5oSuaCp6yAQggMGKLoOoj/r2o8L+WfveGvZakns/JPj+woYkGs728PE KHFA== X-Gm-Message-State: AOAM533U7BVug0f/gTuSxR3SW2MJTgeQTRaKmos6inlAXnMWXYoYsPfi veVYxaVXTdLJF/8nphNZ7l74XSgrV93gkQ== X-Google-Smtp-Source: ABdhPJxTQRfxiWTZ+haizQueztCjKL3UrnWo2+rFVHOeIaOwvfZEDEhqrtFMnDb7ffHtlO+uVHzqsg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_051702_896403_8C786410 X-CRM114-Status: GOOD ( 12.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Li Yang , Pawel Dembicki , Yangbo Lu , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; };