Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3978442pxv; Mon, 28 Jun 2021 18:21:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwNhlQwqASS0fBwyH4Vr87RSVEGAd8flvolwx1J/Rwm+rx3FZ6hkuCM9+cE2PWn96dN/yK X-Received: by 2002:a05:6402:10cc:: with SMTP id p12mr37073609edu.328.1624929663579; Mon, 28 Jun 2021 18:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624929663; cv=none; d=google.com; s=arc-20160816; b=FZxBt6MdQqunGC1wnpR0HqWaDTJEcLl/kEhZ9y+f8AiPsCmbqQgu2s2SwHaubfbsQq XZSKayY/H7zxoJrnC4MCXjJ5ur1PP3egDozwYpcPWj4oj7KZuAUrPHagtUdxIG4h37kY SZtPZQdnhz1Om9U8+Zd5tce9bHi/o5TlRcJMUZE/z7jxCr6S4iy/P/KvAwIyBuk4hWKb PAwNXSNfOHIEQz95PWItVFdZLdHXfwvelUPUl7K8sGHXaK61ZgyOJO6DUB/KXhnFVDll dolqzEfw3rtKyz7O+6PVHhuGoDl/PtNTSDlv05VXUaUEC6+/8TcQaOop7N5j1imeRvti pEFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=veJ1sx4Tivdwm3xCfZPFWJOGBLuxsjlCDhs8Hb2lHs4=; b=xeVyZqG36jiMcdcOCo3sz37M4JhfvflQDqSoxyHYLWPuZwDsYA9TYiiwJtlDNehCZC skkPCpFl/88nU1fHjJTNZ5QnkSNxTOece8KOjhW01u6NBafMV8WZp7z74bYv92lkU5Em dDSuyGMZ4ITWE1Kb6tMdZ7hq9vXDHliwP3vVaW3NnJtUDyPqNoPX4eBX6e97zkk0zqg0 IQK5ACESDUnBqV5Xw2gDzU56mduG/goUiajwrxaA6ivDXB6NOx82i3v200QfOTgN94g8 haelZB0YvS7nh14bWxSiQXRy8IMv0aYWx6zN3mmwCgxxhZh6eh/AxigNr6PFCJEzB57t wqOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si1807063ejx.636.2021.06.28.18.20.41; Mon, 28 Jun 2021 18:21:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232025AbhF2BVs (ORCPT + 99 others); Mon, 28 Jun 2021 21:21:48 -0400 Received: from mail.loongson.cn ([114.242.206.163]:46396 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230483AbhF2BVq (ORCPT ); Mon, 28 Jun 2021 21:21:46 -0400 Received: from localhost.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxP0ERddpgWAYaAA--.9325S3; Tue, 29 Jun 2021 09:19:14 +0800 (CST) From: Qing Zhang To: Thomas Bogendoerfer , Rob Herring , Jiaxun Yang , Huacai Chen Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/2] MIPS: Loongson64: Add pm block node for Loongson-2K1000 Date: Tue, 29 Jun 2021 09:19:13 +0800 Message-Id: <20210629011913.18611-2-zhangqing@loongson.cn> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210629011913.18611-1-zhangqing@loongson.cn> References: <20210629011913.18611-1-zhangqing@loongson.cn> MIME-Version: 1.0 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1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jnDG5UUUUU= X-CM-SenderInfo: x2kd0wptlqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The module is now supported, enable it. Signed-off-by: Qing Zhang --- v4-v5: add missing spaces arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi index 569e814def83..38bf14f00694 100644 --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi @@ -101,6 +101,16 @@ uart0: serial@1fe00000 { no-loopback-test; }; + pm: power-controller { + device_type = "power management"; + compatible = "loongson, reset-controller"; + + reg = <0 0x1fe0700c 0 0x8>, + <0 0x1fe07014 0 0x8>, + <0 0x1fe07030 0 0x8>; + reg-names = "pm1_sts", "pm1_cnt", "rst_cnt"; + }; + pci@1a000000 { compatible = "loongson,ls2k-pci"; device_type = "pci"; -- 2.31.0