mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Simon Glass](/assets/img/avatar_default.png)
This makes use of the existing device tree node to use driver model for the serial console. Signed-off-by: Simon Glass <sjg@chromium.org>
18 lines
248 B
Plaintext
18 lines
248 B
Plaintext
/include/ "skeleton.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
stdout-path = "/serial";
|
|
};
|
|
|
|
serial {
|
|
compatible = "coreboot-uart";
|
|
reg = <0x3f8 0x10>;
|
|
reg-shift = <0>;
|
|
io-mapped = <1>;
|
|
multiplier = <1>;
|
|
baudrate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
};
|