Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp216846rwe; Tue, 18 Apr 2023 20:59:44 -0700 (PDT) X-Google-Smtp-Source: AKy350Y9aMy3xdt6CKjEo3HefeiOQqWTsTebiEPbdlLryp4zTHBaHPSnjejkXciQbJi5maDdYgYz X-Received: by 2002:a17:902:7796:b0:1a8:bc5:4930 with SMTP id o22-20020a170902779600b001a80bc54930mr2371937pll.61.1681876784279; Tue, 18 Apr 2023 20:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681876784; cv=none; d=google.com; s=arc-20160816; b=jtGloV0Hly9U4uDMbgugVNGjbcXouxCosbPWFJlot/c20/ScPj4BS/N7+A5Ns+eQjn vQtzw4Wris/59HphMHj65YOaKoKIjX9NOSVWi1Ps6mLXUdnOqs8TRJ6JuyquSHEH/3qs pvRT3/3PjtcTThUjZmVhHwfEVPlpt575zI3S0s1+7vtO/+euEikNE2CfyiVNYYNFZfC/ qLOBDZYPkpCKWf80hNjEpjYRaBczcw+iwt7L3dM2+C70tyHlcYjyNVLQzpF8pnqUrCWO FvnSzSS7CyH+Jkm6a8Jhvg4/nAc42s9T1VQR3cti4DwxlQ9WfdSxwU/WhBqUReYqfC8F tNEA== 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=+Pw39j3Td7JuQfMkuipZCgQvlh87xDoLs4ycNYg0D0A=; b=dmhgMTkZm40721bYhHMkgZYfkDiUw7TizfruSlNMQVwjrs5uNmFxCRkmoR9yeboXXv 3/DcOD5YXADu8hbFm07w5dkM2EJ4wRWVVZIUBYD2X/ksGglwBALeo/yPURNN6mijvuQN q171CCcVQftTjq/IeaojdWIOu2vqEYFuq5Ru7elDDI4an2caboH1eiLv2rIRWAZY7V/8 bAt5708BNbZz/OzIzviQs0/k6yqrv8cINldem/JQchF2S86vN3r0e5iMRGcYIH/dSNe3 l7TsZfeJvxeRegwAkL+KVqszTEjhhkz8ew+4ynCMsjqM0RzTqh4+UQXA3aMs16MUmDkb qjww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a17090311d200b001a522ea4e89si15871892plh.125.2023.04.18.20.59.32; Tue, 18 Apr 2023 20:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbjDSD50 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Apr 2023 23:57:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232000AbjDSD44 (ORCPT ); Tue, 18 Apr 2023 23:56:56 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18AA6183; Tue, 18 Apr 2023 20:56:55 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 488F124E246; Wed, 19 Apr 2023 11:56:54 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Apr 2023 11:56:54 +0800 Received: from ubuntu.localdomain (113.72.144.253) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Apr 2023 11:56:53 +0800 From: Changhuang Liang To: Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou CC: Walker Chen , Changhuang Liang , Hal Feng , , , Subject: [RESEND v2 6/6] riscv: dts: starfive: jh7110: Add AON PMU node Date: Tue, 18 Apr 2023 20:56:46 -0700 Message-ID: <20230419035646.43702-7-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419035646.43702-1-changhuang.liang@starfivetech.com> References: <20230419035646.43702-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.144.253] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add AON PMU node to configure power. It can be used to turn on/off dphy rx/tx power switch. Reviewed-by: Walker Chen Signed-off-by: Changhuang Liang --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 27f8ef37d029..3414edc877d5 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -509,6 +509,11 @@ aoncrg: clock-controller@17000000 { aon_syscon: syscon@17010000 { compatible = "starfive,jh7110-aon-syscon", "syscon", "simple-mfd"; reg = <0x0 0x17010000 0x0 0x1000>; + + aon_pwrc: power-controller { + compatible = "starfive,jh7110-aon-pmu"; + #power-domain-cells = <1>; + }; }; aongpio: pinctrl@17020000 { -- 2.25.1