openwrt/target/linux/mediatek/dts
Bjørn Mork 6cc14bf66a filogic: support Telenor branded ZyXEL EX5700
Telenor quirks
--------------
The operator specific firmware running on the Telenor branded
ZyXEL EX5700 includes U-Boot modifications affecting the OpenWrt
installation.

Notable changes to U-Boot include
- environment is stored in RAM and reset to defaults when power
  cycled
- dual partition scheme with "nomimal" or "rescue" systems, falling
  back to "rescue" unless the OS signals success in 3 attempts
- several runtime additions to the device-tree

Some of these modifications have side effects requiring workarounds
- U-Boot modifies /chosen/bootargs in an unsafe manner, and will crash
  unless this node exists
- U-Boot verifies that the selected rootfs UBI volume exists, and
  refuses to boot if it doesn't. The chosen "rootfs" volume must contain
  a squashfs signature even for tftp or initramfs booting.
- U-Boot parses the "factoryparams" UBI volume, setting the "ethaddr"
  variable to the label mac.  But "factoryparams" does not always
  exist.  Instead there is a "RIP" volume containing all the factory
  data.  Copying the "RIP" volume to  "factoryparams" will fix this

Hardware
--------
SOC:   MediaTek MT7986
RAM:   1GB DDR4
FLASH: 512MB SPI-NAND (Mikron xxx)
WIFI:  Mediatek MT7986 802.11ax 5 GHz
       Mediatek MT7916 DBDC 802.11ax 2.4 + 6 GHz
ETH:   MediaTek MT7531 Switch + SoC
       3 x builtin 1G phy (lan1, lan2, lan3)
       2 x MaxLinear GPY211C 2.5 N-Base-T phy (lan4, wan)
USB:   1 x USB 3.2 Enhanced SuperSpeed port
UART:  3V3 115200 8N1 (Pinout: GND KEY RX TX VCC)

Installation
------------
1. Download the OpenWrt initramfs image. Copy the image to a TFTP server
   reachable at 192.168.1.2/24. Rename the image to C0A80101.img.

2. Connect the TFTP server to lan1, lan2 or lan3. Connect to the serial
   console, Interrupt the autoboot process by pressing ESC when prompted.

3. Download and boot the OpenWrt initramfs image.

   $ env set uboot_bootcount 0
   $ env set firmware nominal
   $ tftpboot
   $ bootm

4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>

Missing features
----------------

- The "lan1", "lan2" and "lan3" port LEDs are driven by the switch but
  OpenWrt does not correctly configure the output.
- The "lan4" and "wan" port LEDs are driven by the GPH211C phys and
  not configured by OpenWrt.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2023-08-20 01:14:06 +02:00
..
mt7622-buffalo-wsr-2533dhp2.dts mediatek: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
mt7622-elecom-wrc-2533gent.dts mediatek: add an upstreamed spi-nand driver 2022-04-28 18:06:00 +08:00
mt7622-elecom-wrc-x3200gst3.dts treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7622-linksys-e8450-ubi.dts mediatek: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
mt7622-linksys-e8450.dts mediatek: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
mt7622-linksys-e8450.dtsi treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7622-netgear-wax206.dts mediatek: no longer hard-code WAN PHY of Netgear WAX206 2023-04-30 17:27:00 +01:00
mt7622-reyee-ax3200-e5.dts mediatek: also move &slot0 from dtsi down to board dts 2022-12-07 01:45:14 +00:00
mt7622-rfb1-ubi.dts mediatek: add an upstreamed spi-nand driver 2022-04-28 18:06:00 +08:00
mt7622-ruijie-rg-ew3200.dtsi treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7622-ruijie-rg-ew3200gx-pro.dts mediatek: also move &slot0 from dtsi down to board dts 2022-12-07 01:45:14 +00:00
mt7622-totolink-a8000ru.dts mediatek: mt7622: add missing vbus regulator node to totolink-a8000ru dts 2022-07-07 00:22:23 +01:00
mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants 2022-09-03 02:27:59 +01:00
mt7622-ubnt-unifi-6-lr-v1.dts mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants 2022-09-03 02:27:59 +01:00
mt7622-ubnt-unifi-6-lr-v1.dtsi mediatek: fix ledbar of UniFi 6 LR when running custom U-Boot 2022-09-11 20:26:42 +01:00
mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants 2022-09-03 02:27:59 +01:00
mt7622-ubnt-unifi-6-lr-v2.dts mediatek: add Ubiquiti UniFi 6 LR v2 targets 2022-06-11 19:51:33 +01:00
mt7622-ubnt-unifi-6-lr-v2.dtsi mediatek: mt7622: fix white dome LED of UniFi 6 LR 2022-07-04 19:19:52 +01:00
mt7622-ubnt-unifi-6-lr.dtsi mediatek: UniFi 6 LR: disable RTC 2022-06-18 17:32:07 +01:00
mt7622-xiaomi-redmi-router-ax6s.dts treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7623a-unielec-u7623-02-emmc-512m.dts mediatek: u7623-02: enable early console also in legacy image 2022-01-31 00:10:38 +00:00
mt7623a-unielec-u7623-02.dts mediatek: mt7623: rework images for U7623-02 board 2022-01-23 20:20:37 +00:00
mt7623a-unielec-u7623-02.dtsi treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7629-iptime-a6004mx.dts treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
mt7629-netgear-ex6250-v2.dts mediatek: add support for Netgear EX6250v2 series 2023-07-01 14:42:11 +02:00
mt7981b-cudy-wr3000-v1.dts mediatek: add support for Cudy WR3000 v1 2023-05-18 01:46:13 +02:00
mt7981b-glinet-gl-mt3000.dts mediatek: add support for the GL.iNet GL-MT3000 2023-05-18 02:41:49 +01:00
mt7981b-h3c-magic-nx30-pro.dts mediatek: filogic: add H3C Magic NX30 Pro support 2023-07-01 15:13:08 +02:00
mt7981b-qihoo-360t7.dts mediatek: filogic: add Qihoo 360T7 support 2023-05-27 11:17:08 +01:00
mt7981b-xiaomi-mi-router-wr30u-112m-nmbm.dts mediatek: filogic: add specific layout for WR30U 2023-07-27 13:46:26 +02:00
mt7981b-xiaomi-mi-router-wr30u-stock.dts mediatek: filogic: add support for Xiaomi WR30U 2023-07-27 13:46:16 +02:00
mt7981b-xiaomi-mi-router-wr30u-ubootmod.dts mediatek: filogic: add support for Xiaomi WR30U 2023-07-27 13:46:16 +02:00
mt7981b-xiaomi-mi-router-wr30u.dtsi mediatek: filogic: add support for Xiaomi WR30U 2023-07-27 13:46:16 +02:00
mt7981b-zyxel-nwa50ax-pro.dts mediatek: add missing SPDX header 2023-07-22 17:41:22 +02:00
mt7986a-acer-predator-w6.dts mediatek: add support for Acer Predator W6 2023-08-05 18:42:45 +02:00
mt7986a-asus-tuf-ax4200.dts mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-tplink-tl-xdr4288.dts mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-tplink-tl-xdr6086.dts mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-tplink-tl-xdr6088.dts mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-tplink-tl-xdr-common.dtsi mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-xiaomi-redmi-router-ax6000-stock.dts mediatek: add new layout for Xiaomi Redmi Router AX6000 for OpenWrt U-Boot 2022-12-29 03:00:31 +00:00
mt7986a-xiaomi-redmi-router-ax6000-ubootmod.dts mediatek: add new layout for Xiaomi Redmi Router AX6000 for OpenWrt U-Boot 2022-12-29 03:00:31 +00:00
mt7986a-xiaomi-redmi-router-ax6000.dtsi mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-zyxel-ex5601-t0-stock.dts mediatek: sync MT7986 device trees with upstream 2023-06-05 11:36:32 +01:00
mt7986a-zyxel-ex5700-telenor.dts filogic: support Telenor branded ZyXEL EX5700 2023-08-20 01:14:06 +02:00
mt7986b-mercusys-mr90x-v1.dts mediatek: add support for Mercusys MR90X v1 2023-06-25 12:25:22 +02:00
mt7986b-netgear-wax220.dts mediatek: define NMBM management region for WAX220 2023-07-02 01:06:08 +02:00