openwrt/target/linux
Richard Yu 12d33d388c ipq40xx: add support for P&W R619AC (aka G-DOCK 2.0)
P&W R619AC is a IPQ4019 Dual-Band AC1200 router.
It is made by P&W (p2w-tech.com) known as P&W R619AC
but marketed and sold more popularly as G-DOCK 2.0.

Specification:

* SOC: Qualcomm Atheros IPQ4019 (717 MHz)
* RAM: 512 MiB
* Flash: 16 MiB (NOR) + 128 MiB (NAND)
* Ethernet: 5 x 10/100/1000 (4 x LAN, 1 x WAN)
* Wireless:
  - 2.4 GHz b/g/n Qualcomm Atheros IPQ4019
  - 5 GHz a/n/ac Qualcomm Atheros IPQ4019
* USB: 1 x USB 3.0
* LED: 4 x LAN, 1 x WAN, 2 x WiFi, 1 x Power (All Blue LED)
* Input: 1 x reset
* 1 x MicroSD card slot
* Serial console: 115200bps, pinheader J2 on PCB
* Power: DC 12V 2A
* 1 x Unpopulated mPCIe Slot (see below how to connect it)
* 1 x Unpopulated Sim Card Slot

Installation:
1. Access to tty console via UART serial
2. Enter failsafe mode and mount rootfs
   <https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset>
3. Edit inittab to enable shell on tty console
   `sed -i 's/#ttyM/ttyM/' /etc/inittab`
4. Reboot and upload `-nand-factory.bin` to the router (using wget)
5. Use `sysupgrade` command to install

Another installation method is to hijack the upgrade server domain
of stock firmware, because it's using insecure http.

This commit is based on @LGA1150(at GitHub)'s work
<a4932c8d5a>
With some changes:
1. Added `qpic_bam` node in dts. I don't know much about this,
   but I observed other dtses have this node.
2. Removed `ldo` node under `sd_0_pinmux`, because `ldo` cause SD card not
   working. This fix is from
   <51143b4c75>
3. Removed the 32MB NOR variant.
4. Removed `cd-gpios` in `sdhci` node, because it's reported that it makes
   wlan2g led light up.
5. Added ethphy led config in dts.
6. Changed nand partition label from `rootfs` to `ubi`.

About the 128MiB variant: The stock bootloader sets size of nand to 64MiB.
But most of this devices have 128MiB nand. If you want to use all 128MiB,
you need to modify the `MIBIB` data of bootloader. More details can be
found on github:
<https://github.com/openwrt/openwrt/pull/3691#issuecomment-818770060>
For instructions on how to flash the MIBIB partition from u-boot console:
<https://github.com/openwrt/openwrt/pull/3691#issuecomment-819138232>

About the Mini PCIe slot: (from "ygleg")
"The REFCLK signals on the Mini PCIe slot is not connected on
this board out of the box. If you want to use the Mini PCIe slot
on the board, you need to (preferably) solder two 0402 resistors:
R436 (REFCLK+) and R444 (REFCLK-)..."
This and much more information is provoided in the github comment:
<https://github.com/openwrt/openwrt/pull/3691#issuecomment-968054670>

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
[Added comment about MIBIB+128 MiB variant. Added commit
message section about pcie slot. Renamed gpio-leds' subnodes
and added color, function+enum properties.]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-11-14 14:28:34 +01:00
..
apm821xx apm821xx: MBL: MR24: fetch IP address over dhcp by default 2021-11-01 00:56:51 +01:00
arc770 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
archs38 archs38: update kernel version to 5.10 2021-11-07 17:12:10 +01:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-12 19:22:08 -10:00
at91 kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
ath79 ath79: WNDR3700/3800/MAC: utilize nvmem for caldata fetching 2021-11-06 22:18:45 +01:00
bcm27xx kernel: bump 5.10 to 5.10.78 2021-11-07 19:59:10 +01:00
bcm47xx bcm47xx: switch to kernel 5.10 2021-11-08 15:56:39 +01:00
bcm53xx bcm53xx: drop patch for downstream swconfig-based b53 2021-11-08 15:58:42 +01:00
bcm63xx kernel: bump 5.10 to 5.10.79 2021-11-13 18:36:47 +00:00
bcm4908 bcm4908: switch to kernel 5.10 2021-11-09 12:44:26 +01:00
bmips kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
gemini gemini: splash banner on framebuffer console 2021-10-10 16:44:15 +02:00
generic kernel: bump 5.10 to 5.10.79 2021-11-13 18:36:47 +00:00
imx imx: remove obsolete Kernel 5.4 2021-11-03 12:45:40 +01:00
ipq40xx ipq40xx: add support for P&W R619AC (aka G-DOCK 2.0) 2021-11-14 14:28:34 +01:00
ipq806x kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-09 20:24:12 +02:00
kirkwood kirkwood: switch to kernel 5.10 2021-10-09 18:44:55 +02:00
lantiq kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
layerscape layerscape: mkits-multiple-config: fail on invalid arguments 2021-11-08 15:58:13 +01:00
malta malta: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
mediatek mediatek: mt7622: bpi-r64: rewrite MMC uImage.FIT sysupgrade 2021-11-12 15:03:07 +00:00
mpc85xx kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
mvebu kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
mxs kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
octeon kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
octeontx kernel: Deactivate some ARM64 errata workarounds 2021-10-03 01:13:18 +02:00
omap kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
oxnas kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
pistachio pistachio: drop Kernel 5.4 support 2021-11-07 18:32:21 +01:00
ramips kernel: bump 5.4 to 5.4.158 2021-11-07 19:58:08 +01:00
realtek realtek: backport GPIO IRQ index fix 2021-11-01 00:56:51 +01:00
rockchip rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
sunxi kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
tegra tegra: switch to kernel 5.10 2021-10-18 21:32:36 +02:00
uml uml: add Kernel 5.10 support via testing 2021-11-02 10:04:50 -10:00
x86 x86: sort alphabetically default packages 2021-11-06 23:36:32 +01:00
zynq kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00