summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-06-17 02:21:53 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-06-17 02:21:53 +0200
commita860e439edefc941b1b5e2d4adf3956b353f4f90 (patch)
tree694445a909c38c3f74d34fb917ccd766818895c5
parent3556455f040341099a6563968a6e9e8c22c0847e (diff)
downloadopenwrt-a860e439edefc941b1b5e2d4adf3956b353f4f90.tar.gz
openwrt-a860e439edefc941b1b5e2d4adf3956b353f4f90.tar.bz2
openwrt-a860e439edefc941b1b5e2d4adf3956b353f4f90.zip
ipq806x: 6.1: restore missing dts for Netgear XR450
In pushing and refreshing 6.1 pull request, dbac8e8819dd ("ipq806x: 6.1: copy patches, files and config from 5.15") wasn't correctly updated and resulted in missing the dts for Netgear XR450. This caused compilation error with Netgear R7800 or XR500 if testing kernel version was used. Fix this by adding back the missing dts for Netgear XR450 from kernel 5.15. Fixes: dbac8e8819dd ("ipq806x: 6.1: copy patches, files and config from 5.15") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--target/linux/ipq806x/files-6.1/arch/arm/boot/dts/qcom-ipq8065-xr450.dts50
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/ipq806x/files-6.1/arch/arm/boot/dts/qcom-ipq8065-xr450.dts b/target/linux/ipq806x/files-6.1/arch/arm/boot/dts/qcom-ipq8065-xr450.dts
new file mode 100644
index 0000000000..4353aec7ac
--- /dev/null
+++ b/target/linux/ipq806x/files-6.1/arch/arm/boot/dts/qcom-ipq8065-xr450.dts
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "qcom-ipq8065-nighthawk.dtsi"
+
+/ {
+ model = "Netgear Nighthawk XR450";
+ compatible = "netgear,xr450", "qcom,ipq8065", "qcom,ipq8064";
+
+};
+
+&leds {
+ usb1 {
+ label = "white:usb1";
+ gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
+ };
+
+ usb2 {
+ label = "white:usb2";
+ gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
+ };
+};
+
+&partitions {
+ partition@1880000 {
+ label = "ubi";
+ reg = <0x1880000 0xce00000>;
+ };
+
+ partition@e680000 {
+ label = "reserve";
+ reg = <0xe680000 0x0780000>;
+ read-only;
+ };
+};
+
+&wifi0 {
+ nvmem-cells = <&macaddr_art_c>, <&precal_art_1000>;
+ nvmem-cell-names = "mac-address", "pre-calibration";
+};
+
+&wifi1 {
+ nvmem-cells = <&macaddr_art_0>, <&precal_art_5000>;
+ nvmem-cell-names = "mac-address", "pre-calibration";
+};
+
+&art {
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};