summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2014-12-31 16:05:13 +0800
committerSimon Glass <[email protected]>2015-01-13 07:24:57 -0800
commit1eb47efc49f1db8384f62c12f82b27d2bfbbae2e (patch)
treef7f0f7294777198382cd937961bf2ee4e74401dc /arch
parent3db886a5bf38700b51a1d7a7b00ec8b64c9c2089 (diff)
x86: Use ePAPR defined properties for x86-uart
Use ePAPR defined properties for x86-uart: clock-frequency and current-speed. Assign the value of clock-frequency in device tree to plat->clock of x86-uart instead of using hardcoded number. Signed-off-by: Bin Meng <[email protected]> Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/dts/serial.dtsi5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/dts/serial.dtsi b/arch/x86/dts/serial.dtsi
index ebdda763dfe..9b097f4f9be 100644
--- a/arch/x86/dts/serial.dtsi
+++ b/arch/x86/dts/serial.dtsi
@@ -3,8 +3,7 @@
compatible = "x86-uart";
reg = <0x3f8 8>;
reg-shift = <0>;
- io-mapped = <1>;
- multiplier = <1>;
- baudrate = <115200>;
+ clock-frequency = <1843200>;
+ current-speed = <115200>;
};
};