[LEDE-DEV] [PATCH 0/3] RFC: add new board for Ubiquiti EdgeRouterX SFP

Sven Roederer devel-sven at geroedel.de
Wed May 3 16:41:30 PDT 2017


I started to create a separate board for teh Ubiquiti EdgeRouterX SPF.
This device is very similar to the EdgeRouterX, but includes: 
- an SFP-port
- 5 passive-PoE LAN-ports (24V)

The EdgeRouterX had only a PoE-passtrought-port

I basically made a copy of the ubnt-erx as ubnt-erx-sfp (patch 1).
I defined the gpios via board.d/03-gpio-switch for both boards (patch 2)
I just added a modified DTS of erx as erx-sfp (patch 3). 

I have a board running with this an not seen any problems by now.

When I've got a spare SFP-board I'll try to separate the dts into
- a common file for erx and erx-sfp
- a dts for erx only settings, which includes the common dts
- a dts for erx-sfp settings, which includes the common dts

Please comment on style and things that should be changed for final patch


Thanks Sven

Sven Roederer (3):
  ramips-mt7621: add support for Ubiquiti EdgeRouter X-SFP
    (UBNT-ERX-SFP)
  ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)
  ramips-mt7621: add dts for UBNT-ERX-SFP

 .../linux/ramips/base-files/etc/board.d/02_network |   1 +
 .../ramips/base-files/etc/board.d/03_gpio_switches |  28 +++++
 target/linux/ramips/base-files/lib/ramips.sh       |   3 +
 .../ramips/base-files/lib/upgrade/platform.sh      |   9 +-
 target/linux/ramips/dts/UBNT-ERX-SFP.dts           | 121 +++++++++++++++++++++
 target/linux/ramips/image/mt7621.mk                |  13 +++
 6 files changed, 172 insertions(+), 3 deletions(-)
 create mode 100755 target/linux/ramips/base-files/etc/board.d/03_gpio_switches
 create mode 100644 target/linux/ramips/dts/UBNT-ERX-SFP.dts

-- 
2.1.4




More information about the Lede-dev mailing list