summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-10 07:49:19 -0600
committerSimon Glass <sjg@chromium.org>2014-10-23 19:45:28 -0600
commitd1259c9f5fec24294344ebe5a66ec52376b3d46b (patch)
tree64007d819a9066babb62182c84677ea2de442db8 /arch/x86
parent7414112d70727e90be680e77dcb8a31394255ca8 (diff)
downloadu-boot-imx-d1259c9f5fec24294344ebe5a66ec52376b3d46b.zip
u-boot-imx-d1259c9f5fec24294344ebe5a66ec52376b3d46b.tar.gz
u-boot-imx-d1259c9f5fec24294344ebe5a66ec52376b3d46b.tar.bz2
dm: x86: dts: Add additional info to the serial port node
Add more information so that U-Boot can find the address of the serial port. Also fix the reg-shift value. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/dts/coreboot.dtsi5
-rw-r--r--arch/x86/dts/link.dts18
2 files changed, 20 insertions, 3 deletions
diff --git a/arch/x86/dts/coreboot.dtsi b/arch/x86/dts/coreboot.dtsi
index 4862a59..c989152 100644
--- a/arch/x86/dts/coreboot.dtsi
+++ b/arch/x86/dts/coreboot.dtsi
@@ -6,8 +6,9 @@
};
serial {
- compatible = "ns16550";
- reg-shift = <1>;
+ compatible = "coreboot-uart";
+ reg = <0x3f8 0x10>;
+ reg-shift = <0>;
io-mapped = <1>;
multiplier = <1>;
baudrate = <115200>;
diff --git a/arch/x86/dts/link.dts b/arch/x86/dts/link.dts
index 67ce52a..f2fcb39 100644
--- a/arch/x86/dts/link.dts
+++ b/arch/x86/dts/link.dts
@@ -12,7 +12,23 @@
silent_console = <0>;
};
- gpio: gpio {};
+ gpioa {
+ compatible = "intel,ich6-gpio";
+ reg = <0 0x10>;
+ bank-name = "A";
+ };
+
+ gpiob {
+ compatible = "intel,ich6-gpio";
+ reg = <0x30 0x10>;
+ bank-name = "B";
+ };
+
+ gpioc {
+ compatible = "intel,ich6-gpio";
+ reg = <0x40 0x10>;
+ bank-name = "C";
+ };
serial {
reg = <0x3f8 8>;