x86: Divide Intel Atom CPU compatible to x86 and x86_64
atom.dtsi enforces "intel,x86", but it doesn't help us discern if the platform is 32 or 64-bit. We do that for example in RISC-V and it's useful from the tooling perspective. Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com> Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
This commit is contained in:
parent
f556a76081
commit
8f14d08bf5
5 changed files with 19 additions and 4 deletions
|
|
@ -46,3 +46,7 @@
|
|||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
};
|
||||
|
||||
&cpu {
|
||||
compatible = "intel,x86_64";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -166,3 +166,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu {
|
||||
compatible = "intel,x86";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
cpus {
|
||||
cpu@1 {
|
||||
device_type = "cpu";
|
||||
compatible = "intel,x86";
|
||||
compatible = "intel,x86_64";
|
||||
d-cache-line-size = <64>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
|
@ -29,3 +29,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&cpu {
|
||||
compatible = "intel,x86_64";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,9 +9,13 @@
|
|||
cpus {
|
||||
cpu@1 {
|
||||
device_type = "cpu";
|
||||
compatible = "intel,x86";
|
||||
compatible = "intel,x86_64";
|
||||
d-cache-line-size = <64>;
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu {
|
||||
compatible = "intel,x86_64";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,9 +12,8 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
cpu: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "intel,x86";
|
||||
d-cache-line-size = <64>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue