openwrt/target/linux/ipq40xx/files/arch/arm/boot/dts
Davide Fioravanti 2cb24b3f3c ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50
The Netgear SRS60 and SRR60 (sold together as SRK60) are two almost
identical AC3000 routers. The SRR60 has one port labeled as wan while
the SRS60 not. The RBR50 and RBS50 (sold together as RBK50) have a
different external shape but they have an USB 2.0 port on the back.

This patch has been tested only on SRS60 and RBR50, but should work
on SRR60 and RBS50.

Hardware
--------
SoC:   Qualcomm IPQ4019 (717 MHz, 4 cores 4 threads)
RAM:   512MB DDR3
FLASH: 4GB EMMC
ETH:
  - 3x 10/100/1000 Mbps Ethernet
  - 1x 10/100/1000 Mbps Ethernet (WAN)
WIFI:
  - 2.4GHz: 1x IPQ4019 (2x2:2)
  - 5GHz:   1x IPQ4019 (2x2:2)
  - 5GHz:   1x QCA9984 (4x4:4)
  - 6 internal antennas
BTN:
  - 1x Reset button
  - 1x Sync button
  - 1x ON/OFF button
LEDS:
  - 8 leds controlled by TLC59208F (they can be switched on/off
    independendently but the color can by changed by GPIOs)
  - 1x Red led (Power)
  - 1x Green led (Power)
UART:
  - 115200-8-N-1

Everything works correctly.

Installation
------------
These routers have a dual partition system. However this firmware works
only on boot partition 1 and the OEM web interface will always flash on
the partition currently not booted.

The following steps will use the SRS60 firmware, but you have to chose
the right firmware for your router.

There are 2 ways to install Openwrt the first time:

1) Using NMRPflash
 1. Download nmrpflash (https://github.com/jclehner/nmrpflash)
 2. Put the openwrt-ipq40xx-generic-netgear_srs60-squashfs-factory.img
	file in the same folder of the nmrpflash executable
 3. Connect your pc to the router using the port near the power button.
 4. Run "nmrpflash -i XXX -f openwrt-ipq40xx-generic-netgear_srs60-squashfs-factory.img".
	Replace XXX with your network interface (can be identified by
	running "nmrpflash -L")
 5. Power on the router and wait for the flash to complete. After about
	a minute the router should boot directly to Openwrt. If nothing
	happens try to reboot the router. If you have problems flashing
	try to set "10.164.183.253" as your computer IP address

2) Without NMRPflash
The OEM web interface will always flash on the partition currently not
booted, so to flash OpenWrt for the first time you have to switch to
boot partition 2 and then flash the factory image directly from the OEM
web interface.

To switch on partition 2 you have to enable telnet first:
 1. Go to http://192.168.1.250/debug.htm and check "Enable Telnet".
 2. Connect through telent ("telnet 192.168.1.250") and login using
	admin/password.

	To read the current boot_part:
		artmtd -r boot_part

	To write the new boot_part:
		artmtd -w boot_part 02

	Then reboot the router and then check again the current booted
	partition

Now that you are on boot partition 2 you can flash the factory Openwrt
image directly from the OEM web interface.

Restore OEM Firmware
--------------------
 1. Download the stock firmware from official netgear support.
 2. Follow the nmrpflash procedure like above, using the official
	Netgear firmware (for example SRS60-V2.2.1.210.img)

        nmrpflash -i XXX -f SRS60-V2.2.1.210.img

Notes
-----
1) You can check and edit the boot partition in the Uboot shell using
	the UART connection.
	"boot_partition_show" shows the current boot partition
	"boot_partition_set 1" sets the current boot partition to 1

