openwrt/target/linux/ath79/dts
Matt Merhar d03c89838e ath79: initial support for Ubiquiti RouterStation and RouterStation Pro
This adds a shared ar7161_ubnt_routerstation.dtsi as well as two other
.dts files that utilize it, ar7161_ubnt_routerstation.dts and
ar7161_ubnt_routerstation-pro.dts.

The modifications to generic-ubnt.mk, config-default, and base-files
necessary for image generation, parsing RedBoot FIS partitions, network
configuration, and sysupgrade are also included.

This reintroduces vital bits from platform_do_upgrade_combined() and its
supporting functions to /lib/upgrade/platform.sh, which were previously
removed from ath79 in 3e9d9f6225 "ath79:
sysupgrade: drop unused platform checks". The new function is called
"routerstation_do_upgrade" and will *only* work for the RouterStation
series of boards. It does however retain the ability to downgrade (e.g.
from master -> 17.01.x using sysupgrade -F).

All hardware is functional including the AR8216 switch (for the Pro),
wireless via ath5k/ath9k using the miniPCI slots, flash, USB, button,
and LED.

Switch and LAN/WAN configuration is the same as it is with the
equivalent ar71xx targets. MAC addresses are assigned based upon the
content stored in the RedBoot config partition.

Flashing via both sysupgrade and TFTP has been confirmed to work. Also,
the initramfs images are now raw .bin files instead of being wrapped in
a uImage (as they currently are in ar71xx), which makes them bootable
with RedBoot.

