soc: bcm: brcmstb: pm: Add support for newer rev B3.0 controllers

Update the Device Tree binding document and add a matching entry for the
MEMC DDR controller revision B3.0 which is found on chips like 7278A0
and newer.

Signed-off-by: Doug Berger <opendmb@gmail.com>
[florian: tweak commit message, make it apply to upstream kernel]
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Doug Berger 2018-05-11 15:02:41 -07:00 committed by Florian Fainelli
parent ce397d215c
commit 77d899631d
2 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,7 @@ Power-Down (SRPD), among other things.
Required properties: Required properties:
- compatible : should contain one of these - compatible : should contain one of these
"brcm,brcmstb-memc-ddr-rev-b.2.2" "brcm,brcmstb-memc-ddr-rev-b.2.2"
"brcm,brcmstb-memc-ddr-rev-b.3.0"
"brcm,brcmstb-memc-ddr" "brcm,brcmstb-memc-ddr"
- reg : the MEMC DDR register range - reg : the MEMC DDR register range

View File

@ -631,6 +631,10 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
.compatible = "brcm,brcmstb-memc-ddr-rev-b.2.2", .compatible = "brcm,brcmstb-memc-ddr-rev-b.2.2",
.data = &ddr_seq_b22, .data = &ddr_seq_b22,
}, },
{
.compatible = "brcm,brcmstb-memc-ddr-rev-b.3.0",
.data = &ddr_seq_b22,
},
{ {
.compatible = "brcm,brcmstb-memc-ddr", .compatible = "brcm,brcmstb-memc-ddr",
.data = &ddr_seq, .data = &ddr_seq,