diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-08-12 14:46:53 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 11:00:50 -0400 |
commit | 74ecaa403a742b2c614a60e5ffef04a704d84071 (patch) | |
tree | 3c8bb763d331fdeb37595cf53e87aa5dc2647dcf /arch/arm/boot/dts/dove.dtsi | |
parent | 0ad44659355d5c2efdd5b6c1de165ca31cb34fa8 (diff) |
ARM: dove: add PCIe controllers to SoC DT
This adds a node for the pcie controllers found on Dove SoCs to the
SoC DT include.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/dove.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dove.dtsi | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index d42b323e7593..499abadf86f0 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi | |||
@@ -44,6 +44,60 @@ | |||
44 | MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */ | 44 | MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */ |
45 | MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */ | 45 | MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */ |
46 | 46 | ||
47 | pcie: pcie-controller { | ||
48 | compatible = "marvell,dove-pcie"; | ||
49 | status = "disabled"; | ||
50 | device_type = "pci"; | ||
51 | #address-cells = <3>; | ||
52 | #size-cells = <2>; | ||
53 | |||
54 | msi-parent = <&intc>; | ||
55 | bus-range = <0x00 0xff>; | ||
56 | |||
57 | ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000 | ||
58 | 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000 | ||
59 | 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */ | ||
60 | 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */ | ||
61 | 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */ | ||
62 | 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */ | ||
63 | |||
64 | pcie-port@0 { | ||
65 | device_type = "pci"; | ||
66 | status = "disabled"; | ||
67 | assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; | ||
68 | reg = <0x0800 0 0 0 0>; | ||
69 | clocks = <&gate_clk 4>; | ||
70 | marvell,pcie-port = <0>; | ||
71 | |||
72 | #address-cells = <3>; | ||
73 | #size-cells = <2>; | ||
74 | ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 | ||
75 | 0x81000000 0 0 0x81000000 0x1 0 1 0>; | ||
76 | |||
77 | #interrupt-cells = <1>; | ||
78 | interrupt-map-mask = <0 0 0 0>; | ||
79 | interrupt-map = <0 0 0 0 &intc 16>; | ||
80 | }; | ||
81 | |||
82 | pcie-port@1 { | ||
83 | device_type = "pci"; | ||
84 | status = "disabled"; | ||
85 | assigned-addresses = <0x82002800 0 0x80000 0 0x2000>; | ||
86 | reg = <0x1000 0 0 0 0>; | ||
87 | clocks = <&gate_clk 5>; | ||
88 | marvell,pcie-port = <1>; | ||
89 | |||
90 | #address-cells = <3>; | ||
91 | #size-cells = <2>; | ||
92 | ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 | ||
93 | 0x81000000 0 0 0x81000000 0x2 0 1 0>; | ||
94 | |||
95 | #interrupt-cells = <1>; | ||
96 | interrupt-map-mask = <0 0 0 0>; | ||
97 | interrupt-map = <0 0 0 0 &intc 18>; | ||
98 | }; | ||
99 | }; | ||
100 | |||
47 | internal-regs { | 101 | internal-regs { |
48 | compatible = "simple-bus"; | 102 | compatible = "simple-bus"; |
49 | #address-cells = <1>; | 103 | #address-cells = <1>; |