Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2780633ybc; Wed, 20 Nov 2019 21:04:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwg0bXbTGMcqaJiWIXfTLJ71J4eDVQknNm/tYKgx/3B9jw5oNCborIoK3mLiLYIsBqxvJFl X-Received: by 2002:a17:906:4096:: with SMTP id u22mr10830798ejj.264.1574312666909; Wed, 20 Nov 2019 21:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574312666; cv=none; d=google.com; s=arc-20160816; b=G84k0suauM0trtjm2YOm8UEFRTGUCRPSSbhuXGdv2lRs+q7rMp0Q0Y1EI1wlEF21n2 +AlKkrvzdAkylmrGJH4Up6u1ei29p79VIurLT1nQmnOJkGpgEvMyrReyI+7fwDpg+ypb nH8TdZspv6TK1a6s0Dz8CLnMFPEDKzqFjzeg7+0dZKmIcqnMAmJ9sRzKCpA0Z5Gjyi0E kfBoVILI378BlQhJcoo9OfffSWfa0DeJ1iMSm/6No4+68+yMYsToW/95SNxJvA0NGvgW woV07rDxQPIU90+T/VFE9TWwrrLEkxhdUz00m2k9j5d0acC/OGwb0RnKPVhL68/FmmZv Rcvw== 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=zAnmQfc3w01ah3vUf7UYKf6AOsGkgtuUJmElCOlYrbM=; b=Z5yjG7IREqF3P8YJDZJWwUSw7riUdRFoP3hfP6kQ6QiA69HMxJZqWPVF2BKut3P+9E h7jEZSg2x/Fvzlhvvq5gTxQS0Wt7bDKNv7YQC6HK1KYNS7j/iHUJNmS9/9pt57Ahbavz FZtAqdkRIxzARUflEzD8lm4VdUqvCOHHM8wxXfXYdrxIjOV+1Dxg/SXzFacZn/3qL91+ hkQz/eicQdOOrY4NSCnwUnrpWSf0wmXmPrXL0AJMNgc0vigftrjz3JLkw2o22WeWhK8i YxmYd/NMWXwzSMrqA9KPB/Zq8RppgGVvYU1jiK23KOQUFtsZvjXppMPTkpnH0p1+fQlr 8dLw== 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 27si1129981eji.207.2019.11.20.21.03.57; Wed, 20 Nov 2019 21:04:26 -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 S1726875AbfKUFCi (ORCPT + 99 others); Thu, 21 Nov 2019 00:02:38 -0500 Received: from mx2.suse.de ([195.135.220.15]:36490 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726502AbfKUFCX (ORCPT ); Thu, 21 Nov 2019 00:02:23 -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 C0F52B183; Thu, 21 Nov 2019 05:02:21 +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 v5 9/9] arm64: dts: realtek: rtd139x: Add irq muxes and UART interrupts Date: Thu, 21 Nov 2019 06:02:08 +0100 Message-Id: <20191121050208.11324-10-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191121050208.11324-1-afaerber@suse.de> References: <20191121050208.11324-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 -> v5: Unchanged 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