summaryrefslogtreecommitdiffstats
path: root/arch/x86/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-03 18:28:26 -0600
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:19 -0600
commitb71f9dca89013b8b100006029c98d04b495ebdf7 (patch)
tree7f7aa47e1be0e1518bcb7577fd91a0f6f5d4abe4 /arch/x86/dts
parent945cae79e1b547d6edcce53aae68be2e3679a364 (diff)
downloadtalos-obmc-uboot-b71f9dca89013b8b100006029c98d04b495ebdf7.tar.gz
talos-obmc-uboot-b71f9dca89013b8b100006029c98d04b495ebdf7.zip
dm: x86: minnowmax: Move PCI to use driver model
Adjust minnowmax to use driver model for PCI. This requires adding a device tree node to specify the ranges, removing the board-specific PCI code and ensuring that the host bridge is configured. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/dts')
-rw-r--r--arch/x86/dts/minnowmax.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/dts/minnowmax.dts b/arch/x86/dts/minnowmax.dts
index bd21bfb0b4..0e59b18d34 100644
--- a/arch/x86/dts/minnowmax.dts
+++ b/arch/x86/dts/minnowmax.dts
@@ -111,6 +111,16 @@
};
+ pci {
+ compatible = "intel,pci-baytrail", "pci-x86";
+ #address-cells = <3>;
+ #size-cells = <2>;
+ u-boot,dm-pre-reloc;
+ ranges = <0x02000000 0x0 0xd0000000 0xd0000000 0 0x10000000
+ 0x42000000 0x0 0xc0000000 0xc0000000 0 0x10000000
+ 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
+ };
+
spi {
#address-cells = <1>;
#size-cells = <0>;
OpenPOWER on IntegriCloud