Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2859683pxu; Mon, 7 Dec 2020 18:43:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5fCf2+fgIPNjOHy93MVj3WSurrOvY3JDeN3rkZ8OU++BO1E8GNaDnhBL/3754xxs3I8KO X-Received: by 2002:a17:906:ae4e:: with SMTP id lf14mr22039327ejb.310.1607395405562; Mon, 07 Dec 2020 18:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607395405; cv=none; d=google.com; s=arc-20160816; b=oNpwFu8eHZE5onUOP/Z0vzvD1ZFXUTBLW25uBV77ESKGiMMEKagkf+ElbzCq72toMl l2rB7N62cfSuuadBYS8N3X9QrbNAJM/Y3O+0aAc78TVrpKh3bc5at1mSvOWqozlh1kIB ApbsBwQmEVbjDGCjxZnYdPld31KqxQ5CcbWUWyFUZo7M7kswH+kKPRHkMDIdQ6+kZnqL Z7bSu05vSotBUDJFQDoyUNw0MdMsHXQfXF+i4wQgjE970kO7zysvWrVAlqehRcxTxgEt RgcOKQmUCWMgogjQJGhTFOWTEH2QoJRSU3M9hHqz77K2BB8WRn90vd+2PqDXjprstNrB vOwg== 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 :message-id:date:subject:cc:to:from; bh=2JY9p0qhyyS9iBocfzCPLDK2u86xSATdcMVRmwg6w5c=; b=SwNa6d1pDqyTU8GolQv2DfF5j8Y2jaMfMswawz5l6ZWcYWIrSJdIZhhh3taq3w4vza zTkCPRXfoLTIEPQTK5kOVIWiQoZcQpF/AoB4HaCiu8bfEq0F/eaB1IEYwwf/Yx2THOLU FyIljsOpRzX9Fv0RwPMD6xxrcgxWZ/xZJHPnF5qzHPhy3ag9p4Dkk57CPKqiYtOr+UYc kE5BHkVYufWrwAzHjbw7KXNb/0/kmgGEFas3/yEFBruWB7G0oRLh+lM4+WiI3WwVw6i6 kppOWQ7Xl7UjNadbIcUNqv2zTLaaLo8gbWg3Jk4FoRqXwxCGLPpknLBlWLqFz2TKtHge yEhw== 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 j23si7758438eja.53.2020.12.07.18.43.03; Mon, 07 Dec 2020 18:43:25 -0800 (PST) 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 S1728174AbgLHCkO (ORCPT + 99 others); Mon, 7 Dec 2020 21:40:14 -0500 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:44762 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727554AbgLHCkN (ORCPT ); Mon, 7 Dec 2020 21:40:13 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08344597|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.260233-0.00193035-0.737837;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047213;MF=huangshuosheng@allwinnertech.com;NM=1;PH=DS;RN=9;RT=9;SR=0;TI=SMTPD_---.J4MbkgC_1607395167; Received: from allwinnertech.com(mailfrom:huangshuosheng@allwinnertech.com fp:SMTPD_---.J4MbkgC_1607395167) by smtp.aliyun-inc.com(10.147.41.138); Tue, 08 Dec 2020 10:39:30 +0800 From: Shuosheng Huang To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, jernej.skrabec@siol.net, tiny.windzz@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shuosheng Huang Subject: [RESEND v3 6/6] arm64: dts: allwinner: a100: Enable cpufreq on a100 Date: Tue, 8 Dec 2020 10:39:26 +0800 Message-Id: <20201208023926.23476-1-huangshuosheng@allwinnertech.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable cpufreq for all CPU cores on a100. Signed-off-by: Shuosheng Huang --- .../allwinner/sun50i-a100-allwinner-perf1.dts | 16 ++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts index 301793c72cb7..62a770f1a979 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts @@ -21,6 +21,22 @@ chosen { }; }; +&cpu0 { + cpu-supply = <®_dcdc2>; +}; + +&cpu1 { + cpu-supply = <®_dcdc2>; +}; + +&cpu2 { + cpu-supply = <®_dcdc2>; +}; + +&cpu3 { + cpu-supply = <®_dcdc2>; +}; + &pio { vcc-pb-supply = <®_dcdc1>; vcc-pc-supply = <®_eldo1>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index 8f370a175ce6..c6ff172bf599 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -26,7 +26,7 @@ cpu0: cpu@0 { clocks = <&ccu CLK_CPUX>; }; - cpu@1 { + cpu1: cpu@1 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x1>; @@ -34,7 +34,7 @@ cpu@1 { clocks = <&ccu CLK_CPUX>; }; - cpu@2 { + cpu2: cpu@2 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x2>; @@ -42,7 +42,7 @@ cpu@2 { clocks = <&ccu CLK_CPUX>; }; - cpu@3 { + cpu3: cpu@3 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x3>; -- 2.28.0