[PATCH 0/5] ath79: add support for routerboard 960pgs

Oskari Lemmela oskari at lemmela.net
Tue Jan 25 22:38:40 PST 2022


This patchset converts the ath79 mikrotik to use the qca8k DSA driver.
Once a generic ath79 target has been converted to a DSA, the change
is no longer required.

The SPI controller in the ar934x does not handle delays correctly.
Backport SPI driver delay fixes from the 5.17-rc1 kernel.
These fixes are required for the poe controller.

Oskari Lemmela (5):
  ath79: mikrotik: change to qca8k DSA driver
  ath79: add support for MikroTik RouterBOARD 960PGS (hEx PoE)
  ath79: fix ar934x spi driver delays
  ath79: mikrotik: add poe driver
  ath79: mikrotik: add poe to hex poe board

 .../qca9557_mikrotik_routerboard-960pgs.dts   | 310 +++++++++++++++++
 .../linux/ath79/files/drivers/hwmon/rbpoe.c   | 256 ++++++++++++++
 .../linux/ath79/files/drivers/hwmon/rbpoe.h   |  25 ++
 .../ath79/files/drivers/hwmon/rbpoeport.c     | 311 ++++++++++++++++++
 target/linux/ath79/image/mikrotik.mk          |   9 +
 .../base-files/etc/board.d/02_network         |  14 +
 .../lib/preinit/10_rename_interfaces.sh       |  11 +
 target/linux/ath79/mikrotik/config-default    |   7 +
 ...-ar934x-fix-transfer-and-word-delays.patch |  32 ++
 ...3-v5.17-spi-ar934x-fix-transfer-size.patch |  67 ++++
 .../902-hwmon-support-for-mikrotik-poe.patch  |  51 +++
 11 files changed, 1093 insertions(+)
 create mode 100644 target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts
 create mode 100644 target/linux/ath79/files/drivers/hwmon/rbpoe.c
 create mode 100644 target/linux/ath79/files/drivers/hwmon/rbpoe.h
 create mode 100644 target/linux/ath79/files/drivers/hwmon/rbpoeport.c
 create mode 100644 target/linux/ath79/mikrotik/base-files/lib/preinit/10_rename_interfaces.sh
 create mode 100644 target/linux/ath79/patches-5.10/402-v5.17-spi-ar934x-fix-transfer-and-word-delays.patch
 create mode 100644 target/linux/ath79/patches-5.10/403-v5.17-spi-ar934x-fix-transfer-size.patch
 create mode 100644 target/linux/ath79/patches-5.10/902-hwmon-support-for-mikrotik-poe.patch

-- 
2.25.1




More information about the openwrt-devel mailing list