[PATCH linux dev-5.3 v2 0/8] ftgmac100: Support AST2600 RMII

Andrew Jeffery andrew at aj.id.au
Thu Sep 26 01:34:31 AEST 2019


Hello,

This series adds support for ungating RMII RCLK on the AST2500 and AST2600,
enabling use of NCSI for the MACs if u-boot does not ungate the clock for us.

The patches have not yet been sent upstream, but I intend to do so once we're
through the 5.4 merge window to avoid some of them disappearing into the
net-next void.

v2:
* Support AST2500 RCLK as well.
* Add fixed RCLK clocks and describe correct parent clocks
* Re-order the patches to group clock and net changes.
* Update all the 2500- and 2600-based devicetrees

Tested by pinging a remote host on Tacoma (2600, u-boot does not configure
RCLK) and Witherspoon (2500, manually disabled RCLK in u-boot before booting
the kernel) hardware, and used QEMU to ensure the driver probes correctly on
Palmetto (2400, no gate for RCLK).

Please review!

Andrew

Andrew Jeffery (8):
  dt-bindings: clock: Add AST2500 RMII RCLK definitions
  dt-bindings: clock: Add AST2600 RMII RCLK gate definitions
  clk: aspeed: Add RMII RCLK gates for both AST2500 MACs
  clk: ast2600: Add RMII RCLK gates for all four MACs
  dt-bindings: net: ftgmac100: Document AST2600 compatible
  dt-bindings: net: ftgmac100: Describe clock properties
  net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs
  ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces

 .../devicetree/bindings/net/ftgmac100.txt     |  7 +++
 .../aspeed-bmc-arm-stardragon4800-rep2.dts    |  3 ++
 .../dts/aspeed-bmc-facebook-tiogapass.dts     |  3 ++
 .../arm/boot/dts/aspeed-bmc-facebook-yamp.dts |  3 ++
 .../boot/dts/aspeed-bmc-inspur-fp5280g2.dts   |  3 ++
 .../boot/dts/aspeed-bmc-inspur-on5263m5.dts   |  3 ++
 .../arm/boot/dts/aspeed-bmc-intel-s2600wf.dts |  3 ++
 arch/arm/boot/dts/aspeed-bmc-lenovo-hr630.dts |  3 ++
 .../boot/dts/aspeed-bmc-lenovo-hr855xg2.dts   |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts  |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts   |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts  |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-swift.dts    |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts   |  3 ++
 .../boot/dts/aspeed-bmc-opp-witherspoon.dts   |  3 ++
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts    |  3 ++
 .../boot/dts/aspeed-bmc-portwell-neptune.dts  |  6 +++
 drivers/clk/clk-aspeed.c                      | 27 ++++++++++-
 drivers/clk/clk-ast2600.c                     | 47 ++++++++++++++++++-
 drivers/net/ethernet/faraday/ftgmac100.c      | 35 +++++++++++---
 include/dt-bindings/clock/aspeed-clock.h      |  2 +
 include/dt-bindings/clock/ast2600-clock.h     |  5 ++
 22 files changed, 165 insertions(+), 9 deletions(-)

-- 
2.20.1



More information about the openbmc mailing list