diff options
author | Kamal Dasu <kdasu.kdev@gmail.com> | 2016-08-24 18:04:27 -0400 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2016-10-19 09:40:43 -0400 |
commit | 329f98c1974e2323d9cc30964620e305113adac7 (patch) | |
tree | d1a43a10bfe4165a1a2f862ca0144154f021b67b | |
parent | e90d2d51c41202ae6a99b4d5e1342482c1c8735b (diff) |
ARM: dts: NSP: Add QSPI nodes to NSPI and bcm958625k DTSes
Adding QSPI Device Tree node compatible with the new spi-bcm-qspi driver for
the Broadcom Northstar Plus SoC DTSI and bcm958625k reference board.
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/bcm-nsp.dtsi | 31 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm958625k.dts | 34 |
2 files changed, 64 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 7c9e0fae9bb9..7502556143f0 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi | |||
@@ -160,7 +160,7 @@ | |||
160 | 160 | ||
161 | axi { | 161 | axi { |
162 | compatible = "simple-bus"; | 162 | compatible = "simple-bus"; |
163 | ranges = <0x00000000 0x18000000 0x0011ba08>; | 163 | ranges = <0x00000000 0x18000000 0x0011c40a>; |
164 | #address-cells = <1>; | 164 | #address-cells = <1>; |
165 | #size-cells = <1>; | 165 | #size-cells = <1>; |
166 | 166 | ||
@@ -254,6 +254,35 @@ | |||
254 | reg = <0x33000 0x14>; | 254 | reg = <0x33000 0x14>; |
255 | }; | 255 | }; |
256 | 256 | ||
257 | qspi: qspi@27200 { | ||
258 | compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi"; | ||
259 | reg = <0x027200 0x184>, | ||
260 | <0x027000 0x124>, | ||
261 | <0x11c408 0x004>, | ||
262 | <0x0273a0 0x01c>; | ||
263 | reg-names = "mspi", "bspi", "intr_regs", | ||
264 | "intr_status_reg"; | ||
265 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, | ||
266 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, | ||
267 | <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, | ||
268 | <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, | ||
269 | <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, | ||
270 | <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, | ||
271 | <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; | ||
272 | interrupt-names = "spi_lr_fullness_reached", | ||
273 | "spi_lr_session_aborted", | ||
274 | "spi_lr_impatient", | ||
275 | "spi_lr_session_done", | ||
276 | "spi_lr_overhead", | ||
277 | "mspi_done", | ||
278 | "mspi_halted"; | ||
279 | clocks = <&iprocmed>; | ||
280 | clock-names = "iprocmed"; | ||
281 | num-cs = <2>; | ||
282 | #address-cells = <1>; | ||
283 | #size-cells = <0>; | ||
284 | }; | ||
285 | |||
257 | ccbtimer0: timer@34000 { | 286 | ccbtimer0: timer@34000 { |
258 | compatible = "arm,sp804"; | 287 | compatible = "arm,sp804"; |
259 | reg = <0x34000 0x1000>; | 288 | reg = <0x34000 0x1000>; |
diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index 05c5f98c8782..59d96fb91583 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts | |||
@@ -139,3 +139,37 @@ | |||
139 | groups = "nand_grp"; | 139 | groups = "nand_grp"; |
140 | }; | 140 | }; |
141 | }; | 141 | }; |
142 | |||
143 | &qspi { | ||
144 | bspi-sel = <0>; | ||
145 | flash: m25p80@0 { | ||
146 | #address-cells = <1>; | ||
147 | #size-cells = <1>; | ||
148 | compatible = "m25p80"; | ||
149 | reg = <0x0>; | ||
150 | spi-max-frequency = <12500000>; | ||
151 | m25p,fast-read; | ||
152 | spi-cpol; | ||
153 | spi-cpha; | ||
154 | |||
155 | partition@0 { | ||
156 | label = "boot"; | ||
157 | reg = <0x00000000 0x000a0000>; | ||
158 | }; | ||
159 | |||
160 | partition@a0000 { | ||
161 | label = "env"; | ||
162 | reg = <0x000a0000 0x00060000>; | ||
163 | }; | ||
164 | |||
165 | partition@100000 { | ||
166 | label = "system"; | ||
167 | reg = <0x00100000 0x00600000>; | ||
168 | }; | ||
169 | |||
170 | partition@700000 { | ||
171 | label = "rootfs"; | ||
172 | reg = <0x00700000 0x01900000>; | ||
173 | }; | ||
174 | }; | ||
175 | }; | ||