1 From: Lorenzo Bianconi <lorenzo@kernel.org>
2 Date: Mon, 11 Apr 2022 12:13:25 +0200
3 Subject: [PATCH] net: ethernet: mtk_eth_soc: use standard property for
6 Rely on standard cci-control-port property to identify CCI port
8 Update mt7622 dts binding.
10 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
11 Signed-off-by: David S. Miller <davem@davemloft.net>
14 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
15 +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
17 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
18 mediatek,ethsys = <ðsys>;
19 mediatek,sgmiisys = <&sgmiisys>;
20 - mediatek,cci-control = <&cci_control2>;
21 + cci-control-port = <&cci_control2>;
22 mediatek,wed = <&wed0>, <&wed1>;
23 mediatek,pcie-mirror = <&pcie_mirror>;
24 mediatek,hifsys = <&hifsys>;
25 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
26 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
27 @@ -3194,7 +3194,7 @@ static int mtk_probe(struct platform_dev
30 cci = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
31 - "mediatek,cci-control");
32 + "cci-control-port");
33 /* enable CPU/bus coherency */
35 regmap_write(cci, 0, 3);