One notable difference to ar71xx is the inclusion of the RedBoot
"fconfig" utility (analogous to U-Boot’s fw_printenv/fw_setenv) in
DEVICE_PACKAGES. The FIS partitions are probed using the RedBoot MTD
parser’s DT binding, whose proper usage is mutually exclusive to
defining a separate fixed-partitions node for "RedBoot config". This
config partition contains the board's base MAC address. The lack of a
hard-coded flash location means that the mtd-mac-address property cannot
be used in the .dts, so instead fconfig is used to read the MAC
addresses from flash in userspace during first boot.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2018-08-27 19:31:17 +02:00
..
ar724x.dtsi
ar934x.dtsi
ar7100.dtsi
ar7161_dlink_dir-825-b1.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar7161_netgear_wndr3700.dts
ar7161_netgear_wndr3700.dtsi ath79: use both WNDR3x00 power leds for boot status indication 2018-08-15 07:42:36 +02:00
ar7161_netgear_wndr3700v2.dts
ar7161_netgear_wndr3800.dts
ar7161_ubnt_routerstation-pro.dts ath79: initial support for Ubiquiti RouterStation and RouterStation Pro 2018-08-27 19:31:17 +02:00
ar7161_ubnt_routerstation.dts ath79: initial support for Ubiquiti RouterStation and RouterStation Pro 2018-08-27 19:31:17 +02:00
ar7161_ubnt_routerstation.dtsi ath79: initial support for Ubiquiti RouterStation and RouterStation Pro 2018-08-27 19:31:17 +02:00
ar7240_buffalo_whr-g301n.dts ath79: add support for Buffalo WHR-G301N 2018-08-16 21:20:57 +02:00
ar7240_netgear_wnr612-v2.dts
ar7240_netgear_wnr612-v2.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7240_on_n150r.dts
ar7240_tplink_tl-wr74xn-v1.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7240_tplink_tl-wr740n-v1.dts
ar7240_tplink_tl-wr740n-v3.dts
ar7240_tplink_tl-wr741-v1.dts
ar7240_tplink_tl-wr743nd-v1.dts
ar7240_tplink_tl-wr841-v5.dts
ar7240_tplink_tl-wr941-v4.dts
ar7240.dtsi
ar7241_tplink_tl-mr3x20.dtsi
ar7241_tplink_tl-mr3220-v1.dts
ar7241_tplink_tl-mr3420-v1.dts
ar7241_tplink_tl-wr841-v7.dts
ar7241_tplink.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7241_ubnt_bullet-m.dts
ar7241_ubnt_nano-m.dts
ar7241_ubnt_rocket-m.dts
ar7241_ubnt_unifi.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7241_ubnt_xm.dtsi ath79: ubnt-xm: hijack LED4 as booting/failsafe 2018-08-23 22:42:15 +02:00
ar7241.dtsi
ar7242_avm_fritz300e.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7242_buffalo_wzr-hp-g450h.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar7242_tplink_tl-wr2543-v1.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar7242.dtsi
ar9132_tplink_tl-wr941-v2.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9132_tplink_tl-wr1043nd-v1.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9132.dtsi
ar9330_glinet_ar150.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9330.dtsi
ar9331_dptechnics_dpt-module.dts
ar9331_dragino_ms14.dts
ar9331_embeddedwireless_dorin.dts ath79: fix mac address increment for embedded wireless Dorin 2018-08-25 19:18:08 +02:00
ar9331_etactica_eg200.dts
ar9331_onion_omega.dts
ar9331_pisen_wmm003n.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9331_tplink_tl-mr10u.dts
ar9331_tplink_tl-mr3020-v1.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9331_tplink_tl-mr3040-v2.dts ath79: add support for TP-Link MR-3040 v2 2018-08-16 21:20:57 +02:00
ar9331_tplink_tl-wr703n_tl-mr10u.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9331_tplink_tl-wr703n.dts
ar9331_tplink_tl-wr740nd-v4.dts
ar9331_tplink_tl-wr741nd-v4.dts
ar9331_tplink_tl-wr741nd-v4.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9331.dtsi
ar9341_pcs_cr3000.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9341.dtsi
ar9342_iodata_etg3-r.dts ath79: add support for I-O DATA ETG3-R 2018-08-23 22:42:15 +02:00
ar9344_ocedo_raccoon.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9344_pcs_cap324.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9344_pcs_cr5000.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9344_tplink_tl-wdr3600.dts
ar9344_tplink_tl-wdr4300.dts
ar9344_tplink_tl-wdr4300.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9344.dtsi
ath79.dtsi
qca956x.dtsi
qca9533_glinet_ar300m_nand.dts
qca9533_glinet_ar300m_nor.dts
qca9533_glinet_ar300m.dtsi
qca9533_tplink_tl-wr841-v9.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9533_tplink_tl-wr841-v11.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9533_tplink_tl-wr841.dtsi
qca9533.dtsi
qca9557_iodata_wn-ac1167dgr.dts ath79: add support for I-O DATA WN-AC1167DGR 2018-08-16 21:20:57 +02:00
qca9557_iodata_wn-ac1600dgr2.dts ath79: add support for I-O DATA WN-AC1167DGR 2018-08-16 21:20:57 +02:00
qca9557_iodata_wn-ac-dgr.dtsi ath79: add support for I-O DATA WN-AC1167DGR 2018-08-16 21:20:57 +02:00
qca9557.dtsi
qca9558_buffalo_bhr-4grv2.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9558_ocedo_koala.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9558_openmesh_om5p-ac-v2.dts
qca9558_tplink_archer-c7-v1.dts ath79: add support for TP-Link Archer C7 v1 2018-08-19 18:48:43 +02:00
qca9558_tplink_archer-c7-v2.dts
qca9558_tplink_archer-c7.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9558_tplink_tl-wdr4900-v2.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
qca9558_tplink_tl-wr1043nd-v2.dts
qca9558_tplink_tl-wr1043nd-v3.dts
qca9558_tplink_tl-wr1043nd.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9561_avm_fritz4020.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
qca9563_phicomm_k2t.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_re450-v2.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_tl-wr1043n.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_tl-wr1043nd-v4.dts
qca9563_ubnt_unifiac-lite.dts
qca9563_ubnt_unifiac-lite.dtsi
qca9563_ubnt_unifiac-mesh-pro.dts
qca9563_ubnt_unifiac-mesh.dts
qca9563_ubnt_unifiac-pro.dts
qca9563_ubnt_unifiac-pro.dtsi
qca9563_ubnt_unifiac.dtsi