Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3598830ybc; Mon, 18 Nov 2019 18:23:51 -0800 (PST) X-Google-Smtp-Source: APXvYqztf9c+hDIfUuBR3NiOU63kmw9Df8rfZRVnGDkSrHMlPuR6cQkUi6uFIBeHAd3x//aU0lO8 X-Received: by 2002:a17:906:32d0:: with SMTP id k16mr30136258ejk.155.1574130231668; Mon, 18 Nov 2019 18:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574130231; cv=none; d=google.com; s=arc-20160816; b=WIpCsc8EgSh1+ewsZwU6VV7UbXKrhAT7WhuKFxfnfq26lf1vi3r1spTe/UAb3zSuDy MkM54CXVsOOxWvU0BIXmqLe9f/Edf5q0t+nkinZgI7D3u0CheSRDfjy1iawqgygxMZi2 dfD2Va2yvFhJgufk5u2uV4GYQIW95I4XAoGSbur3DvZ3eY9jXdfzYTYOYYHcun3ut46E IyaTEKygRTQOP/x397GPa4R1FCcCk4ZxPoKqAKbcpM5kjx+Igynt+DVBPDjY+lUcHPF7 7adepZxzvvIm9z9OMom7T1YeqIRwNaVbJgEWlSLaoLcEj6qpSLKU86Y/BXeNtG4Yi1ts FQQg== 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 x17si13248169edq.340.2019.11.18.18.23.27; Mon, 18 Nov 2019 18:23:51 -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 S1727460AbfKSCTi (ORCPT + 99 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=20F=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=20F=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(+) 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"; }; }; -- 2.16.4