diff --git a/qcom/sa8155-vm-la-mt.dtsi b/qcom/sa8155-vm-la-mt.dtsi index df8396983d51..eb7d489fffca 100644 --- a/qcom/sa8155-vm-la-mt.dtsi +++ b/qcom/sa8155-vm-la-mt.dtsi @@ -15,4 +15,6 @@ "persist", "modem", "bluetooth", "misc", "vbmeta"; }; + + /delete-node/ cpus; }; diff --git a/qcom/sa8155-vm-lv-mt.dtsi b/qcom/sa8155-vm-lv-mt.dtsi index 509403ae2ea3..6c91ca97915a 100644 --- a/qcom/sa8155-vm-lv-mt.dtsi +++ b/qcom/sa8155-vm-lv-mt.dtsi @@ -1,3 +1,7 @@ +/ { + /delete-node/ cpus; +}; + &hab { vmid = <3>; }; diff --git a/qcom/sa8155-vm.dtsi b/qcom/sa8155-vm.dtsi index 56933993038e..9b8a33d19093 100644 --- a/qcom/sa8155-vm.dtsi +++ b/qcom/sa8155-vm.dtsi @@ -15,6 +15,107 @@ hsuart0 = &qupv3_se13_4uart; sdhc2 = &sdhc_2; /* SDC2 SD card slot */ }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x0>; + capacity-dmips-mhz = <1024>; + }; + + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x1>; + capacity-dmips-mhz = <902>; + }; + + CPU2: cpu@2 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x2>; + capacity-dmips-mhz = <902>; + }; + + CPU3: cpu@3 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x3>; + capacity-dmips-mhz = <902>; + }; + + CPU4: cpu@4 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x4>; + capacity-dmips-mhz = <320>; + }; + + CPU5: cpu@5 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x5>; + capacity-dmips-mhz = <320>; + }; + + CPU6: cpu@6 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x6>; + capacity-dmips-mhz = <320>; + }; + + CPU7: cpu@7 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x7>; + capacity-dmips-mhz = <320>; + }; + + cpu-map { + cluster0 { + core0 { + cpu = <&CPU0>; + }; + }; + + cluster1 { + core0 { + cpu = <&CPU1>; + }; + + core1 { + cpu = <&CPU2>; + }; + + core2 { + cpu = <&CPU3>; + }; + }; + + cluster2 { + core0 { + cpu = <&CPU4>; + }; + + core1 { + cpu = <&CPU5>; + }; + + core2 { + cpu = <&CPU6>; + }; + + core3 { + cpu = <&CPU7>; + }; + }; + }; + }; }; &soc { diff --git a/qcom/sa8195-vm-la-mt.dtsi b/qcom/sa8195-vm-la-mt.dtsi index 75ca621962f9..a96127954046 100644 --- a/qcom/sa8195-vm-la-mt.dtsi +++ b/qcom/sa8195-vm-la-mt.dtsi @@ -15,4 +15,6 @@ "persist", "modem", "bluetooth", "misc", "vbmeta"; }; + + /delete-node/ cpus; };