x86: Add intel,x86_64 compat to all x86-64 platforms

This will help distinguish 64 and 32-bit platforms by tooling, following
the pattern visible in e.g. RISC-V.

Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
This commit is contained in:
Piotr Zierhoffer 2024-09-16 15:03:27 +02:00 committed by Anas Nashif
parent 12a27f31a1
commit b05136fc06
7 changed files with 12 additions and 8 deletions

View File

@ -22,3 +22,7 @@
sdhc0 = &emmc;
};
};
&cpu {
compatible = "intel,x86_64";
};

View File

@ -36,14 +36,14 @@
cpu@0 {
device_type = "cpu";
compatible = "intel,apollo-lake";
compatible = "intel,apollo-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <0>;
};
cpu@1 {
device_type = "cpu";
compatible = "intel,apollo-lake";
compatible = "intel,apollo-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <1>;
};

View File

@ -16,9 +16,9 @@
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
cpu: cpu@0 {
device_type = "cpu";
compatible = "intel,alder-lake";
compatible = "intel,alder-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <0>;
};

View File

@ -16,7 +16,7 @@
cpu@0 {
device_type = "cpu";
compatible = "intel,apollo-lake";
compatible = "intel,apollo-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <0>;
};

View File

@ -16,7 +16,7 @@
cpu@0 {
device_type = "cpu";
compatible = "intel,elkhart-lake";
compatible = "intel,elkhart-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <0>;
};

View File

@ -15,7 +15,7 @@
#size-cells = <0>;
cpu@0 {
compatible = "intel,raptor-lake";
compatible = "intel,raptor-lake", "intel,x86_64";
device_type = "cpu";
d-cache-line-size = <64>;
reg = <0>;

View File

@ -16,7 +16,7 @@
cpu@0 {
device_type = "cpu";
compatible = "intel,raptor-lake";
compatible = "intel,raptor-lake", "intel,x86_64";
d-cache-line-size = <64>;
reg = <0>;
};