Re: [PATCH v6 2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000

From: Jiaxun Yang
Date: Wed Jun 30 2021 - 04:20:39 EST



在 2021/6/30 14:51, Qing Zhang 写道:
The module is now supported, enable it.

Oh, you forgot binding document.

Thanks.

- Jiaxun


Signed-off-by: Qing Zhang <zhangqing@xxxxxxxxxxx>
---
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index 569e814def83..8f469b623740 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -52,6 +52,11 @@ package0: bus@10000000 {
0 0x40000000 0 0x40000000 0 0x40000000
0xfe 0x00000000 0xfe 0x00000000 0 0x40000000>;
+ pm: power-controller@1fe07000 {
+ compatible = "loongson,ls2k-pm";
+ reg = <0 0x1fe07000 0 0x422>;
+ };
+
liointc0: interrupt-controller@1fe11400 {
compatible = "loongson,liointc-2.0";
reg = <0 0x1fe11400 0 0x40>,