DT: arm64: exynos5433: add cpu-map with cores and clusters constelation
authorLukasz Luba <l.luba@partner.samsung.com>
Thu, 30 Aug 2018 12:59:22 +0000 (14:59 +0200)
committerLukasz Luba <l.luba@partner.samsung.com>
Thu, 30 Aug 2018 12:59:22 +0000 (14:59 +0200)
The patch adds missing topology information. This is required i.e
for properly building scheduler topology, groups, or energy model.

Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index f03c2efb58a731d23ea08a85f57f7b3b0603383f..9581a9a97a94086e375b6f4b07d15f669b386055 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               cpu-map {
+                       cluster0 {
+                               core0 {
+                                       cpu = <&cpu0>;
+                               };
+                               core1 {
+                                       cpu = <&cpu1>;
+                               };
+                               core2 {
+                                       cpu = <&cpu2>;
+                               };
+                               core3 {
+                                       cpu = <&cpu3>;
+                               };
+                       };
+                       cluster1 {
+                               core0 {
+                                       cpu = <&cpu4>;
+                               };
+                               core1 {
+                                       cpu = <&cpu5>;
+                               };
+                               core2 {
+                                       cpu = <&cpu6>;
+                               };
+                               core3 {
+                                       cpu = <&cpu7>;
+                               };
+                       };
+               };
+
                cpu0: cpu@100 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53", "arm,armv8";