From patchwork Sun Mar 8 16:32:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 203654 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=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, 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 E1EEFC3F2D1 for ; Sun, 8 Mar 2020 16:32:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB2462087F for ; Sun, 8 Mar 2020 16:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbgCHQcx (ORCPT ); Sun, 8 Mar 2020 12:32:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:45012 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgCHQcx (ORCPT ); Sun, 8 Mar 2020 12:32:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 79F1FB2F7; Sun, 8 Mar 2020 16:32:51 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: =?utf-8?b?V2VsbHMgTHUg5ZGC6Iqz6aiw?= , Dvorkin Dmitry , linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , devicetree@vger.kernel.org Subject: [RFC 11/11] ARM: dts: sp7021-cpu: Add dummy UART0 clock and interrupt Date: Sun, 8 Mar 2020 17:32:29 +0100 Message-Id: <20200308163230.4002-12-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200308163230.4002-1-afaerber@suse.de> References: <20200308163230.4002-1-afaerber@suse.de> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Andreas Färber --- arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts | 7 +++++++ arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts b/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts index 3c25b6e79fe2..455416ce9d82 100644 --- a/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts +++ b/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts @@ -15,8 +15,15 @@ chosen { stdout-path = "serial0:115200n8"; }; + + uart0_clk: clk { + compatible = "fixed-clock"; + clock-frequency = <27000000>; + #clock-cells = <0>; + }; }; &uart0 { status = "okay"; + clocks = <&uart0_clk>; }; diff --git a/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi b/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi index 7e424baa9214..48c5986a31ed 100644 --- a/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi +++ b/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi @@ -86,3 +86,8 @@ #interrupt-cells = <2>; }; }; + +&uart0 { + interrupt-parent = <&intc>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; +};