mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-30 11:01:33 +00:00
x86: Clean up the board dts files
This commits cleans up the board dts files. - Correct the serial port register size to 8 - Remove the misleading status = "disabled" statement in the serial.dtsi - Move the inclusion of skeleton.dtsi from serial.dtsi to board dts files - Let the board dts file define stdout-path in the chosen node - Remove device nodes in board dts files thar are duplicated to skeleton.dtsi Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9ca5a0ca0e
commit
120c41695b
3 changed files with 7 additions and 24 deletions
|
@ -6,11 +6,10 @@
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
|
/include/ "skeleton.dtsi"
|
||||||
/include/ "serial.dtsi"
|
/include/ "serial.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
model = "Intel Crown Bay";
|
model = "Intel Crown Bay";
|
||||||
compatible = "intel,crownbay", "intel,queensbay";
|
compatible = "intel,crownbay", "intel,queensbay";
|
||||||
|
|
||||||
|
@ -32,14 +31,10 @@
|
||||||
bank-name = "B";
|
bank-name = "B";
|
||||||
};
|
};
|
||||||
|
|
||||||
serial {
|
chosen {
|
||||||
reg = <0x3f8 8>;
|
stdout-path = "/serial";
|
||||||
clock-frequency = <115200>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen { };
|
|
||||||
memory { device_type = "memory"; reg = <0 0>; };
|
|
||||||
|
|
||||||
spi {
|
spi {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
|
/include/ "skeleton.dtsi"
|
||||||
/include/ "serial.dtsi"
|
/include/ "serial.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
model = "Google Link";
|
model = "Google Link";
|
||||||
compatible = "google,link", "intel,celeron-ivybridge";
|
compatible = "google,link", "intel,celeron-ivybridge";
|
||||||
|
|
||||||
|
@ -33,14 +32,10 @@
|
||||||
bank-name = "C";
|
bank-name = "C";
|
||||||
};
|
};
|
||||||
|
|
||||||
serial {
|
chosen {
|
||||||
reg = <0x3f8 8>;
|
stdout-path = "/serial";
|
||||||
clock-frequency = <115200>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen { };
|
|
||||||
memory { device_type = "memory"; reg = <0 0>; };
|
|
||||||
|
|
||||||
spd {
|
spd {
|
||||||
compatible = "memory-spd";
|
compatible = "memory-spd";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
|
@ -1,17 +1,10 @@
|
||||||
/include/ "skeleton.dtsi"
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
|
||||||
stdout-path = "/serial";
|
|
||||||
};
|
|
||||||
|
|
||||||
serial {
|
serial {
|
||||||
compatible = "x86-uart";
|
compatible = "x86-uart";
|
||||||
reg = <0x3f8 0x10>;
|
reg = <0x3f8 8>;
|
||||||
reg-shift = <0>;
|
reg-shift = <0>;
|
||||||
io-mapped = <1>;
|
io-mapped = <1>;
|
||||||
multiplier = <1>;
|
multiplier = <1>;
|
||||||
baudrate = <115200>;
|
baudrate = <115200>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue