2021-09-13 12:08:35 +00:00
|
|
|
From a10fab12a927e60b7141a602e740d70cb4d09e4a Mon Sep 17 00:00:00 2001
|
|
|
|
From: John Crispin <john@phrozen.org>
|
|
|
|
Date: Thu, 9 Mar 2017 11:03:18 +0100
|
|
|
|
Subject: [PATCH] arm: boot: add dts files
|
|
|
|
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/Makefile | 23 +++++++++++++++++++++++
|
|
|
|
1 file changed, 23 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/Makefile
|
|
|
|
+++ b/arch/arm/boot/dts/Makefile
|
2022-08-22 20:45:53 +00:00
|
|
|
@@ -904,11 +904,79 @@ dtb-$(CONFIG_ARCH_QCOM) += \
|
2021-09-13 12:08:35 +00:00
|
|
|
qcom-apq8074-dragonboard.dtb \
|
|
|
|
qcom-apq8084-ifc6540.dtb \
|
|
|
|
qcom-apq8084-mtp.dtb \
|
|
|
|
+ qcom-ipq4018-a42.dtb \
|
|
|
|
+ qcom-ipq4018-ap120c-ac.dtb \
|
|
|
|
+ qcom-ipq4018-dap-2610.dtb \
|
|
|
|
+ qcom-ipq4018-cs-w3-wd1200g-eup.dtb \
|
|
|
|
+ qcom-ipq4018-magic-2-wifi-next.dtb \
|
|
|
|
+ qcom-ipq4018-ea6350v3.dtb \
|
|
|
|
+ qcom-ipq4018-eap1300.dtb \
|
|
|
|
+ qcom-ipq4018-ecw5211.dtb \
|
|
|
|
+ qcom-ipq4018-emd1.dtb \
|
|
|
|
+ qcom-ipq4018-emr3500.dtb \
|
|
|
|
+ qcom-ipq4018-ens620ext.dtb \
|
|
|
|
+ qcom-ipq4018-ex6100v2.dtb \
|
|
|
|
+ qcom-ipq4018-ex6150v2.dtb \
|
|
|
|
+ qcom-ipq4018-fritzbox-4040.dtb \
|
|
|
|
+ qcom-ipq4018-gl-ap1300.dtb \
|
|
|
|
+ qcom-ipq4018-jalapeno.dtb \
|
|
|
|
+ qcom-ipq4018-meshpoint-one.dtb \
|
2021-04-06 16:38:31 +00:00
|
|
|
+ qcom-ipq4018-cap-ac.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4018-hap-ac2.dtb \
|
|
|
|
+ qcom-ipq4018-sxtsq-5-ac.dtb \
|
|
|
|
+ qcom-ipq4018-nbg6617.dtb \
|
|
|
|
+ qcom-ipq4019-oap100.dtb \
|
|
|
|
+ qcom-ipq4018-pa1200.dtb \
|
|
|
|
+ qcom-ipq4018-rt-ac58u.dtb \
|
2021-07-15 19:48:11 +00:00
|
|
|
+ qcom-ipq4018-rutx10.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4018-wac510.dtb \
|
|
|
|
+ qcom-ipq4018-wre6606.dtb \
|
|
|
|
+ qcom-ipq4018-wrtq-329acn.dtb \
|
|
|
|
qcom-ipq4019-ap.dk01.1-c1.dtb \
|
|
|
|
qcom-ipq4019-ap.dk04.1-c1.dtb \
|
|
|
|
qcom-ipq4019-ap.dk04.1-c3.dtb \
|
|
|
|
qcom-ipq4019-ap.dk07.1-c1.dtb \
|
|
|
|
qcom-ipq4019-ap.dk07.1-c2.dtb \
|
|
|
|
+ qcom-ipq4019-a62.dtb \
|
|
|
|
+ qcom-ipq4019-cm520-79f.dtb \
|
2020-09-02 00:10:16 +00:00
|
|
|
+ qcom-ipq4019-e2600ac-c1.dtb \
|
|
|
|
+ qcom-ipq4019-e2600ac-c2.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4019-ea8300.dtb \
|
|
|
|
+ qcom-ipq4019-eap2200.dtb \
|
|
|
|
+ qcom-ipq4019-fritzbox-7530.dtb \
|
|
|
|
+ qcom-ipq4019-fritzrepeater-1200.dtb \
|
|
|
|
+ qcom-ipq4019-fritzrepeater-3000.dtb \
|
2020-09-02 00:10:16 +00:00
|
|
|
+ qcom-ipq4019-habanero-dvk.dtb \
|
ipq40xx: add support for MikroTik hAP ac3
This adds support for the MikroTik RouterBOARD RBD53iG-5HacD2HnD
(hAP ac³), a indoor dual band, dual-radio 802.11ac
wireless AP with external omnidirectional antennae, USB port, five
10/100/1000 Mbps Ethernet ports and PoE passthrough.
See https://mikrotik.com/product/hap_ac3 for more info.
Specifications:
- SoC: Qualcomm Atheros IPQ4019
- RAM: 256 MB
- Storage: 16 MB NOR + 128 MB NAND
- Wireless:
· Built-in IPQ4019 (SoC) 802.11b/g/n 2x2:2, 3 dBi antennae
· Built-in IPQ4019 (SoC) 802.11a/n/ac 2x2:2, 5.5 dBi antennae
- Ethernet: Built-in IPQ4019 (SoC, QCA8075) , 5x 1000/100/10 port,
passive PoE in, PoE passtrough on port 5
- 1x USB Type A port
Installation:
1. Boot the initramfs image via TFTP
2. Run "cat /proc/mtd" and look for "ubi" partition mtd device number, ex. "mtd1"
3. Use ubiformat to remove MikroTik specific UBI volumes
* Detach the UBI partition by running: "ubidetach -d 0"
* Format the partition by running: "ubiformat /dev/mtdN -y"
Replace mtdN with the correct mtd index from step 2.
3. Flash the sysupgrade image using "sysupgrade -n"
Signed-off-by: Robert Marko <robimarko@gmail.com>
Tested-by: Mark Birss <markbirss@gmail.com>
Tested-by: Michael Büchler <michael.buechler@posteo.net>
Tested-by: Alex Tomkins <tomkins@darkzone.net>
2021-10-09 18:13:25 +00:00
|
|
|
+ qcom-ipq4019-hap-ac3.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4019-map-ac2200.dtb \
|
2021-01-04 23:22:00 +00:00
|
|
|
+ qcom-ipq4019-lhgg-60ad.dtb \
|
2021-11-23 08:10:14 +00:00
|
|
|
+ qcom-ipq4019-mf286d.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4019-mr8300.dtb \
|
|
|
|
+ qcom-ipq4019-pa2200.dtb \
|
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
<https://github.com/LGA1150/openwrt/commit/a4932c8d5a275d1fb4297bd20ec03f9270a45d1c>
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
<https://github.com/coolsnowwolf/lede/commit/51143b4c7571f717afe071db60bbb4db1532cbf2>
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-12 03:16:21 +00:00
|
|
|
+ qcom-ipq4019-r619ac-64m.dtb \
|
|
|
|
+ qcom-ipq4019-r619ac-128m.dtb \
|
2020-09-02 00:10:16 +00:00
|
|
|
+ qcom-ipq4019-rbr50.dtb \
|
|
|
|
+ qcom-ipq4019-rbs50.dtb \
|
2021-12-30 20:25:03 +00:00
|
|
|
+ qcom-ipq4019-rt-ac42u.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4019-rtl30vw.dtb \
|
2020-09-02 00:10:16 +00:00
|
|
|
+ qcom-ipq4019-srr60.dtb \
|
|
|
|
+ qcom-ipq4019-srs60.dtb \
|
2022-03-11 03:54:07 +00:00
|
|
|
+ qcom-ipq4019-x1pro.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4019-u4019-32m.dtb \
|
|
|
|
+ qcom-ipq4019-wpj419.dtb \
|
|
|
|
+ qcom-ipq4019-wtr-m2133hp.dtb \
|
|
|
|
+ qcom-ipq4028-wpj428.dtb \
|
|
|
|
+ qcom-ipq4029-ap-303.dtb \
|
|
|
|
+ qcom-ipq4029-ap-303h.dtb \
|
|
|
|
+ qcom-ipq4029-ap-365.dtb \
|
|
|
|
+ qcom-ipq4029-gl-b1300.dtb \
|
ipq40xx: add support for GL.iNet GL-B2200
This patch adds supports for the GL-B2200 router.
Specifications:
- SOC: Qualcomm IPQ4019 ARM Quad-Core
- RAM: 512 MiB
- Flash: 16 MiB NOR - SPI0
- EMMC: 8GB EMMC
- ETH: Qualcomm QCA8075
- WLAN1: Qualcomm Atheros QCA4019 2.4GHz 802.11b/g/n 2x2
- WLAN2: Qualcomm Atheros QCA4019 5GHz 802.11n/ac W2 2x2
- WLAN3: Qualcomm Atheros QCA9886 5GHz 802.11n/ac W2 2x2
- INPUT: Reset, WPS
- LED: Power, Internet
- UART1: On board pin header near to LED (3.3V, TX, RX, GND), 3.3V without pin - 115200 8N1
- UART2: On board with BLE module
- SPI1: On board socket for Zigbee module
Update firmware instructions:
Please update the firmware via U-Boot web UI (by default at 192.168.1.1, following instructions found at
https://docs.gl-inet.com/en/3/troubleshooting/debrick/).
Normal sysupgrade, either via CLI or LuCI, is not possible from stock firmware.
Please do use the *gl-b2200-squashfs-emmc.img file, gunzipping the produced *gl-b2200-squashfs-emmc.img.gz one first.
What's working:
- WiFi 2G, 5G
- WPA2/WPA3
Not tested:
- Bluetooth LE/Zigbee
Credits goes to the original authors of this patch.
V1->V2:
- updates *arm-boot-add-dts-files.patch correctly (sorry, my mistake)
- add uboot-envtools support
V2->V3:
- Li Zhang updated official patch to fix wrong MAC address on wlan0 (PCI) interface
V3->V4:
- wire up sysupgrade
Signed-off-by: Li Zhang <li.zhang@gl-inet.com>
[fix tab and trailing space, document what's working and what's not]
Signed-off-by: TruongSinh Tran-Nguyen <i@truongsinh.pro>
[rebase on top of master, address remaining comments]
Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
[remove redundant check in platform.sh]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-12-01 15:18:17 +00:00
|
|
|
+ qcom-ipq4019-gl-b2200.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
+ qcom-ipq4029-gl-s1300.dtb \
|
|
|
|
+ qcom-ipq4029-mr33.dtb \
|
|
|
|
qcom-ipq8064-ap148.dtb \
|
2021-09-12 20:36:12 +00:00
|
|
|
qcom-ipq8064-rb3011.dtb \
|
2021-09-13 12:08:35 +00:00
|
|
|
qcom-msm8660-surf.dtb \
|