Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3597069ybc; Mon, 18 Nov 2019 18:21:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzGWXUSL1SX7fCO1G9awAV/cdl5LSRHHoHftGeKSeMqI20xE0A/zPBcc0L9Ek6I6tOcmoF8 X-Received: by 2002:a17:906:dda:: with SMTP id p26mr30272957eji.77.1574130075991; Mon, 18 Nov 2019 18:21:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574130075; cv=none; d=google.com; s=arc-20160816; b=Dy23VtPK8dWdx6xMw4KuxmlNmVAZKcrktIp+M5P0F3KQQlKNwNah4A4GkPH5A1OVyF Zl+ZTIe6Fgx9tbIiWVUW1ZH12xq03yCAp9jl2VWGlVCUUS1td+cp3terlo8NUpqqehXQ jZEbhL2rxvflT1DtkezpDyJAUrD4tacMyFtrdcvG8n8x7NSrEJK9MMT4SvueMY2VxBti /gXcla0J6kKuK3nWonIvdvMK6mWDR1o2hKl3y3+cS1gHOZ+K01sVHFH961QQsO+OoXuz DsOum7Eq6MpjY7Lry8P18LJz09gazlnN9LcZXOOA9Fh5XWWQvnF0fdg9vUTwZ8WsqijZ CQIg== 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=gtJOQOPdD1dk9lG3qUN53LxDXbiGWToFm1h1HWdjZwo=; b=OG/Fu7hoJEyuSYbDD2HoE5JhBl0i/XfxzmX2GrWIdy84IeJ9R1ChfsC6bksjo8IPka E9Xz1X3w4RRQx783FD3dC5l3jI4ycD2/C3ARqzww3uMxp8rQ1Bz82CaVBS+pCa58jcH5 4wYMSr+88ahLjPpldNsLC6VXkzwsC3F6k02CuuN+3Fiq5aeeqMYqc7aCRoeKtgJHznol Re0SFjhxfuixYQC5lY2uP4FByXyCptvoqrUnM9Rtm1f9ggd/0tNGzf53M7LWbxhEKx3X SrZtrsn2GvjzU/o1p39yIjSs189Xk3ugLImlcOK3IXmZ8MOnKbhPVpevCYafYSwwXh9S XXgQ== 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 ce16si13522516ejb.118.2019.11.18.18.20.47; Mon, 18 Nov 2019 18:21:15 -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 S1727421AbfKSCTf (ORCPT + 99 others); Mon, 18 Nov 2019 21:19:35 -0500 Received: from mx2.suse.de ([195.135.220.15]:58068 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727336AbfKSCT1 (ORCPT ); Mon, 18 Nov 2019 21:19:27 -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 7B32AB336; Tue, 19 Nov 2019 02:19:25 +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 8/8] arm64: dts: realtek: rtd139x: Add irq muxes and UART interrupts Date: Tue, 19 Nov 2019 03:19:17 +0100 Message-Id: <20191119021917.15917-9-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 Realtek RTD1395 SoC. Update the UART DT nodes with interrupts from these muxes, so that UART0 can be used without earlycon. Signed-off-by: Andreas Färber --- v4: New arch/arm64/boot/dts/realtek/rtd139x.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd139x.dtsi b/arch/arm64/boot/dts/realtek/rtd139x.dtsi index 706da12f9ea3..f53cb8a5083b 100644 --- a/arch/arm64/boot/dts/realtek/rtd139x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd139x.dtsi @@ -84,6 +84,14 @@ #reset-cells = <1>; }; + iso_irq_mux: interrupt-controller@7000 { + compatible = "realtek,rtd1395-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>; @@ -103,6 +111,8 @@ reg-io-width = <4>; clock-frequency = <27000000>; resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; + interrupt-parent = <&iso_irq_mux>; + interrupts = <2>; status = "disabled"; }; @@ -111,6 +121,14 @@ reg = <0x1a200 0x8>; }; + misc_irq_mux: interrupt-controller@1b000 { + compatible = "realtek,rtd1395-misc-irq-mux"; + reg = <0x1b000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + uart1: serial@1b200 { compatible = "snps,dw-apb-uart"; reg = <0x1b200 0x100>; @@ -118,6 +136,8 @@ reg-io-width = <4>; clock-frequency = <432000000>; resets = <&reset2 RTD1295_RSTN_UR1>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <3>; status = "disabled"; }; @@ -128,6 +148,8 @@ reg-io-width = <4>; clock-frequency = <432000000>; resets = <&reset2 RTD1295_RSTN_UR2>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <8>; status = "disabled"; }; }; -- 2.16.4