Commit 230dd605 authored by Harninder Rai's avatar Harninder Rai Committed by Scott Wood

powerpc/fsl: Add PCI node in device tree of bsc9132qds

Signed-off-by: default avatarHarninder Rai <harninder.rai@freescale.com>
Signed-off-by: default avatarMinghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: default avatarHou Zhiqiang <B48286@freescale.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 7aa1aa6e
...@@ -29,6 +29,21 @@ ifc: ifc@ff71e000 { ...@@ -29,6 +29,21 @@ ifc: ifc@ff71e000 {
soc: soc@ff700000 { soc: soc@ff700000 {
ranges = <0x0 0x0 0xff700000 0x100000>; ranges = <0x0 0x0 0xff700000 0x100000>;
}; };
pci0: pcie@ff70a000 {
reg = <0 0xff70a000 0 0x1000>;
ranges = <0x2000000 0x0 0x90000000 0 0x90000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xc0010000 0x0 0x10000>;
pcie@0 {
ranges = <0x2000000 0x0 0x90000000
0x2000000 0x0 0x90000000
0x0 0x20000000
0x1000000 0x0 0x0
0x1000000 0x0 0x0
0x0 0x100000>;
};
};
}; };
/include/ "bsc9132qds.dtsi" /include/ "bsc9132qds.dtsi"
......
...@@ -40,6 +40,34 @@ &ifc { ...@@ -40,6 +40,34 @@ &ifc {
interrupts = <16 2 0 0 20 2 0 0>; interrupts = <16 2 0 0 20 2 0 0>;
}; };
/* controller at 0xa000 */
&pci0 {
compatible = "fsl,bsc9132-pcie", "fsl,qoriq-pcie-v2.2";
device_type = "pci";
#size-cells = <2>;
#address-cells = <3>;
bus-range = <0 255>;
interrupts = <16 2 0 0>;
pcie@0 {
reg = <0 0 0 0 0>;
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
interrupts = <16 2 0 0>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <
/* IDSEL 0x0 */
0000 0x0 0x0 0x1 &mpic 0x0 0x2 0x0 0x0
0000 0x0 0x0 0x2 &mpic 0x1 0x2 0x0 0x0
0000 0x0 0x0 0x3 &mpic 0x2 0x2 0x0 0x0
0000 0x0 0x0 0x4 &mpic 0x3 0x2 0x0 0x0
>;
};
};
&soc { &soc {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -45,6 +45,7 @@ aliases { ...@@ -45,6 +45,7 @@ aliases {
serial0 = &serial0; serial0 = &serial0;
ethernet0 = &enet0; ethernet0 = &enet0;
ethernet1 = &enet1; ethernet1 = &enet1;
pci0 = &pci0;
}; };
cpus { cpus {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment