From patchwork Tue Nov 19 02:19:14 2019 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: 179627 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp2847ilf; Mon, 18 Nov 2019 18:19:45 -0800 (PST) X-Google-Smtp-Source: APXvYqy3wbis5d9gHjxOE6PRTTeU0Krko4zAYLyZBWQ4oHmdxEYX0lB6DW3ztYgyu6zfv7mAZDa7 X-Received: by 2002:a17:906:3710:: with SMTP id d16mr11832683ejc.132.1574129984921; Mon, 18 Nov 2019 18:19:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574129984; cv=none; d=google.com; s=arc-20160816; b=fpzFIYgRU0Jc17p7g0aJWqnJ0OvkytiXzPLZDb5iOt5tPHYi4DveFgzgZzGh2YLwT/ 7ZZzn4P8YNEgjEGlVIqG/Haoq/wsFMwtK7EZpt0tsPXnOgVvQefE8E6eFimg+G/XIu4F um5tyrBNjnChepJ2X+8eKdD8pYRnVa41FJiIpCdDwK/vjd9ekcjRIuiJgKwx5+1TTUMm ufaqnK/YUlglZu6Zp9AAdAXWGZsMpqpeAeiqnorvDMw3p6O9WdN4StX9maKdIwjEsMbd 8Ejq8E8GDL7nOS/r9MwHwfHEut8kyhxU63rqFC83qwRRsYMP10XIOACDTVUntB7aQziM S1Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6P1eSBkIB1e15wf7zvomdHE0S2V4NqFR1bev/Af3ew4=; b=FArx4xSrcasUYpRV/+vEFkOHfypdfN8hmPjroiJlJlOEGNfwJxGwn5uShJniDXxZnX v+2ousdudgSTnCfpQLSQitWZufSgwbi23YTyKVVWnmLAVJQ3YEXc7zribvVNLfh9tozJ Xq8DVgn3PC70ufBv+hW9Xr1PVo25kyfafWA8JSk/lQ7L4F8Rg4PgWw4E4+lhhZk5gOMa 9mu4gm3r3Iycff77gM9jUxyRGajkxCeevZYANlC8hce87NcNpMIhMbu8pltdG7Pbzy3K vfVuh/jR1Kpd9mLXvjoC0/vTXNrWXgmOrzUTyQIsggeDbPY33+XZgCzpX201H3LzYcXv vguw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si12783435eji.269.2019.11.18.18.19.44; Mon, 18 Nov 2019 18:19:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727470AbfKSCTi (ORCPT + 26 others); Mon, 18 Nov 2019 21:19:38 -0500 Received: from mx2.suse.de ([195.135.220.15]:58036 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726761AbfKSCT0 (ORCPT ); Mon, 18 Nov 2019 21:19:26 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 359A4B330; Tue, 19 Nov 2019 02:19:24 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v4 5/8] ARM: dts: rtd1195: Add irq muxes and UART interrupts Date: Tue, 19 Nov 2019 03:19:14 +0100 Message-Id: <20191119021917.15917-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191119021917.15917-1-afaerber@suse.de> References: <20191119021917.15917-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add iso and misc IRQ mux DT nodes for the Realtek RTD1195 SoC. Update the UART DT nodes with interrupts from those muxes, so that UART0 can be used without earlycon. Signed-off-by: Andreas Färber --- v4: New arch/arm/boot/dts/rtd1195.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index db1171c5adfa..ee7761ae4ee0 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -118,6 +118,14 @@ #reset-cells = <1>; }; + iso_irq_mux: interrupt-controller@7000 { + compatible = "realtek,rtd1195-iso-irq-mux"; + reg = <0x7000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + iso_reset: reset-controller@7088 { compatible = "snps,dw-low-reset"; reg = <0x7088 0x4>; @@ -137,6 +145,8 @@ reg-io-width = <4>; resets = <&iso_reset RTD1195_ISO_RSTN_UR0>; clock-frequency = <27000000>; + interrupt-parent = <&iso_irq_mux>; + interrupts = <2>; status = "disabled"; }; @@ -145,6 +155,14 @@ reg = <0x1a200 0x8>; }; + misc_irq_mux: interrupt-controller@1b000 { + compatible = "realtek,rtd1195-misc-irq-mux"; + reg = <0x1b000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + uart1: serial@1b200 { compatible = "snps,dw-apb-uart"; reg = <0x1b200 0x100>; @@ -152,6 +170,8 @@ reg-io-width = <4>; resets = <&reset2 RTD1195_RSTN_UR1>; clock-frequency = <27000000>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <3>; status = "disabled"; }; };