From patchwork Wed Mar 15 09:30:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianqun Xu X-Patchwork-Id: 9625109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 161126048C for ; Wed, 15 Mar 2017 09:32:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1628F285D1 for ; Wed, 15 Mar 2017 09:32:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09149285FE; Wed, 15 Mar 2017 09:32:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9AAF2285D1 for ; Wed, 15 Mar 2017 09:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=vRq9r6/1q4PvtW4jKaT7TCLk9/YHh3x3ITQ6HylBsLw=; b=maa giBkh0XuFezkFzPrGQI4hCxURuvkAxCCu3wMBb+NNT/lHvBxvn8cCaYYjldtmtH/E+YYuo8c1eP59 vioO67MledGTJLFLaYK2x6ClYq/HiEfM4ErecHpbrh0z3t1dAgenKXsIqyWGulHhl93CpAZGtMd7H /D1TptZ3gVG3gyI6gJNBDDnhekvxxr1mHABi9z4GwNMyWJ2hJeaduR6/vpZI6lmYwDAb++pHNWBrq w3/Fz67+2ZRjAPr1Hi88J0WQWGNKC2K3wNag0z5Vb07HlNXeRwg9FffKncce4qkliFMfrlDEZHp7f ivuM0nibdqtx84niDlOiNxwm25SPrVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1co5IW-0006GN-6R; Wed, 15 Mar 2017 09:32:48 +0000 Received: from regular1.263xmail.com ([211.150.99.141]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1co5IT-00064M-1X for linux-rockchip@lists.infradead.org; Wed, 15 Mar 2017 09:32:47 +0000 Received: from jay.xu?rock-chips.com (unknown [192.168.167.234]) by regular1.263xmail.com (Postfix) with ESMTP id A2DDF117; Wed, 15 Mar 2017 17:32:19 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id CE4DF308; Wed, 15 Mar 2017 17:32:17 +0800 (CST) X-RL-SENDER: jay.xu@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: jay.xu@rock-chips.com X-UNIQUE-TAG: <23ec452a663da2a771e754969a4a9891> X-ATTACHMENT-NUM: 0 X-SENDER: xjq@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 7825PO3OV0; Wed, 15 Mar 2017 17:32:18 +0800 (CST) From: Jianqun Xu To: heiko@sntech.de Subject: [PATCH] arm64: dts: rockchip: rk3368 swap clust0 and clust1 Date: Wed, 15 Mar 2017 17:30:16 +0800 Message-Id: <1489570216-13899-1-git-send-email-jay.xu@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170315_023245_531654_1A1485AB X-CRM114-Status: UNSURE ( 4.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangtao@rock-chips.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, broonie@kernel.org, Jianqun Xu , wxt@rock-chips.com MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Before this patch, clust1 has little core0~3, clust0 has big core0~3 cpu_l | cpu0 | cpu_l | cpu1 | clust1 cpu_l | cpu2 | cpu_l | cpu3 | ---------------------- cpu_b | cpu4 | cpu_b | cpu5 | clust0 cpu_b | cpu6 | cpu_b | cpu7 | With this patch, clust0 will have little core0~3, clust1 will have big core0~3 cpu_l | cpu0 | cpu_l | cpu1 | clust0 cpu_l | cpu2 | cpu_l | cpu3 | ---------------------- cpu_b | cpu4 | cpu_b | cpu5 | clust1 cpu_b | cpu6 | cpu_b | cpu7 | It makes no other change, just keep same with other SoCs definations. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a635adc..7b9d1e6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -79,31 +79,31 @@ cpu-map { cluster0 { core0 { - cpu = <&cpu_b0>; + cpu = <&cpu_l0>; }; core1 { - cpu = <&cpu_b1>; + cpu = <&cpu_l1>; }; core2 { - cpu = <&cpu_b2>; + cpu = <&cpu_l2>; }; core3 { - cpu = <&cpu_b3>; + cpu = <&cpu_l3>; }; }; cluster1 { core0 { - cpu = <&cpu_l0>; + cpu = <&cpu_b0>; }; core1 { - cpu = <&cpu_l1>; + cpu = <&cpu_b1>; }; core2 { - cpu = <&cpu_l2>; + cpu = <&cpu_b2>; }; core3 { - cpu = <&cpu_l3>; + cpu = <&cpu_b3>; }; }; };