Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:techref:hardware:soc:soc.mediatek [2018/06/15 06:42] – Related pages removed (doesn't deliver much of anything and is not included in other soc subpages) tmomas | docs:techref:hardware:soc:soc.mediatek [2023/12/24 03:24] (current) – [Ralink ramips] mt7620 and mt7628 driver lmita | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Ralink ramips ===== | ===== Ralink ramips ===== | ||
| - | * A quite good source for product | + | * A quite good source for product |
| * OpenWrt specific: | * OpenWrt specific: | ||
| * all MediaTek/ | * all MediaTek/ | ||
| * building a target requires a target-specific firmware (that is, most devices need customized firmware). The kernel is patched with the command line that has the board name in it. This mechanism is similar to what is done for [[docs: | * building a target requires a target-specific firmware (that is, most devices need customized firmware). The kernel is patched with the command line that has the board name in it. This mechanism is similar to what is done for [[docs: | ||
| - | * browse the source code: [[https://dev.openwrt.org/browser# | + | * browse the source code: [[https://github.com/openwrt/openwrt/ |
| * FIXME: there might still be some historical information in the OpenWrt dev wiki [[https:// | * FIXME: there might still be some historical information in the OpenWrt dev wiki [[https:// | ||
| Line 28: | Line 28: | ||
| | ::: | MT7620 | | ::: | MT7620 | ||
| | ::: | ::: | MT7620n | SDR/DDR1/2 | 2T2R | 24KEc | [[toh: | | ::: | ::: | MT7620n | SDR/DDR1/2 | 2T2R | 24KEc | [[toh: | ||
| - | | ::: | MT7621 | + | | ::: | MT7621 |
| - | | ::: | MT7628 | + | | ::: |
| + | | ::: | [[https:// | ||
| | ::: | MT7688 | | ::: | MT7688 | ||
| | '' | | '' | ||
| Line 40: | Line 41: | ||
| * RT5350 is still available and cheaper, [[http:// | * RT5350 is still available and cheaper, [[http:// | ||
| * see here for a comparison: [[http:// | * see here for a comparison: [[http:// | ||
| + | * These use the '' | ||
| * MT7621 | * MT7621 | ||
| - | * Dual-Core | + | * 2 cores, 4 threads: |
| + | * MT7621AT | ||
| + | * MT7621DAT: 128MB integrated RAM | ||
| + | * 1 core, 2 threads: | ||
| + | * MT7621ST, MT7621NT | ||
| * SoC does not include a Wifi subsystem | * SoC does not include a Wifi subsystem | ||
| - | * [[http:// | + | * [[https:// |
| - | * [[https://wikidevi.com/ | + | * [[https://deviwiki.com/ |
| + | * MT7628 | ||
| + | * MT7628A: Full function with external DRAM | ||
| + | * MT7628K: Embedded 8MB DRAM and L-shape | ||
| + | * MT7628N: Same as MT7628A, but without PCle and IoT modes | ||
| + | * MT7628DAN: 64MB integrated RAM | ||
| + | * The chip uses a driver from the '' | ||
| + | ===== RGMII configuration ===== | ||
| + | On MT7620A and likely other Ralink / Mediatek SOCs, the RGMII delay is set with the Port I control register in the GSW (gigabit switch) subsystem | ||
| + | |||
| + | for boards with uboot and an available console (option 4?), the register can be read with the command | ||
| + | |||
| + | md 0x10117014 1 | ||
| + | |||
| + | and the following bits tell you the OEM bootloader / chip defaults | ||
| + | |||
| + | |BIT(2)|RX no delay| | ||
| + | |BIT(3)|TX delay| | ||
| + | |BITS(16, 20)|PHY_BASE| | ||
| + | |BITS(24, 28)|PHY_DISABLE| | ||
| + | |||
| + | For a complete explanation, | ||
| + | |||
| + | example: | ||
| + | |||
| + | 10117014: 1f08000c | ||
| + | |||
| + | c --> 1100 --> TX delay only | ||
| + | |||
| + | 8 --> PHY_BASE address | ||
| + | |||
| + | 1f --> internal PHYs disabled | ||
| + | |||
| + | |||
| + | ---- | ||
| + | Remember: You have to read bits from right to left. | ||
| + | For example '' | ||
| + | < | ||
| + | 0001 1111 0000 1000 0000 0000 0000 1100 | ||
| + | | ||
| + | 28 | ||
| + | </ | ||
| ===== MediaTek xDSL ===== | ===== MediaTek xDSL ===== | ||
| Line 63: | Line 110: | ||
| * [[http:// | * [[http:// | ||
| * combine with RT63095 AFE (Analog Front-End) for VDSL2 | * combine with RT63095 AFE (Analog Front-End) for VDSL2 | ||
| + | |||
| + | |||
| ==== Linux support for MediaTek xDSL ==== | ==== Linux support for MediaTek xDSL ==== | ||
| **unknown** | **unknown** | ||
| + | ===== Devices ===== | ||
| + | The list of related devices: | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | |||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| + | {{tagpage> | ||
| - | ===== Tags ===== | ||
| - | {{tag> | ||