Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp140292lqj; Wed, 10 Apr 2024 06:34:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwEWLvEI8dsq3quIvOF0G90PNI+mjGs1nfS/pkJKHk/b/0fNTAjelzdpGkXfbJQDqNNhWUTpIC2/6RwucIXG1pATV4RsfNIb/Dx2UQPw== X-Google-Smtp-Source: AGHT+IFhPQwv7UWVZAezqgmtKEIsn6w+1/HlWI9/BSgoLZkINugjhEPp8WMCzYcu4Pk7DUMKK3VZ X-Received: by 2002:a50:cd99:0:b0:56e:2a21:3017 with SMTP id p25-20020a50cd99000000b0056e2a213017mr2079976edi.5.1712756059763; Wed, 10 Apr 2024 06:34:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712756059; cv=pass; d=google.com; s=arc-20160816; b=hrAXsOR2B6ubKsZD/aqG7gQ5hhFeOAoEU9kA0SdeBCpso5pWUqgV0M7XyicDtbbeh4 5oYOefuVWcjRGtvvQHxFMmmjyywqVwKgrtuquOaqymfxWRDlL2sweMnJwjj9PK+dnK4B LtGx2/daTxbka0cMyGKcsn5c3tlM0A/XXXuYp6XRXF4spBiOt2ZlIE3L84FQUyILgFYA PCVgUuuGTqMQCnH2PGD4POCsVNOH0AU1FDg+Vnuev7EEAeDR7EnF9Qm2maN6qgPG/UZj UsQXvyWoAztbb7JLPsWL521EysRh28jJMbv9iuH1+LXQANVC+tgiqOHbvc9+n7qDYge/ he9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=iYVwB8vW65yP+e5oYjDvcQFJOu8T2Bht8INsJ+n+n7Q=; fh=y7VKX694VLH2eb03/y0ljujQLJGtNdYVa6lu5bfy0Mc=; b=L5oUE/hwH3j+B+DP4f7TnJsJ/7YfxwKELH33Hzy94zwUehF2dseqpO8hQJvl6L2iUK IpvdykoHHs3bTwdbJ1Hu8RDfHC3bw7O6D06acpeB0Z4xxFgHTnUnO2EmN0d4BVeQcrcn 9dZoYix7IGsiJhysAQms6BxoPTtmroHAjaIY4Tci0jRufRZvR8izbTJeN21RLs2bEPpN CfeqsE7Lwp6KDIKuLrLfN58eO0xaCBtZ0VHYSCPlsFTqNfhPDNb95nMGCxPmFnIKOKcn so/NbKHi8LxcQzVUuq3rUbqpN2WGpWY6Fwif0M3Ufh8Rp96UkGLo4ilT3KqWMNx+QI0I cxFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-138583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138583-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c24-20020a50d658000000b0056bfa25550asi5646808edj.302.2024.04.10.06.34.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 06:34:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-138583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138583-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E74AE1F2C429 for ; Wed, 10 Apr 2024 13:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F390915F316; Wed, 10 Apr 2024 13:19:16 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 726D215E5C3; Wed, 10 Apr 2024 13:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712755156; cv=none; b=hrqLoWwLuNbGAw5vOkBfac+fTRoMDEMK4GvdubyZ0/HjSwG+On4CHZ/zj8crQ34I9BOtDQAoK1vsvG+WxYeekkHShha4+r08pymmPyCgDJHvekCDw+quHtudCrFkug+acqmNq4M3NOt7llEocfuOBdosq+WdGmq1H45OmeHxvGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712755156; c=relaxed/simple; bh=5O4fmy2vjH3L0s3zrjGmErdy2p3sZ4emy2NNtUuD/Vs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JektFyQfyUoRp43d86yKrS9jcH4CQK5sZf/QzyPa4tZfFPu8PFHk2etcaZxu9Z3eDs+088sCUUDet/gdmb1vh/GmlSFOtEYOxuFVwTEcwXZeu+lJI/43H7AK+yqJuPtjKqJy4B3v9GIeZpSLscBRC+lD5oI1xy2b8zs8oeAxgVY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6B14C433C7; Wed, 10 Apr 2024 13:19:13 +0000 (UTC) From: Huacai Chen To: Huacai Chen Cc: loongarch@lists.linux.dev, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, Huacai Chen Subject: [PATCH 1/4] LoongArch: Update dts for Loongson-2K1000 to support ISA/LPC Date: Wed, 10 Apr 2024 21:18:01 +0800 Message-ID: <20240410131804.2165848-2-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240410131804.2165848-1-chenhuacai@loongson.cn> References: <20240410131804.2165848-1-chenhuacai@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some Loongson-2K1000 platforms have ISA/LPC devices such as Super-IO, define an ISA node in the dts file to avoid access error. Signed-off-by: Huacai Chen --- arch/loongarch/boot/dts/loongson-2k1000.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/loongarch/boot/dts/loongson-2k1000.dtsi b/arch/loongarch/boot/dts/loongson-2k1000.dtsi index 49a70f8c3cab..b6aeb1f70e2a 100644 --- a/arch/loongarch/boot/dts/loongson-2k1000.dtsi +++ b/arch/loongarch/boot/dts/loongson-2k1000.dtsi @@ -100,6 +100,13 @@ bus@10000000 { #size-cells = <2>; dma-coherent; + isa@18000000 { + compatible = "isa"; + #size-cells = <1>; + #address-cells = <2>; + ranges = <1 0x0 0x0 0x18000000 0x4000>; + }; + liointc0: interrupt-controller@1fe01400 { compatible = "loongson,liointc-2.0"; reg = <0x0 0x1fe01400 0x0 0x40>, -- 2.43.0