diff options
author | Jaedon Shin <jaedon.shin@gmail.com> | 2017-11-16 21:19:42 -0500 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-03-05 19:24:11 -0500 |
commit | c7146a2b5892ce97b71a66a47b0f6106a4a444e3 (patch) | |
tree | de7ab80d692907b789f097c5a43cb7c807380a7f | |
parent | cccd0b9a72d27f681c2e45da0c263a46e5c63926 (diff) |
MIPS: BMIPS: Add Broadcom STB power management nodes
Adds power management nodes to BCM7xxx MIPS based SoCs.
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17727/
Signed-off-by: James Hogan <jhogan@kernel.org>
-rw-r--r-- | arch/mips/boot/dts/brcm/bcm7346.dtsi | 45 | ||||
-rw-r--r-- | arch/mips/boot/dts/brcm/bcm7360.dtsi | 45 | ||||
-rw-r--r-- | arch/mips/boot/dts/brcm/bcm7362.dtsi | 45 | ||||
-rw-r--r-- | arch/mips/boot/dts/brcm/bcm7425.dtsi | 72 | ||||
-rw-r--r-- | arch/mips/boot/dts/brcm/bcm7435.dtsi | 72 |
5 files changed, 279 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm7346.dtsi b/arch/mips/boot/dts/brcm/bcm7346.dtsi index 02e426fe6013..8aa5b72d652d 100644 --- a/arch/mips/boot/dts/brcm/bcm7346.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7346.dtsi | |||
@@ -243,6 +243,17 @@ | |||
243 | brcm,irq-can-wake; | 243 | brcm,irq-can-wake; |
244 | }; | 244 | }; |
245 | 245 | ||
246 | aon_ctrl: syscon@408000 { | ||
247 | compatible = "brcm,brcmstb-aon-ctrl"; | ||
248 | reg = <0x408000 0x100>, <0x408200 0x200>; | ||
249 | reg-names = "aon-ctrl", "aon-sram"; | ||
250 | }; | ||
251 | |||
252 | timers: timer@4067c0 { | ||
253 | compatible = "brcm,brcmstb-timers"; | ||
254 | reg = <0x4067c0 0x40>; | ||
255 | }; | ||
256 | |||
246 | upg_gio: gpio@406700 { | 257 | upg_gio: gpio@406700 { |
247 | compatible = "brcm,brcmstb-gpio"; | 258 | compatible = "brcm,brcmstb-gpio"; |
248 | reg = <0x406700 0x60>; | 259 | reg = <0x406700 0x60>; |
@@ -484,4 +495,38 @@ | |||
484 | status = "disabled"; | 495 | status = "disabled"; |
485 | }; | 496 | }; |
486 | }; | 497 | }; |
498 | |||
499 | memory_controllers { | ||
500 | compatible = "simple-bus"; | ||
501 | ranges = <0x0 0x103b0000 0xa000>; | ||
502 | #address-cells = <1>; | ||
503 | #size-cells = <1>; | ||
504 | |||
505 | memory-controller@0 { | ||
506 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
507 | ranges = <0x0 0x0 0xa000>; | ||
508 | #address-cells = <1>; | ||
509 | #size-cells = <1>; | ||
510 | |||
511 | memc-arb@1000 { | ||
512 | compatible = "brcm,brcmstb-memc-arb"; | ||
513 | reg = <0x1000 0x248>; | ||
514 | }; | ||
515 | |||
516 | memc-ddr@2000 { | ||
517 | compatible = "brcm,brcmstb-memc-ddr"; | ||
518 | reg = <0x2000 0x300>; | ||
519 | }; | ||
520 | |||
521 | ddr-phy@6000 { | ||
522 | compatible = "brcm,brcmstb-ddr-phy"; | ||
523 | reg = <0x6000 0xc8>; | ||
524 | }; | ||
525 | |||
526 | shimphy@8000 { | ||
527 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
528 | reg = <0x8000 0x13c>; | ||
529 | }; | ||
530 | }; | ||
531 | }; | ||
487 | }; | 532 | }; |
diff --git a/arch/mips/boot/dts/brcm/bcm7360.dtsi b/arch/mips/boot/dts/brcm/bcm7360.dtsi index 4b87ebec407a..f68285c2dff0 100644 --- a/arch/mips/boot/dts/brcm/bcm7360.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7360.dtsi | |||
@@ -219,6 +219,17 @@ | |||
219 | brcm,irq-can-wake; | 219 | brcm,irq-can-wake; |
220 | }; | 220 | }; |
221 | 221 | ||
222 | aon_ctrl: syscon@408000 { | ||
223 | compatible = "brcm,brcmstb-aon-ctrl"; | ||
224 | reg = <0x408000 0x100>, <0x408200 0x200>; | ||
225 | reg-names = "aon-ctrl", "aon-sram"; | ||
226 | }; | ||
227 | |||
228 | timers: timer@406680 { | ||
229 | compatible = "brcm,brcmstb-timers"; | ||
230 | reg = <0x406680 0x40>; | ||
231 | }; | ||
232 | |||
222 | upg_gio: gpio@406500 { | 233 | upg_gio: gpio@406500 { |
223 | compatible = "brcm,brcmstb-gpio"; | 234 | compatible = "brcm,brcmstb-gpio"; |
224 | reg = <0x406500 0xa0>; | 235 | reg = <0x406500 0xa0>; |
@@ -403,4 +414,38 @@ | |||
403 | status = "disabled"; | 414 | status = "disabled"; |
404 | }; | 415 | }; |
405 | }; | 416 | }; |
417 | |||
418 | memory_controllers { | ||
419 | compatible = "simple-bus"; | ||
420 | ranges = <0x0 0x103b0000 0xa000>; | ||
421 | #address-cells = <1>; | ||
422 | #size-cells = <1>; | ||
423 | |||
424 | memory-controller@0 { | ||
425 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
426 | ranges = <0x0 0x0 0xa000>; | ||
427 | #address-cells = <1>; | ||
428 | #size-cells = <1>; | ||
429 | |||
430 | memc-arb@1000 { | ||
431 | compatible = "brcm,brcmstb-memc-arb"; | ||
432 | reg = <0x1000 0x248>; | ||
433 | }; | ||
434 | |||
435 | memc-ddr@2000 { | ||
436 | compatible = "brcm,brcmstb-memc-ddr"; | ||
437 | reg = <0x2000 0x300>; | ||
438 | }; | ||
439 | |||
440 | ddr-phy@6000 { | ||
441 | compatible = "brcm,brcmstb-ddr-phy"; | ||
442 | reg = <0x6000 0xc8>; | ||
443 | }; | ||
444 | |||
445 | shimphy@8000 { | ||
446 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
447 | reg = <0x8000 0x13c>; | ||
448 | }; | ||
449 | }; | ||
450 | }; | ||
406 | }; | 451 | }; |
diff --git a/arch/mips/boot/dts/brcm/bcm7362.dtsi b/arch/mips/boot/dts/brcm/bcm7362.dtsi index ca657df34b6d..a4bfa5f2b006 100644 --- a/arch/mips/boot/dts/brcm/bcm7362.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7362.dtsi | |||
@@ -215,6 +215,17 @@ | |||
215 | brcm,irq-can-wake; | 215 | brcm,irq-can-wake; |
216 | }; | 216 | }; |
217 | 217 | ||
218 | aon_ctrl: syscon@408000 { | ||
219 | compatible = "brcm,brcmstb-aon-ctrl"; | ||
220 | reg = <0x408000 0x100>, <0x408200 0x200>; | ||
221 | reg-names = "aon-ctrl", "aon-sram"; | ||
222 | }; | ||
223 | |||
224 | timers: timer@406680 { | ||
225 | compatible = "brcm,brcmstb-timers"; | ||
226 | reg = <0x406680 0x40>; | ||
227 | }; | ||
228 | |||
218 | upg_gio: gpio@406500 { | 229 | upg_gio: gpio@406500 { |
219 | compatible = "brcm,brcmstb-gpio"; | 230 | compatible = "brcm,brcmstb-gpio"; |
220 | reg = <0x406500 0xa0>; | 231 | reg = <0x406500 0xa0>; |
@@ -399,4 +410,38 @@ | |||
399 | status = "disabled"; | 410 | status = "disabled"; |
400 | }; | 411 | }; |
401 | }; | 412 | }; |
413 | |||
414 | memory_controllers { | ||
415 | compatible = "simple-bus"; | ||
416 | ranges = <0x0 0x103b0000 0xa000>; | ||
417 | #address-cells = <1>; | ||
418 | #size-cells = <1>; | ||
419 | |||
420 | memory-controller@0 { | ||
421 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
422 | ranges = <0x0 0x0 0xa000>; | ||
423 | #address-cells = <1>; | ||
424 | #size-cells = <1>; | ||
425 | |||
426 | memc-arb@1000 { | ||
427 | compatible = "brcm,brcmstb-memc-arb"; | ||
428 | reg = <0x1000 0x248>; | ||
429 | }; | ||
430 | |||
431 | memc-ddr@2000 { | ||
432 | compatible = "brcm,brcmstb-memc-ddr"; | ||
433 | reg = <0x2000 0x300>; | ||
434 | }; | ||
435 | |||
436 | ddr-phy@6000 { | ||
437 | compatible = "brcm,brcmstb-ddr-phy"; | ||
438 | reg = <0x6000 0xc8>; | ||
439 | }; | ||
440 | |||
441 | shimphy@8000 { | ||
442 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
443 | reg = <0x8000 0x13c>; | ||
444 | }; | ||
445 | }; | ||
446 | }; | ||
402 | }; | 447 | }; |
diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi index e4fb9b6e6dce..6cb535235efa 100644 --- a/arch/mips/boot/dts/brcm/bcm7425.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi | |||
@@ -242,6 +242,17 @@ | |||
242 | brcm,irq-can-wake; | 242 | brcm,irq-can-wake; |
243 | }; | 243 | }; |
244 | 244 | ||
245 | aon_ctrl: syscon@408000 { | ||
246 | compatible = "brcm,brcmstb-aon-ctrl"; | ||
247 | reg = <0x408000 0x100>, <0x408200 0x200>; | ||
248 | reg-names = "aon-ctrl", "aon-sram"; | ||
249 | }; | ||
250 | |||
251 | timers: timer@4067c0 { | ||
252 | compatible = "brcm,brcmstb-timers"; | ||
253 | reg = <0x4067c0 0x40>; | ||
254 | }; | ||
255 | |||
245 | upg_gio: gpio@406700 { | 256 | upg_gio: gpio@406700 { |
246 | compatible = "brcm,brcmstb-gpio"; | 257 | compatible = "brcm,brcmstb-gpio"; |
247 | reg = <0x406700 0x80>; | 258 | reg = <0x406700 0x80>; |
@@ -495,4 +506,65 @@ | |||
495 | status = "disabled"; | 506 | status = "disabled"; |
496 | }; | 507 | }; |
497 | }; | 508 | }; |
509 | |||
510 | memory_controllers { | ||
511 | compatible = "simple-bus"; | ||
512 | ranges = <0x0 0x103b0000 0x1a000>; | ||
513 | #address-cells = <1>; | ||
514 | #size-cells = <1>; | ||
515 | |||
516 | memory-controller@0 { | ||
517 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
518 | ranges = <0x0 0x0 0xa000>; | ||
519 | #address-cells = <1>; | ||
520 | #size-cells = <1>; | ||
521 | |||
522 | memc-arb@1000 { | ||
523 | compatible = "brcm,brcmstb-memc-arb"; | ||
524 | reg = <0x1000 0x248>; | ||
525 | }; | ||
526 | |||
527 | memc-ddr@2000 { | ||
528 | compatible = "brcm,brcmstb-memc-ddr"; | ||
529 | reg = <0x2000 0x300>; | ||
530 | }; | ||
531 | |||
532 | ddr-phy@6000 { | ||
533 | compatible = "brcm,brcmstb-ddr-phy"; | ||
534 | reg = <0x6000 0xc8>; | ||
535 | }; | ||
536 | |||
537 | shimphy@8000 { | ||
538 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
539 | reg = <0x8000 0x13c>; | ||
540 | }; | ||
541 | }; | ||
542 | |||
543 | memory-controller@1 { | ||
544 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
545 | ranges = <0x0 0x10000 0xa000>; | ||
546 | #address-cells = <1>; | ||
547 | #size-cells = <1>; | ||
548 | |||
549 | memc-arb@1000 { | ||
550 | compatible = "brcm,brcmstb-memc-arb"; | ||
551 | reg = <0x1000 0x248>; | ||
552 | }; | ||
553 | |||
554 | memc-ddr@2000 { | ||
555 | compatible = "brcm,brcmstb-memc-ddr"; | ||
556 | reg = <0x2000 0x300>; | ||
557 | }; | ||
558 | |||
559 | ddr-phy@6000 { | ||
560 | compatible = "brcm,brcmstb-ddr-phy"; | ||
561 | reg = <0x6000 0xc8>; | ||
562 | }; | ||
563 | |||
564 | shimphy@8000 { | ||
565 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
566 | reg = <0x8000 0x13c>; | ||
567 | }; | ||
568 | }; | ||
569 | }; | ||
498 | }; | 570 | }; |
diff --git a/arch/mips/boot/dts/brcm/bcm7435.dtsi b/arch/mips/boot/dts/brcm/bcm7435.dtsi index 1484e8990e52..1e0545c7f5b7 100644 --- a/arch/mips/boot/dts/brcm/bcm7435.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi | |||
@@ -257,6 +257,17 @@ | |||
257 | brcm,irq-can-wake; | 257 | brcm,irq-can-wake; |
258 | }; | 258 | }; |
259 | 259 | ||
260 | aon_ctrl: syscon@408000 { | ||
261 | compatible = "brcm,brcmstb-aon-ctrl"; | ||
262 | reg = <0x408000 0x100>, <0x408200 0x200>; | ||
263 | reg-names = "aon-ctrl", "aon-sram"; | ||
264 | }; | ||
265 | |||
266 | timers: timer@4067c0 { | ||
267 | compatible = "brcm,brcmstb-timers"; | ||
268 | reg = <0x4067c0 0x40>; | ||
269 | }; | ||
270 | |||
260 | upg_gio: gpio@406700 { | 271 | upg_gio: gpio@406700 { |
261 | compatible = "brcm,brcmstb-gpio"; | 272 | compatible = "brcm,brcmstb-gpio"; |
262 | reg = <0x406700 0x80>; | 273 | reg = <0x406700 0x80>; |
@@ -510,4 +521,65 @@ | |||
510 | status = "disabled"; | 521 | status = "disabled"; |
511 | }; | 522 | }; |
512 | }; | 523 | }; |
524 | |||
525 | memory_controllers { | ||
526 | compatible = "simple-bus"; | ||
527 | ranges = <0x0 0x103b0000 0x1a000>; | ||
528 | #address-cells = <1>; | ||
529 | #size-cells = <1>; | ||
530 | |||
531 | memory-controller@0 { | ||
532 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
533 | ranges = <0x0 0x0 0xa000>; | ||
534 | #address-cells = <1>; | ||
535 | #size-cells = <1>; | ||
536 | |||
537 | memc-arb@1000 { | ||
538 | compatible = "brcm,brcmstb-memc-arb"; | ||
539 | reg = <0x1000 0x248>; | ||
540 | }; | ||
541 | |||
542 | memc-ddr@2000 { | ||
543 | compatible = "brcm,brcmstb-memc-ddr"; | ||
544 | reg = <0x2000 0x300>; | ||
545 | }; | ||
546 | |||
547 | ddr-phy@6000 { | ||
548 | compatible = "brcm,brcmstb-ddr-phy"; | ||
549 | reg = <0x6000 0xc8>; | ||
550 | }; | ||
551 | |||
552 | shimphy@8000 { | ||
553 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
554 | reg = <0x8000 0x13c>; | ||
555 | }; | ||
556 | }; | ||
557 | |||
558 | memory-controller@1 { | ||
559 | compatible = "brcm,brcmstb-memc", "simple-bus"; | ||
560 | ranges = <0x0 0x10000 0xa000>; | ||
561 | #address-cells = <1>; | ||
562 | #size-cells = <1>; | ||
563 | |||
564 | memc-arb@1000 { | ||
565 | compatible = "brcm,brcmstb-memc-arb"; | ||
566 | reg = <0x1000 0x248>; | ||
567 | }; | ||
568 | |||
569 | memc-ddr@2000 { | ||
570 | compatible = "brcm,brcmstb-memc-ddr"; | ||
571 | reg = <0x2000 0x300>; | ||
572 | }; | ||
573 | |||
574 | ddr-phy@6000 { | ||
575 | compatible = "brcm,brcmstb-ddr-phy"; | ||
576 | reg = <0x6000 0xc8>; | ||
577 | }; | ||
578 | |||
579 | shimphy@8000 { | ||
580 | compatible = "brcm,brcmstb-ddr-shimphy"; | ||
581 | reg = <0x8000 0x13c>; | ||
582 | }; | ||
583 | }; | ||
584 | }; | ||
513 | }; | 585 | }; |