diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-07 09:58:08 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-02-07 09:58:08 -0500 |
commit | fd896f5acd037c782f3bac8dedfb0d7e580d0b22 (patch) | |
tree | 2b8ba73fc9c303850cfe8c3155436ab647dc5419 | |
parent | 5f2f35a1ffb75669dfed0b2af9814d2ad36a285e (diff) | |
parent | cda1ade6a25c85d0a7cc2001a96b0b20f6bfd3f0 (diff) |
Merge tag 'socfpga_dts_for_v4.11_part_2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/dt
Pull "SoCFPGA DTS updates for v4.11, part 2" from Dinh Nguyen:
- Add AXI configuration for DWMAC ethernet controllers on Arria10
- Use watchdog1 instead of watchdog0 on Arria10
* tag 'socfpga_dts_for_v4.11_part_2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
ARM: dts: Add EMAC AXI settings for Arria10
ARM: dts: watchdog0 cannot reliably trigger reset
-rw-r--r-- | arch/arm/boot/dts/socfpga_arria10.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index 65904db153be..6b0b7463f36f 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi | |||
@@ -408,6 +408,12 @@ | |||
408 | }; | 408 | }; |
409 | }; | 409 | }; |
410 | 410 | ||
411 | socfpga_axi_setup: stmmac-axi-config { | ||
412 | snps,wr_osr_lmt = <0xf>; | ||
413 | snps,rd_osr_lmt = <0xf>; | ||
414 | snps,blen = <0 0 0 0 16 0 0>; | ||
415 | }; | ||
416 | |||
411 | gmac0: ethernet@ff800000 { | 417 | gmac0: ethernet@ff800000 { |
412 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; | 418 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; |
413 | altr,sysmgr-syscon = <&sysmgr 0x44 0>; | 419 | altr,sysmgr-syscon = <&sysmgr 0x44 0>; |
@@ -424,6 +430,7 @@ | |||
424 | clock-names = "stmmaceth"; | 430 | clock-names = "stmmaceth"; |
425 | resets = <&rst EMAC0_RESET>; | 431 | resets = <&rst EMAC0_RESET>; |
426 | reset-names = "stmmaceth"; | 432 | reset-names = "stmmaceth"; |
433 | snps,axi-config = <&socfpga_axi_setup>; | ||
427 | status = "disabled"; | 434 | status = "disabled"; |
428 | }; | 435 | }; |
429 | 436 | ||
@@ -443,6 +450,7 @@ | |||
443 | clock-names = "stmmaceth"; | 450 | clock-names = "stmmaceth"; |
444 | resets = <&rst EMAC1_RESET>; | 451 | resets = <&rst EMAC1_RESET>; |
445 | reset-names = "stmmaceth"; | 452 | reset-names = "stmmaceth"; |
453 | snps,axi-config = <&socfpga_axi_setup>; | ||
446 | status = "disabled"; | 454 | status = "disabled"; |
447 | }; | 455 | }; |
448 | 456 | ||
@@ -460,6 +468,7 @@ | |||
460 | rx-fifo-depth = <16384>; | 468 | rx-fifo-depth = <16384>; |
461 | clocks = <&l4_mp_clk>; | 469 | clocks = <&l4_mp_clk>; |
462 | clock-names = "stmmaceth"; | 470 | clock-names = "stmmaceth"; |
471 | snps,axi-config = <&socfpga_axi_setup>; | ||
463 | status = "disabled"; | 472 | status = "disabled"; |
464 | }; | 473 | }; |
465 | 474 | ||
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi index 4c99c99d1752..c57e6cea0d83 100644 --- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | |||
@@ -160,6 +160,6 @@ | |||
160 | status = "okay"; | 160 | status = "okay"; |
161 | }; | 161 | }; |
162 | 162 | ||
163 | &watchdog0 { | 163 | &watchdog1 { |
164 | status = "okay"; | 164 | status = "okay"; |
165 | }; | 165 | }; |