Skip to content

Commit c7146a2

Browse files
jaedonamalon
authored andcommitted
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>
1 parent cccd0b9 commit c7146a2

File tree

5 files changed

+279
-0
lines changed

5 files changed

+279
-0
lines changed

arch/mips/boot/dts/brcm/bcm7346.dtsi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,17 @@
243243
brcm,irq-can-wake;
244244
};
245245

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+
246257
upg_gio: gpio@406700 {
247258
compatible = "brcm,brcmstb-gpio";
248259
reg = <0x406700 0x60>;
@@ -484,4 +495,38 @@
484495
status = "disabled";
485496
};
486497
};
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+
};
487532
};

arch/mips/boot/dts/brcm/bcm7360.dtsi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,17 @@
219219
brcm,irq-can-wake;
220220
};
221221

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+
222233
upg_gio: gpio@406500 {
223234
compatible = "brcm,brcmstb-gpio";
224235
reg = <0x406500 0xa0>;
@@ -403,4 +414,38 @@
403414
status = "disabled";
404415
};
405416
};
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+
};
406451
};

arch/mips/boot/dts/brcm/bcm7362.dtsi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,17 @@
215215
brcm,irq-can-wake;
216216
};
217217

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+
218229
upg_gio: gpio@406500 {
219230
compatible = "brcm,brcmstb-gpio";
220231
reg = <0x406500 0xa0>;
@@ -399,4 +410,38 @@
399410
status = "disabled";
400411
};
401412
};
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+
};
402447
};

arch/mips/boot/dts/brcm/bcm7425.dtsi

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,17 @@
242242
brcm,irq-can-wake;
243243
};
244244

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+
245256
upg_gio: gpio@406700 {
246257
compatible = "brcm,brcmstb-gpio";
247258
reg = <0x406700 0x80>;
@@ -495,4 +506,65 @@
495506
status = "disabled";
496507
};
497508
};
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+
};
498570
};

arch/mips/boot/dts/brcm/bcm7435.dtsi

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,17 @@
257257
brcm,irq-can-wake;
258258
};
259259

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+
260271
upg_gio: gpio@406700 {
261272
compatible = "brcm,brcmstb-gpio";
262273
reg = <0x406700 0x80>;
@@ -510,4 +521,65 @@
510521
status = "disabled";
511522
};
512523
};
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+
};
513585
};

0 commit comments

Comments
 (0)