xref: /freebsd/sys/contrib/device-tree/Bindings/pci/83xx-512x-pci.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Freescale 83xx and 512x PCI bridges
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotFreescale 83xx and 512x SOCs include the same PCI bridge core.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot83xx/512x specific notes:
6*c66ec88fSEmmanuel Vadot- reg: should contain two address length tuples
7*c66ec88fSEmmanuel Vadot    The first is for the internal PCI bridge registers
8*c66ec88fSEmmanuel Vadot    The second is for the PCI config space access registers
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExample (MPC8313ERDB)
11*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
12*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
13*c66ec88fSEmmanuel Vadot		interrupt-map = <
14*c66ec88fSEmmanuel Vadot				/* IDSEL 0x0E -mini PCI */
15*c66ec88fSEmmanuel Vadot				 0x7000 0x0 0x0 0x1 &ipic 18 0x8
16*c66ec88fSEmmanuel Vadot				 0x7000 0x0 0x0 0x2 &ipic 18 0x8
17*c66ec88fSEmmanuel Vadot				 0x7000 0x0 0x0 0x3 &ipic 18 0x8
18*c66ec88fSEmmanuel Vadot				 0x7000 0x0 0x0 0x4 &ipic 18 0x8
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot				/* IDSEL 0x0F - PCI slot */
21*c66ec88fSEmmanuel Vadot				 0x7800 0x0 0x0 0x1 &ipic 17 0x8
22*c66ec88fSEmmanuel Vadot				 0x7800 0x0 0x0 0x2 &ipic 18 0x8
23*c66ec88fSEmmanuel Vadot				 0x7800 0x0 0x0 0x3 &ipic 17 0x8
24*c66ec88fSEmmanuel Vadot				 0x7800 0x0 0x0 0x4 &ipic 18 0x8>;
25*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
26*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
27*c66ec88fSEmmanuel Vadot		bus-range = <0x0 0x0>;
28*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
29*c66ec88fSEmmanuel Vadot			  0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
30*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
31*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
32*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
33*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
34*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
35*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
36*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
37*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
38*c66ec88fSEmmanuel Vadot		device_type = "pci";
39*c66ec88fSEmmanuel Vadot	};
40