2) Router mac addresses:

   LAN XX:XX:XX:XX:XX:69
   WAN XX:XX:XX:XX:XX:6a
   WIFI 2G XX:XX:XX:XX:XX:69
   WIFI 5G XX:XX:XX:XX:XX:6b
   WIFI 5G (2nd) XX:XX:XX:XX:XX:6c

   LABEL XX:XX:XX:XX:XX:69

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
[added 5.10 changes for 901-arm-boot-add-dts-files.patch, moved
sysupgrade mmc.sh to here and renamed it, various dtsi changes]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-11-01 00:56:51 +01:00
..
qcom-ipq4018-a42.dts ipq40xx: DTS style updates for OpenMesh devices 2020-11-23 13:44:47 +01:00
qcom-ipq4018-ap120c-ac.dts ipq40xx: dts: convert PHY GPIO bindings 2020-12-23 16:36:08 +01:00
qcom-ipq4018-cs-w3-wd1200g-eup.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-dap-2610.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ea6350v3.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-eap1300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ecw5211.dts ipq40xx: improve support for Edgecore ECW5211 2020-10-07 18:07:54 +02:00
qcom-ipq4018-emd1.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-emr3500.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ens620ext.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: increase EX6150v2 SPI frequency 2021-08-14 14:47:34 +02:00
qcom-ipq4018-ex6100v2.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4018-ex6150v2.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4018-fritzbox-4040.dts ipq40xx: dts: convert PHY GPIO bindings 2020-12-23 16:36:08 +01:00
qcom-ipq4018-gl-ap1300.dts ipq40xx: add support for GL.iNet GL-AP1300 2020-12-25 10:38:13 +01:00
qcom-ipq4018-hap-ac2.dts ipq40xx: fix hard_config partition size on MikroTik hAP-ac2 2021-05-08 12:18:43 +02:00
qcom-ipq4018-jalapeno.dts
qcom-ipq4018-jalapeno.dtsi
qcom-ipq4018-magic-2-wifi-next.dts ipq40xx: add support for devolo Magic 2 WiFi next 2020-12-22 20:55:40 +01:00
qcom-ipq4018-meshpoint-one.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-nbg6617.dts ipq40xx: increase SPI frequency for Zyxel NBG6617 2021-07-11 01:38:52 +02:00
qcom-ipq4018-pa1200.dts ipq40xx: add support for Plasma Cloud PA1200 2020-12-22 19:11:50 +01:00
qcom-ipq4018-rt-ac58u.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-sxtsq-5-ac.dts ipq40xx: add support for MikroTik SXTsq 5 ac 2021-04-29 10:55:07 +02:00
qcom-ipq4018-wac510.dts ipq40xx: add netgear wac510 support 2021-06-05 23:29:46 +02:00
qcom-ipq4018-wre6606.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-wrtq-329acn.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4019-a62.dts ipq40xx: DTS style updates for OpenMesh devices 2020-11-23 13:44:47 +01:00
qcom-ipq4019-cm520-79f.dts ipq40xx: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
qcom-ipq4019-e2600ac-c1.dts
qcom-ipq4019-e2600ac-c2.dts
qcom-ipq4019-e2600ac.dtsi ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-ea8300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-eap2200.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-fritzbox-7530.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: fix FRITZRepeater 1200 RGMII delay 2021-07-17 20:06:49 +02:00
qcom-ipq4019-fritzrepeater-3000.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-habanero-dvk.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-map-ac2200.dts ipq40xx: fix 5Ghz tx/rx power on the ASUS MAP-AC2200 2020-12-13 16:12:45 +01:00
qcom-ipq4019-mr8300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-oap100.dts ipq40xx: remove unnecessary execute permission bit 2021-01-03 15:48:18 +01:00
qcom-ipq4019-orbi.dtsi ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50 2021-11-01 00:56:51 +01:00
qcom-ipq4019-pa2200.dts ipq40xx: add support for Plasma Cloud PA2200 2020-12-22 19:11:50 +01:00
qcom-ipq4019-rbr50.dts ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50 2021-11-01 00:56:51 +01:00
qcom-ipq4019-rbs50.dts ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50 2021-11-01 00:56:51 +01:00
qcom-ipq4019-rtl30vw.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-srr60.dts ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50 2021-11-01 00:56:51 +01:00
qcom-ipq4019-srs60.dts ipq40xx: add support for Netgear SRR60/SRS60 and RBR50/RBS50 2021-11-01 00:56:51 +01:00
qcom-ipq4019-u4019-32m.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4019-u4019.dtsi ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-wpj419.dts ipq40xx: support reset button for WPJ419 2020-07-23 12:56:58 +02:00
qcom-ipq4019-wtr-m2133hp.dts ipq40xx: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
qcom-ipq4019-xx8300.dtsi ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4028-wpj428.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-ap-303.dts uboot-envtools: add support for Aruba AP-303 and AP-365 2021-01-14 01:04:02 +01:00
qcom-ipq4029-ap-303h.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-ap-365.dts uboot-envtools: add support for Aruba AP-303 and AP-365 2021-01-14 01:04:02 +01:00
qcom-ipq4029-aruba-glenmorangie.dtsi ipq40xx: remove non-existent ethernet PHY 2020-12-30 23:41:03 +01:00
qcom-ipq4029-gl-b1300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-gl-s1300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-mr33.dts ipq40xx: MR33: Fix LP5562 LED driver probe 2021-10-23 18:50:25 +02:00