ARM: dts: arria10: Add EMAC OCP reset property

Add the EMAC's OCP reset property on Arria10. The OCP reset bits are
also needed to correctly bring the EMACs out of reset correctly.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
Dinh Nguyen 2019-04-29 12:33:02 -05:00
parent d9b9f805ee
commit c946feaabb

View File

@ -431,8 +431,8 @@ gmac0: ethernet@ff800000 {
rx-fifo-depth = <16384>; rx-fifo-depth = <16384>;
clocks = <&l4_mp_clk>; clocks = <&l4_mp_clk>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
resets = <&rst EMAC0_RESET>; resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
reset-names = "stmmaceth"; reset-names = "stmmaceth", "stmmaceth-ocp";
snps,axi-config = <&socfpga_axi_setup>; snps,axi-config = <&socfpga_axi_setup>;
status = "disabled"; status = "disabled";
}; };
@ -451,8 +451,8 @@ gmac1: ethernet@ff802000 {
rx-fifo-depth = <16384>; rx-fifo-depth = <16384>;
clocks = <&l4_mp_clk>; clocks = <&l4_mp_clk>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
resets = <&rst EMAC1_RESET>; resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
reset-names = "stmmaceth"; reset-names = "stmmaceth", "stmmaceth-ocp";
snps,axi-config = <&socfpga_axi_setup>; snps,axi-config = <&socfpga_axi_setup>;
status = "disabled"; status = "disabled";
}; };
@ -470,8 +470,9 @@ gmac2: ethernet@ff804000 {
tx-fifo-depth = <4096>; tx-fifo-depth = <4096>;
rx-fifo-depth = <16384>; rx-fifo-depth = <16384>;
clocks = <&l4_mp_clk>; clocks = <&l4_mp_clk>;
resets = <&rst EMAC2_RESET>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
reset-names = "stmmaceth", "stmmaceth-ocp";
snps,axi-config = <&socfpga_axi_setup>; snps,axi-config = <&socfpga_axi_setup>;
status = "disabled"; status = "disabled";
}; };