summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-27 19:54:48 -0600
committerSimon Glass <sjg@chromium.org>2015-09-09 07:48:03 -0600
commit548fb8777d06438c0a6c2177530c387b5986cb68 (patch)
tree7db289af88de5ee1de458c133b7b92c9bf7d29bc
parentcc6ae979e25f6b3c1db54ea0b11c1ab5be12a722 (diff)
x86: panther: Add PCI and video configuration
Add a PCI node to the device tree. This allows SPI flash and SATA to work correctly. Also configure the video to come up correctly even though there is no keyboard. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/x86/dts/chromebox_panther.dts10
-rw-r--r--include/configs/chromebox_panther.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/dts/chromebox_panther.dts b/arch/x86/dts/chromebox_panther.dts
index 36feb96a94..c60ab710d2 100644
--- a/arch/x86/dts/chromebox_panther.dts
+++ b/arch/x86/dts/chromebox_panther.dts
@@ -42,6 +42,16 @@
stdout-path = "/serial";
};
+ pci {
+ compatible = "pci-x86";
+ #address-cells = <3>;
+ #size-cells = <2>;
+ u-boot,dm-pre-reloc;
+ ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000
+ 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
+ 0x01000000 0x0 0x1000 0x1000 0 0xf000>;
+ };
+
spi {
#address-cells = <1>;
#size-cells = <0>;
diff --git a/include/configs/chromebox_panther.h b/include/configs/chromebox_panther.h
index 00fe26da29..dc732b810f 100644
--- a/include/configs/chromebox_panther.h
+++ b/include/configs/chromebox_panther.h
@@ -14,4 +14,6 @@
/* Avoid a warning in the Realtek Ethernet driver */
#define CONFIG_SYS_CACHELINE_SIZE 16
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+
#endif /* __CONFIG_H */