net: ethernet: mtk_eth_soc: use standard property for cci-control-port
Rely on standard cci-control-port property to identify CCI port reference. Update mt7622 dts binding. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
17e415cf6a
commit
4263f77a51
@@ -3149,7 +3149,7 @@ static int mtk_probe(struct platform_device *pdev)
|
||||
struct regmap *cci;
|
||||
|
||||
cci = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
|
||||
"mediatek,cci-control");
|
||||
"cci-control-port");
|
||||
/* enable CPU/bus coherency */
|
||||
if (!IS_ERR(cci))
|
||||
regmap_write(cci, 0, 3);
|
||||
|
||||
Reference in New Issue
Block a user