power/reset: brcmstb: Add support for old 65nm chips
The register bit fields are a little different, so add an entry and a compatible string to accommodate them. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:

committed by
Sebastian Reichel

parent
bb1de7f61f
commit
79969f6aaf
@@ -88,8 +88,14 @@ static const struct reset_reg_mask reset_bits_40nm = {
|
||||
.sw_mstr_rst_mask = BIT(0),
|
||||
};
|
||||
|
||||
static const struct reset_reg_mask reset_bits_65nm = {
|
||||
.rst_src_en_mask = BIT(3),
|
||||
.sw_mstr_rst_mask = BIT(31),
|
||||
};
|
||||
|
||||
static const struct of_device_id of_match[] = {
|
||||
{ .compatible = "brcm,brcmstb-reboot", .data = &reset_bits_40nm },
|
||||
{ .compatible = "brcm,bcm7038-reboot", .data = &reset_bits_65nm },
|
||||
{},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user