lede/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wr142ac-nand.dts
AmadeusGhost 7459894377
ipq40xx: add support for Century WR142AC (#5670)
This commit add support for the yyets_le router.

Hardware Highlights:

SoC:	  Qualcomm IPQ4019 717 MHz
RAM:	  512M NT5CC256M16ER-EK
Flash:    32M SPI NOR MX25L25635F
WIFI1:    2.4 GHz 2T2R integrated
WIFI2:    5 GHz 2T2R integrated
Ethernet: Qualcomm QCA8075 (4x LAN, 1x WAN)
USB:      1x 3.0
LEDS:     power, wlan2g, wlan5g, usb
Button:   Reset

Installation:
 Upload the firmware on the upgrade page of the stcok, and this will
 take a few minutes.

This commit also supports the addition of a 128M nand flash version,
just use the P&W R619AC's OpBoot to overwrite the original uboot.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-10-19 12:48:48 +08:00

65 lines
1.0 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qcom-ipq4019-wr142ac.dtsi"
/ {
model = "Century WR142AC NAND";
compatible = "century,wr142ac-nand";
chosen {
bootargs-append = " root=/dev/ubiblock0_1 rootfstype=squashfs";
};
};
&blsp1_spi1 {
pinctrl-0 = <&spi_0_pins>;
pinctrl-names = "default";
status = "okay";
cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "Bootloader";
reg = <0x0 0x170000>;
};
partition@170000 {
label = "ART";
reg = <0x170000 0x10000>;
read-only;
};
partition@180000 {
label = "oem-firmware";
reg = <0x180000 0x1e80000>;
};
};
};
};
&nand {
status = "okay";
nand@0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "rootfs";
reg = <0x0 0x8000000>;
};
};
};
};