ARM64: dts: mt6795: enable basic SMP bringup for MT6795
authorScott Shu <scott.shu@mediatek.com>
Tue, 4 Aug 2015 02:47:37 +0000 (10:47 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 7 Aug 2015 17:19:41 +0000 (19:19 +0200)
This patch adds support SMP on MediaTek MT6795 Cortex-A53 Octa-core SoC.

Signed-off-by: Scott Shu <scott.shu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795.dtsi

index da200e7..c85659d 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
+       psci {
+               compatible = "arm,psci-0.2";
+               method = "smc";
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x000>;
                };
 
                cpu1: cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x001>;
                };
 
                cpu2: cpu@2 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x002>;
                };
 
                cpu3: cpu@3 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x003>;
                };
 
                cpu4: cpu@100 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x100>;
                };
 
                cpu5: cpu@101 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x101>;
                };
 
                cpu6: cpu@102 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x102>;
                };
 
                cpu7: cpu@103 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a53";
+                       enable-method = "psci";
                        reg = <0x103>;
                };
        };