Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3599182ybc; Mon, 18 Nov 2019 18:24:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzKVajLRjlOeOQgaaebh4SAOPaF6MczMG2cWBPhJOd/eajbblZ2p8IUPytIIKirTXZVXqq/ X-Received: by 2002:a17:906:4b48:: with SMTP id j8mr18119819ejv.101.1574130267873; Mon, 18 Nov 2019 18:24:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574130267; cv=none; d=google.com; s=arc-20160816; b=NU3mjOOLtS+upSPD+3t9tJf5lxKCb1orpFfucMkyuyXCStdTdMDb9JkKzyec+zvgGB rqYiMeFPjoeGXvW7OoPypwTTy6J1g181ZkgGpB7RrbCGNukygGmPWNqk6Uw8ngyAgZv9 HinTbAk3Qmkx2iH/C9hb/Y3RChriTLqR+1iBtM8GIpoKy2WxK+JOCie9ZCXWeii9pSun yeZ4kDziB3U2nM7PxgzGHc3MLWhDJotxlPqIU5EtQX2iiYHV4BhYWVbjjahGS769ldN0 DAGbMyujuqgZBxSfh8X9Gcus3uw0WND+QdyzOxC6VaXSwbNv+zK/bP0RjrqMmqaRrPc0 S5Vg== 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=S7gJUA3PRwYdsDO6S11Cj8d7qSd3BrFYomAZ+s6sJCU=; b=b/4TmTuilJgdPGbwgksl2HdGUmKkJBUU00YnBO9DTyOmWUGNOSv7iwlOkAYwcUnPaj yq21y/Iyzp98Zk+h9/WlNXafGKe/7NFXb5XmzoQWisZrKeO6h0tQAsjSADx3Gpc/zaxH fsL+k1StR5fzC3pb6cCB/hqlFAtg7SzBMlb++Ujlmrx5XyoUwp7DQGsCJiCurQ4u1r5M yGuFIMl4SXYVSNqf6Yf2RqAtthEJp8Wqusv82lUPtebIS6EzTMwABADyUl29VAePXG4e 17qmfdFPaiAdCRmqesB+WSr30CxxUbAkryYM9aAQiDfprs95hYO2AMr22enfwiz8nDUG dFtw== 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 y18si13314520edr.347.2019.11.18.18.24.03; Mon, 18 Nov 2019 18:24:27 -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 S1727506AbfKSCTv (ORCPT + 99 others); Mon, 18 Nov 2019 21:19:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:58010 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727059AbfKSCTZ (ORCPT ); Mon, 18 Nov 2019 21:19:25 -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 5C6F1B328; Tue, 19 Nov 2019 02:19:23 +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 3/8] arm64: dts: realtek: rtd129x: Add irq muxes and UART interrupts Date: Tue, 19 Nov 2019 03:19:12 +0100 Message-Id: <20191119021917.15917-4-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 to RTD129x SoC family. Update the UART DT nodes with interrupts from these muxes, so that UART0 can be used without earlycon. Signed-off-by: Andreas Färber --- v3 -> v4: * Rebased onto chip-info and r-bus * Dropped schema-violating second interrupts for UART1 and UART2 v2 -> v3: * Added nodes to rtd129x.dtsi instead of rtd1295.dtsi * Adopted misc compatible string * Renamed node label from irq_mux to misc_irq_mux for clarity v1 -> v2: * Rebased arch/arm64/boot/dts/realtek/rtd129x.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 7d56c9f5d48a..188b4f256917 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -86,6 +86,14 @@ #reset-cells = <1>; }; + iso_irq_mux: interrupt-controller@7000 { + compatible = "realtek,rtd1295-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>; @@ -105,6 +113,8 @@ reg-io-width = <4>; clock-frequency = <27000000>; resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; + interrupt-parent = <&iso_irq_mux>; + interrupts = <2>; status = "disabled"; }; @@ -115,6 +125,14 @@ <0x171d8 0x4>; }; + misc_irq_mux: interrupt-controller@1b000 { + compatible = "realtek,rtd1295-misc-irq-mux"; + reg = <0x1b000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + uart1: serial@1b200 { compatible = "snps,dw-apb-uart"; reg = <0x1b200 0x100>; @@ -122,6 +140,8 @@ reg-io-width = <4>; clock-frequency = <432000000>; resets = <&reset2 RTD1295_RSTN_UR1>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <3>; status = "disabled"; }; @@ -132,6 +152,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