Add PCIe controller and PHY support for EN7528 SoC. This includes a new PCIe PHY driver, EN7528-specific startup in the MediaTek PCIe controller, and a fix for bogus prefetch window reads on bridges that do not implement the registers. Enable WiFi for the DASAN H660GM-A board with MT7603 (2.4 GHz) and MT7615/MT7663 (5 GHz). Signed-off-by: Ahmed Naseef <naseefkm@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21326 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
70 lines
1.1 KiB
Plaintext
70 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/dts-v1/;
|
|
|
|
#include "en7528.dtsi"
|
|
|
|
/ {
|
|
model = "Generic EN7528";
|
|
compatible = "econet,en7528-generic", "econet,en7528";
|
|
|
|
memory@0 {
|
|
// We hope at least 64MB will be available on every device
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x4000000>;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
linux,usable-memory-range = <0x00020000 0x3fe0000>;
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &uart;
|
|
};
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@1 {
|
|
// We don't know how big the flash is
|
|
// Put 1GB and let it truncate
|
|
label = "all_flash";
|
|
reg = <0x0 0x40000000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@2 {
|
|
// We don't know how big the bootloader
|
|
// is, but when we're doing testing, lets
|
|
// make sure nobody touches anything below 4MB
|
|
label = "bootloader";
|
|
reg = <0x0 0x00400000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@3 {
|
|
label = "rest_of_flash";
|
|
reg = <0x00400000 0x40000000>;
|
|
};
|
|
};
|
|
};
|