From patchwork Tue Feb 18 19:52:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 13980740 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB75126FA60 for ; Tue, 18 Feb 2025 19:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739908358; cv=none; b=dVoas7XI2T7T9vjmfxp+kKs7CKzEPtdAooKflKJd7pwYgDahfb9gJQGVE7B2La3NTxSukYy7PJo5doSq2oGmqkxzMJd4mDA9I+GElSAEA3Biwk6l1hEllhrWcvKSGin+eCrG80PIJI2l/W33U9TcxxHlC93+8hrW/bHSt1clzjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739908358; c=relaxed/simple; bh=ruLYddTOT07Jf51VjD0tiKsSuUPQNuBrVQvIum8QX0U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bwdo7+ge0SO0UTASxQBwXGzcGgEBCM7wH/aRdnFgeEHHlCuMA53zUBEuRa1ZP7KfJidkhAY5cogPstZS9eHnezxPoC1NHAdyMRlztskx0CV5/Hvxaz8Uu90vPQTttg3zON6xIJTdaxLXhQfu348YhPAu9OXvzQunvBgF5MuaPfM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=T7/HkoVm; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="T7/HkoVm" Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 568AF2C03C6; Wed, 19 Feb 2025 08:52:35 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1739908355; bh=7Hz9wEMK0CGbnko5fjaTgnXMWOgCcf1nXU3UkRtjmGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T7/HkoVmG48jSR4QiMNDox+1DwNfKMtzPvuR8UzZG2jCk7foSLDDHCka4gJk6M2uu yFDG65blLBONh6zr67ZqaWVTr8LKVJMpU1dhlzcrppavXsg4RzKH60ZhRVOOmLJjDq grOVov+GjHOlQqA7M117VdKcOhwlp2adgSOAdIaIFpmgzZOouHJxok0k0H9IGVXwSY O1mKK5MegRBqa7xyJYj7PjNzvyNT/gq7CULsh6lqNrhZMBUAU/32ypfUkDSDAWAkXd JTTmJlQYWSh8kcMCeMZNqDCT19EA5pt6Vx0wo+wcayHKVxNtMpjEHoh6uxWrPPJg5u GYeXe2+VzyWWQ== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Wed, 19 Feb 2025 08:52:35 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 2D1FD13EE36; Wed, 19 Feb 2025 08:52:35 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 2A1BF2804FB; Wed, 19 Feb 2025 08:52:35 +1300 (NZDT) From: Chris Packham To: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, tsbogend@alpha.franken.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-mips@vger.kernel.org, Chris Packham Subject: [RESEND PATCH net-next 4/5] mips: dts: realtek: Add switch interrupts Date: Wed, 19 Feb 2025 08:52:15 +1300 Message-ID: <20250218195216.1034220-5-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250218195216.1034220-1-chris.packham@alliedtelesis.co.nz> References: <20250218195216.1034220-1-chris.packham@alliedtelesis.co.nz> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=ccpxrWDM c=1 sm=1 tr=0 ts=67b4e503 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=T2h4t0Lz3GQA:10 a=UJtzyOLMF9nqRlb5STYA:9 a=3ZKOabzyN94A:10 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat Add interrupts for the rtl9301-switch. Signed-off-by: Chris Packham --- arch/mips/boot/dts/realtek/rtl930x.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi index 17577457d159..beb5ab41cb64 100644 --- a/arch/mips/boot/dts/realtek/rtl930x.dtsi +++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi @@ -33,6 +33,9 @@ lx_clk: clock-175mhz { switch0: switch@1b000000 { compatible = "realtek,rtl9301-switch", "syscon", "simple-mfd"; reg = <0x1b000000 0x10000>; + interrupt-parent = <&intc>; + interrupts = <23>, <24>; + interrupt-names = "switch", "nic"; #address-cells = <1>; #size-cells = <1>;