]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: renesas: r8a774a1: Add CPU topology on r8a774a1 SoC
authorBiju Das <biju.das@bp.renesas.com>
Wed, 12 Jun 2019 14:20:52 +0000 (15:20 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Jun 2019 10:41:49 +0000 (12:41 +0200)
This patch adds the "cpu-map" into r8a774a1 composed of multi-cluster. This
definition is used to parse the cpu topology.

Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> for r8a7796 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a774a1.dtsi

index f4aeb9bdeeb0c27506fd258b87f022e3e32a1c66..b06d7149e5faea9e6bb53d9d9d477af1da76ffe9 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               cpu-map {
+                       cluster0 {
+                               core0 {
+                                       cpu = <&a57_0>;
+                               };
+                               core1 {
+                                       cpu = <&a57_1>;
+                               };
+                       };
+
+                       cluster1 {
+                               core0 {
+                                       cpu = <&a53_0>;
+                               };
+                               core1 {
+                                       cpu = <&a53_1>;
+                               };
+                               core2 {
+                                       cpu = <&a53_2>;
+                               };
+                               core3 {
+                                       cpu = <&a53_3>;
+                               };
+                       };
+               };
+
                a57_0: cpu@0 {
                        compatible = "arm,cortex-a57";
                        reg = <0x0>;