blob: 95e370b3e72bc92e0e3042ef155c69a5fcbbcd63 [file] [log] [blame]
Simon Glass68e35a72019-12-06 21:41:37 -07001x86 PCI DT details:
2===================
3
4Some options are available to affect how PCI operates on x86.
5
6Optional properties:
7- u-boot,skip-auto-config-until-reloc : Don't set up PCI configuration until
8 after U-Boot has relocated. Normally if PCI is used before relocation,
9 this happens before relocation also. Some platforms set up static
10 configuration in TPL/SPL to reduce code size and boot time, since these
11 phases only know about a small subset of PCI devices.
12
Simon Glassf3005fb2020-04-08 16:57:26 -060013For PCI devices the following optional property is available:
14
15- pci,no-autoconfig : Don't automatically configure this PCI device at all.
16 This is used when the device is statically configured and must maintain
17 this same config throughout the boot process. An example is a serial
18 UART being used to debug PCI configuration, since reconfiguring it stops
19 the UART from working until the driver is re-probed, and this can cause
20 output to be lost. This should not generally be used in production code,
21 although it is often harmless.
22
23
Simon Glass68e35a72019-12-06 21:41:37 -070024Example:
25
26pci {
27 compatible = "pci-x86";
28 #address-cells = <3>;
29 #size-cells = <2>;
30 u-boot,dm-pre-reloc;
31 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
32 0x42000000 0x0 0xb0000000 0xb0000000 0 0x10000000
33 0x01000000 0x0 0x1000 0x1000 0 0xefff>;
34 u-boot,skip-auto-config-until-reloc;
Simon Glassf3005fb2020-04-08 16:57:26 -060035
36
37 serial: serial@18,2 {
38 reg = <0x0200c210 0 0 0 0>;
39 u-boot,dm-pre-reloc;
40 compatible = "intel,apl-ns16550";
41 early-regs = <0xde000000 0x20>;
42 reg-shift = <2>;
43 clock-frequency = <1843200>;
44 current-speed = <115200>;
45 pci,no-autoconfig;
46 };
Simon Glass68e35a72019-12-06 21:41:37 -070047};