openwrt/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts
David Bauer c6e972c877 ipq40xx: add support for Aruba AP-303H
The Aruba AP-303H is the hospitality version of the Aruba AP-303 with a
POE-passthrough enabled ethernet switch instead of a sigle PHY.

Hardware
--------

SoC:   Qualcomm IPQ4029
RAM:   512M DDR3
FLASH: - 128MB SPI-NAND (Macronix)
       - 4MB SPI-NOR (Macronix MX25R3235F)
TPM:   Atmel AT97SC3203
BLE:   Texas Instruments CC2540T
       attached to ttyMSM1
ETH:   Qualcomm QCA8075
LED:   WiFi (amber / green)
       System (red / green /amber)
       PSE (green)
BTN:   Reset
USB:   USB 2.0

To connect to the serial console, you can solder to the labled pads next
to the USB port or use your Aruba supplied UARt adapter.

Do NOT plug a standard USB cable into the Console labled USB-port!
Aruba/HPE simply put UART on the micro-USB pins. You can solder yourself
an adapter cable:

VCC - NC
 D+ - TX
 D- - RX
GND - GND

The console setting in bootloader and OS is 9600 8N1. Voltage level is
3.3V.

To enable a full list of commands in the U-Boot "help" command, execute
the literal "diag" command.

Installation
------------

1. Get the OpenWrt initramfs image. Rename it to ipq40xx.ari and put it
   into the TFTP server root directory. Configure the TFTP server to
   be reachable at 192.168.1.75/24. Connect the machine running the TFTP
   server to the E0 (!) ethernet port of the access point, as it only
   tries to pull from the WAN port.

2. Connect to the serial console. Interrupt autobooting by pressing
   Enter when prompted.

3. Configure the bootargs and bootcmd for OpenWrt.
   $ setenv bootargs_openwrt "setenv bootargs console=ttyMSM0,9600n8"
   $ setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1;
     ubi read 0x85000000 kernel; set fdt_high 0x87000000;
     bootm 0x85000000"
   $ setenv ramboot_openwrt "run bootargs_openwrt;
     setenv ipaddr 192.168.1.105; setenv serverip 192.168.1.75;
     netget; set fdt_high 0x87000000; bootm"
   $ setenv bootcmd "run nandboot_openwrt"
   $ saveenv

4. Load OpenWrt into RAM:
   $ run ramboot_openwrt

5. After OpenWrt booted, transfer the OpenWrt sysupgrade image to the
   /tmp folder on the device. You will need to plug into E1-E3 ports of
   the access point to reach OpenWrt, as E0 is the WAN port of the
   device.

6. Flash OpenWrt:
   $ ubidetach -p /dev/mtd16
   $ ubiformat /dev/mtd16
   $ sysupgrade -n /tmp/openwrt-sysupgrade.bin

To go back to the stock firmware, simply reset the bootcmd in the
bootloader to the original value:

  $ setenv bootcmd "boot"
  $ saveenv

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-01-14 09:38:32 +01:00
..
qcom-ipq4018-a42.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4018-ap120c-ac.dts ipq40xx: add ath10k-calibration-variant in AP120C-AC DTS 2019-03-08 19:28:31 +01:00
qcom-ipq4018-cs-w3-wd1200g-eup.dts ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP 2020-01-12 15:57:58 +01:00
qcom-ipq4018-ea6350v3.dts ipq40xx: ea6350v3: 4.19: enable pseudo rng support 2019-02-14 16:56:15 +01:00
qcom-ipq4018-eap1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4018-ens620ext.dts ipq40xx: Fix reboot on EnGenius ENS620EXT 2019-05-11 16:37:11 +02:00
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: add label MAC address for Netgear EX6100v2/EX6150v2 2019-10-27 14:03:43 +01:00
qcom-ipq4018-ex6100v2.dts ipq40xx: remove qcom,ipq4019 on all devices 2018-12-27 14:30:45 +01:00
qcom-ipq4018-ex6150v2.dts ipq40xx: remove qcom,ipq4019 on all devices 2018-12-27 14:30:45 +01:00
qcom-ipq4018-fritzbox-4040.dts ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4018-jalapeno.dts ipq40xx: use DTSI for Jalapeno 2019-11-30 00:53:36 +01:00
qcom-ipq4018-jalapeno.dtsi ipq40xx: use DTSI for Jalapeno 2019-11-30 00:53:36 +01:00
qcom-ipq4018-meshpoint-one.dts ipq40xx: add support for Crisis Innovation Lab MeshPoint.One 2019-11-30 00:53:36 +01:00
qcom-ipq4018-nbg6617.dts ipq40xx: convert to device-tree based USB LED trigger 2018-12-27 14:36:23 +01:00
qcom-ipq4018-rt-ac58u.dts ipq40xx: fix usbport trigger on the RT-AC58U with USB 2.0 devices 2020-01-12 15:47:50 +01:00
qcom-ipq4018-wre6606.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4019-a62.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 2019-01-26 17:10:19 +01:00
qcom-ipq4019-ap.dk04.1-c1.dts ipq40xx: Add files for 4.19 2018-12-27 14:06:38 +01:00
qcom-ipq4019-ap.dk04.1.dtsi ipq40xx: 4.19: Enable pseudo random number generator 2018-12-27 14:30:45 +01:00
qcom-ipq4019-e2600ac-c1.dts ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-e2600ac-c2.dts ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-e2600ac.dtsi ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-ea8300.dts ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-fritzbox-7530.dts ipq40xx: fix FRITZBox 7530 NAND controller node 2019-03-13 16:25:34 +01:00
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-10-23 01:17:28 +02:00
qcom-ipq4019-fritzrepeater-3000.dts ipq40xx: add support for AVM FRITZ!Repeater 3000 2019-03-13 16:25:35 +01:00
qcom-ipq4019-map-ac2200.dts ipq40xx: limit frequencies for Asus Lyra 2019-03-13 16:25:35 +01:00
qcom-ipq4019-u4019-32m.dts ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-u4019.dtsi ipq40xx: build DEVICE_DTS based on SOC and device name 2019-12-27 18:00:15 +01:00
qcom-ipq4019-wpj419.dts ipq40xx: wpj419: use reset-gpios property for phy reset 2019-11-07 22:51:37 +01:00
qcom-ipq4028-wpj428.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4029-ap-303.dts ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00
qcom-ipq4029-ap-303h.dts ipq40xx: add support for Aruba AP-303H 2020-01-14 09:38:32 +01:00
qcom-ipq4029-gl-b1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4029-mr33.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 2019-01-26 17:10:19 +01:00