diff options
author | harninder rai <harninder.rai@freescale.com> | 2014-05-15 03:45:33 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-22 19:08:32 -0400 |
commit | 1be62c6cced607ee870e45512d021f0d6bd1a6c7 (patch) | |
tree | 6d45c7e6f224caf5f1c2f7c4e77678478ed1ba4f /arch/powerpc/boot | |
parent | fd7e5b7a8758093781a44df9577fe24e9e11723e (diff) |
powerpc/mpc85xx: Add BSC9132 QDS Support
- BSC9132 is an integrated device that targets Femto base station market.
It combines Power Architecture e500v2 and DSP StarCore SC3850 technologies
with MAPLE-B2F baseband acceleration processing elements
- BSC9132QDS Overview
2Gbyte DDR3 (on board DDR)
32Mbyte 16bit NOR flash
128Mbyte 2K page size NAND Flash
256 Kbit M24256 I2C EEPROM
128 Mbit SPI Flash memory
SD slot
eTSEC1: Connected to SGMII PHY
eTSEC2: Connected to SGMII PHY
DUART interface: supports one UARTs up to 115200 bps for console display
Signed-off-by: Harninder Rai <harninder.rai@freescale.com>
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/bsc9132qds.dts | 35 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/bsc9132qds.dtsi | 101 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 185 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/bsc9132si-pre.dtsi | 66 |
4 files changed, 387 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/bsc9132qds.dts b/arch/powerpc/boot/dts/bsc9132qds.dts new file mode 100644 index 000000000000..6cab1062bc74 --- /dev/null +++ b/arch/powerpc/boot/dts/bsc9132qds.dts | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * BSC9132 QDS Device Tree Source | ||
3 | * | ||
4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
9 | * option) any later version. | ||
10 | */ | ||
11 | |||
12 | /include/ "fsl/bsc9132si-pre.dtsi" | ||
13 | |||
14 | / { | ||
15 | model = "fsl,bsc9132qds"; | ||
16 | compatible = "fsl,bsc9132qds"; | ||
17 | |||
18 | memory { | ||
19 | device_type = "memory"; | ||
20 | }; | ||
21 | |||
22 | ifc: ifc@ff71e000 { | ||
23 | /* NOR, NAND Flash on board */ | ||
24 | ranges = <0x0 0x0 0x0 0x88000000 0x08000000 | ||
25 | 0x1 0x0 0x0 0xff800000 0x00010000>; | ||
26 | reg = <0x0 0xff71e000 0x0 0x2000>; | ||
27 | }; | ||
28 | |||
29 | soc: soc@ff700000 { | ||
30 | ranges = <0x0 0x0 0xff700000 0x100000>; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | /include/ "bsc9132qds.dtsi" | ||
35 | /include/ "fsl/bsc9132si-post.dtsi" | ||
diff --git a/arch/powerpc/boot/dts/bsc9132qds.dtsi b/arch/powerpc/boot/dts/bsc9132qds.dtsi new file mode 100644 index 000000000000..af8e88830221 --- /dev/null +++ b/arch/powerpc/boot/dts/bsc9132qds.dtsi | |||
@@ -0,0 +1,101 @@ | |||
1 | /* | ||
2 | * BSC9132 QDS Device Tree Source stub (no addresses or top-level ranges) | ||
3 | * | ||
4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | &ifc { | ||
36 | nor@0,0 { | ||
37 | #address-cells = <1>; | ||
38 | #size-cells = <1>; | ||
39 | compatible = "cfi-flash"; | ||
40 | reg = <0x0 0x0 0x8000000>; | ||
41 | bank-width = <2>; | ||
42 | device-width = <1>; | ||
43 | }; | ||
44 | |||
45 | nand@1,0 { | ||
46 | #address-cells = <1>; | ||
47 | #size-cells = <1>; | ||
48 | compatible = "fsl,ifc-nand"; | ||
49 | reg = <0x1 0x0 0x4000>; | ||
50 | }; | ||
51 | }; | ||
52 | |||
53 | &soc { | ||
54 | spi@7000 { | ||
55 | flash@0 { | ||
56 | #address-cells = <1>; | ||
57 | #size-cells = <1>; | ||
58 | compatible = "spansion,s25sl12801"; | ||
59 | reg = <0>; | ||
60 | spi-max-frequency = <30000000>; | ||
61 | }; | ||
62 | }; | ||
63 | |||
64 | i2c@3000 { | ||
65 | fpga: fpga@66 { | ||
66 | compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; | ||
67 | reg = <0x66>; | ||
68 | }; | ||
69 | }; | ||
70 | |||
71 | usb@22000 { | ||
72 | phy_type = "ulpi"; | ||
73 | }; | ||
74 | |||
75 | mdio@24000 { | ||
76 | phy0: ethernet-phy@0 { | ||
77 | reg = <0x0>; | ||
78 | }; | ||
79 | |||
80 | phy1: ethernet-phy@1 { | ||
81 | reg = <0x1>; | ||
82 | }; | ||
83 | |||
84 | tbi0: tbi-phy@11 { | ||
85 | reg = <0x1f>; | ||
86 | device_type = "tbi-phy"; | ||
87 | }; | ||
88 | }; | ||
89 | |||
90 | enet0: ethernet@b0000 { | ||
91 | phy-handle = <&phy0>; | ||
92 | tbi-handle = <&tbi0>; | ||
93 | phy-connection-type = "sgmii"; | ||
94 | }; | ||
95 | |||
96 | enet1: ethernet@b1000 { | ||
97 | phy-handle = <&phy1>; | ||
98 | tbi-handle = <&tbi0>; | ||
99 | phy-connection-type = "sgmii"; | ||
100 | }; | ||
101 | }; | ||
diff --git a/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi b/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi new file mode 100644 index 000000000000..c72307198140 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | |||
@@ -0,0 +1,185 @@ | |||
1 | /* | ||
2 | * BSC9132 Silicon/SoC Device Tree Source (post include) | ||
3 | * | ||
4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | &ifc { | ||
36 | #address-cells = <2>; | ||
37 | #size-cells = <1>; | ||
38 | compatible = "fsl,ifc", "simple-bus"; | ||
39 | /* FIXME: Test whether interrupts are split */ | ||
40 | interrupts = <16 2 0 0 20 2 0 0>; | ||
41 | }; | ||
42 | |||
43 | &soc { | ||
44 | #address-cells = <1>; | ||
45 | #size-cells = <1>; | ||
46 | device_type = "soc"; | ||
47 | compatible = "fsl,bsc9132-immr", "simple-bus"; | ||
48 | bus-frequency = <0>; // Filled out by uboot. | ||
49 | |||
50 | ecm-law@0 { | ||
51 | compatible = "fsl,ecm-law"; | ||
52 | reg = <0x0 0x1000>; | ||
53 | fsl,num-laws = <12>; | ||
54 | }; | ||
55 | |||
56 | ecm@1000 { | ||
57 | compatible = "fsl,bsc9132-ecm", "fsl,ecm"; | ||
58 | reg = <0x1000 0x1000>; | ||
59 | interrupts = <16 2 0 0>; | ||
60 | }; | ||
61 | |||
62 | memory-controller@2000 { | ||
63 | compatible = "fsl,bsc9132-memory-controller"; | ||
64 | reg = <0x2000 0x1000>; | ||
65 | interrupts = <16 2 1 8>; | ||
66 | }; | ||
67 | |||
68 | /include/ "pq3-i2c-0.dtsi" | ||
69 | i2c@3000 { | ||
70 | interrupts = <17 2 0 0>; | ||
71 | }; | ||
72 | |||
73 | /include/ "pq3-i2c-1.dtsi" | ||
74 | i2c@3100 { | ||
75 | interrupts = <17 2 0 0>; | ||
76 | }; | ||
77 | |||
78 | /include/ "pq3-duart-0.dtsi" | ||
79 | serial0: serial@4500 { | ||
80 | interrupts = <18 2 0 0>; | ||
81 | }; | ||
82 | |||
83 | serial1: serial@4600 { | ||
84 | interrupts = <18 2 0 0 >; | ||
85 | }; | ||
86 | /include/ "pq3-espi-0.dtsi" | ||
87 | spi0: spi@7000 { | ||
88 | fsl,espi-num-chipselects = <1>; | ||
89 | interrupts = <22 0x2 0 0>; | ||
90 | }; | ||
91 | |||
92 | /include/ "pq3-gpio-0.dtsi" | ||
93 | gpio-controller@f000 { | ||
94 | interrupts = <19 0x2 0 0>; | ||
95 | }; | ||
96 | |||
97 | L2: l2-cache-controller@20000 { | ||
98 | compatible = "fsl,bsc9132-l2-cache-controller"; | ||
99 | reg = <0x20000 0x1000>; | ||
100 | cache-line-size = <32>; // 32 bytes | ||
101 | cache-size = <0x40000>; // L2,256K | ||
102 | interrupts = <16 2 1 0>; | ||
103 | }; | ||
104 | |||
105 | /include/ "pq3-dma-0.dtsi" | ||
106 | |||
107 | dma@21300 { | ||
108 | |||
109 | dma-channel@0 { | ||
110 | interrupts = <62 2 0 0>; | ||
111 | }; | ||
112 | |||
113 | dma-channel@80 { | ||
114 | interrupts = <63 2 0 0>; | ||
115 | }; | ||
116 | |||
117 | dma-channel@100 { | ||
118 | interrupts = <64 2 0 0>; | ||
119 | }; | ||
120 | |||
121 | dma-channel@180 { | ||
122 | interrupts = <65 2 0 0>; | ||
123 | }; | ||
124 | }; | ||
125 | |||
126 | /include/ "pq3-usb2-dr-0.dtsi" | ||
127 | usb@22000 { | ||
128 | compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2"; | ||
129 | interrupts = <40 0x2 0 0>; | ||
130 | }; | ||
131 | |||
132 | /include/ "pq3-esdhc-0.dtsi" | ||
133 | sdhc@2e000 { | ||
134 | fsl,sdhci-auto-cmd12; | ||
135 | interrupts = <41 0x2 0 0>; | ||
136 | }; | ||
137 | |||
138 | /include/ "pq3-sec4.4-0.dtsi" | ||
139 | crypto@30000 { | ||
140 | interrupts = <57 2 0 0>; | ||
141 | |||
142 | sec_jr0: jr@1000 { | ||
143 | interrupts = <58 2 0 0>; | ||
144 | }; | ||
145 | |||
146 | sec_jr1: jr@2000 { | ||
147 | interrupts = <59 2 0 0>; | ||
148 | }; | ||
149 | |||
150 | sec_jr2: jr@3000 { | ||
151 | interrupts = <60 2 0 0>; | ||
152 | }; | ||
153 | |||
154 | sec_jr3: jr@4000 { | ||
155 | interrupts = <61 2 0 0>; | ||
156 | }; | ||
157 | }; | ||
158 | |||
159 | /include/ "pq3-mpic.dtsi" | ||
160 | /include/ "pq3-mpic-timer-B.dtsi" | ||
161 | |||
162 | /include/ "pq3-etsec2-0.dtsi" | ||
163 | enet0: ethernet@b0000 { | ||
164 | queue-group@b0000 { | ||
165 | fsl,rx-bit-map = <0xff>; | ||
166 | fsl,tx-bit-map = <0xff>; | ||
167 | interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>; | ||
168 | }; | ||
169 | }; | ||
170 | |||
171 | /include/ "pq3-etsec2-1.dtsi" | ||
172 | enet1: ethernet@b1000 { | ||
173 | queue-group@b1000 { | ||
174 | fsl,rx-bit-map = <0xff>; | ||
175 | fsl,tx-bit-map = <0xff>; | ||
176 | interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>; | ||
177 | }; | ||
178 | }; | ||
179 | |||
180 | global-utilities@e0000 { | ||
181 | compatible = "fsl,bsc9132-guts"; | ||
182 | reg = <0xe0000 0x1000>; | ||
183 | fsl,has-rstcr; | ||
184 | }; | ||
185 | }; | ||
diff --git a/arch/powerpc/boot/dts/fsl/bsc9132si-pre.dtsi b/arch/powerpc/boot/dts/fsl/bsc9132si-pre.dtsi new file mode 100644 index 000000000000..301a9dba5790 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/bsc9132si-pre.dtsi | |||
@@ -0,0 +1,66 @@ | |||
1 | /* | ||
2 | * BSC9132 Silicon/SoC Device Tree Source (pre include) | ||
3 | * | ||
4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | /dts-v1/; | ||
36 | |||
37 | /include/ "e500v2_power_isa.dtsi" | ||
38 | |||
39 | / { | ||
40 | #address-cells = <2>; | ||
41 | #size-cells = <2>; | ||
42 | interrupt-parent = <&mpic>; | ||
43 | |||
44 | aliases { | ||
45 | serial0 = &serial0; | ||
46 | ethernet0 = &enet0; | ||
47 | ethernet1 = &enet1; | ||
48 | }; | ||
49 | |||
50 | cpus { | ||
51 | #address-cells = <1>; | ||
52 | #size-cells = <0>; | ||
53 | |||
54 | cpu0: PowerPC,e500v2@0 { | ||
55 | device_type = "cpu"; | ||
56 | reg = <0x0>; | ||
57 | next-level-cache = <&L2>; | ||
58 | }; | ||
59 | |||
60 | cpu1: PowerPC,e500v2@1 { | ||
61 | device_type = "cpu"; | ||
62 | reg = <0x1>; | ||
63 | next-level-cache = <&L2>; | ||
64 | }; | ||
65 | }; | ||
66 | }; | ||