Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3732685pxv; Mon, 28 Jun 2021 11:24:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS+gHeclbyazmZMTZa3PLxp4qqPG+M7dUEnwkpJF5b8T+t4R42G4Q5SfwWTQ07o/pxy+E5 X-Received: by 2002:a17:907:3e9a:: with SMTP id hs26mr25510456ejc.531.1624904694859; Mon, 28 Jun 2021 11:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624904694; cv=none; d=google.com; s=arc-20160816; b=SHsaZP+Bw7saQIpuGM+D5ecdAdEYJ4s5tWurvyEe0G5vTP+/BEWv+VsokvspNsz088 cGGlb4p8YPNPVsYpIHNJ4xdqk0vrsc5AfauDjh2JLS2L/RHVESu66n/B0YM6HlIzsyrK fmA0XoZMtLPZQd6SOBlyELWDQtDzgiGe5EEmat1bnYRuIAtw0rzhASkRWpMuRbyH+KOo W0MbQGfxl7VUOp7/DPEv/lBstQmI+ekA7WqFZ5/YgGtyGQrpB8jJPmUAQMzaDqFhvK4y ox4MGRzgq0ZyZIlfq4dpRdIvNFvg7wbnPHKt5TwvYC5C4nrTqYTcWqwpkKRG6voiYHSZ QYmg== 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=i2bod7M6FBxs6/pa5VHRBZxggllQgTY1xQ4hp8sOgak=; b=cdguHYiGy8v/YtciIGahwLfaAZ+ICfETOEy2g37RK2xqU91AUAxFCQq47/CFHlVsud qooXZlVaojzd4JFag6L72IX/yJUSOBWYfTLh/Ymm8fUF7JjtjCknvVjzdzN5UbJrYh+d IsYh6MigF/GB7+FpcmWsR0DLyhmyS+rk7Oqg4G8osc9UOCd6XG69KTPbUEC+dMSa5KW6 3N1QRKgKeiqVrzuT1cVTe5WSg28nchP8exLfUJgabmRAcuodsmADKM2KiV2hFYijFlzf 6GlclsQO+dDmjIQGDoeNSKdDFUJwS2OaFUrmUSnApnpnjbED2H6aKT1Au4mnb5jUquxN Q1bA== 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 m20si15297004eda.264.2021.06.28.11.24.28; Mon, 28 Jun 2021 11:24:54 -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 S236404AbhF1OzW (ORCPT + 99 others); Mon, 28 Jun 2021 10:55:22 -0400 Received: from mail.loongson.cn ([114.242.206.163]:59592 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234491AbhF1Ol0 (ORCPT ); Mon, 28 Jun 2021 10:41:26 -0400 Received: from localhost.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxb0L93tlgmsoZAA--.8933S3; Mon, 28 Jun 2021 22:38:54 +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 v3 2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000 Date: Mon, 28 Jun 2021 22:38:52 +0800 Message-Id: <20210628143852.11504-2-zhangqing@loongson.cn> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210628143852.11504-1-zhangqing@loongson.cn> References: <20210628143852.11504-1-zhangqing@loongson.cn> MI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I0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267 AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8M7K3UUUUU== 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 --- arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi index 569e814def83..e31176ac0ac2 100644 --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi @@ -101,6 +101,15 @@ 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