From patchwork Tue Nov 19 02:19:12 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: 179629 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp2995ilf; Mon, 18 Nov 2019 18:19:55 -0800 (PST) X-Google-Smtp-Source: APXvYqz+bp9VQ57y/WbYy1p/st01UlkXv2M7DqdrWJH5ke5XUuRn0SwkoRA6+3dZ/OhMnfDtpnPY X-Received: by 2002:a17:906:e110:: with SMTP id gj16mr29283550ejb.124.1574129995476; Mon, 18 Nov 2019 18:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574129995; cv=none; d=google.com; s=arc-20160816; b=mvldbPlOYKnafuPpBKGXdGyI0Qb31CacQql/9BCVVlz2mMIhr07PuVCI4Q6j1tVsb7 xRMxLiTsl0ObOXRpdc23Ia3FLxaXGUOneQiYC1legMp4zx3X43mK1/K93wA8Lv7p9hAC QyDwjKcimOfovP9UXIMtnZRqpCa+SAp1o3HYCSlsJ6qMShvlQFQPRV2ItavZQBrfvD2+ ZZGt8423rLhfvpovuViOkOv/+WTNo13Xzu2+h9vPWNxsUXLyPFg5lW/efXpuTG/KkZr9 OEB2Ym9Zj6dVm9+xsImI+uUPPsBTGTeZBOz3zpRv2piRSTNOwEh8xE3GQkpIFGBG3m8Z aJzA== 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 bi17si15170019edb.430.2019.11.18.18.19.55; Mon, 18 Nov 2019 18:19:55 -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 S1727512AbfKSCTw (ORCPT + 26 others); Mon, 18 Nov 2019 21:19:52 -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_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 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 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(+) -- 2.16.4 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"; }; };