<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 8pt; font-family: Verdana,Geneva,sans-serif'>
<p> </p>
<div> </div>
<p>Hi John,</p>
<p>I don't why it did't reach. I sent it using git command and I got a copy that of email. I also kept you in cc list.</p>
<p>Regards,</p>
<p>Tatha</p>
<p>On 25-12-2015 13:19, John Crispin wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> <br /> On 24/12/2015 17:55, Tathagata Das wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <br /> <br /> <br /> <br /> Thank you for help John.<br /> <br /> I have followed those step and send the patch again. Please check.<br /> </blockquote>
<br /> well, we never received that mail i am afraid.<br /> <br /> John<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On 24-12-2015 21:24, John Crispin wrote:<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">hi<br /> <br /> first format the patch<br /> <br /> git format-patch HEAD~1<br /> <br /> this will give you your patch as 0001-$some_name.patch<br /> <br /> then call this command to send the patch<br /> <br /> git send-email --to <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br /> <mailto:<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a>> 0001-my_fix.patch<br /> <br /> John<br /> <br /> On 24/12/2015 14:31, Tathagata Das wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <br /> <br /> <br /> <br /> I have tried with git -send-email option. But it says command not<br /> supported. Could you send me the command?<br /> <br /> On 24-12-2015 18:48, John Crispin wrote:<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi,<br /> <br /> your mail client replaced all tabs with spaces.<br /> <br /> please consider using git to send patches. it will save you a lot of<br /> time.<br /> <br /> John<br /> <br /> On 24/12/2015 11:21, Tathagata Das wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Add support for the Netgear D7800 and build appropriate sysupgrade and<br /> factory images.<br /> <br /> Known issues:<br /> . USB ports are not working<br /> . DSL is not added<br /> <br /> Signed-off-by: Tathagata Das <<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>>>><br /> <br /> ----<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">From 41487fc5f03abbd24c1a979c1c0e59a5f7da2898 Mon Sep 17 00:00:00 2001</blockquote>
From: Tathagata Das <<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>>>><br /> Date: Thu, 24 Dec 2015 09:44:01 +0530<br /> Subject: [PATCH] Added support for Netgear D7800<br /> Signed-off-by: Tathagata Das <<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>><br /> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a> <mailto:<a href="mailto:tathagata@alumnux.com">tathagata@alumnux.com</a>>>><br /> <br /> ---<br /> .../linux/ipq806x/base-files/etc/board.d/01_leds | 1 +<br /> .../ipq806x/base-files/etc/board.d/02_network | 1 +<br /> target/linux/ipq806x/base-files/lib/ipq806x.sh | 3 +<br /> .../ipq806x/base-files/lib/upgrade/platform.sh | 2 +<br /> target/linux/ipq806x/image/Makefile | 13 +-<br /> ...dd-Netgear-Nighthawk-X4-D7800-device-tree.patch | 381<br /> ++++++++++++++++++++<br /> target/linux/ipq806x/profiles/netgear.mk | 14 +<br /> 7 files changed, 414 insertions(+), 1 deletions(-)<br /> create mode 100644<br /> target/linux/ipq806x/patches-3.18/801-ARM-qcom-add-Netgear-Nighthawk-X4-D7800-device-tree.patch<br /> <br /> <br /> diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds<br /> b/target/linux/ipq806x/base-files/etc/board.d/01_leds<br /> index 07b5b06..b32c1cc 100755<br /> --- a/target/linux/ipq806x/base-files/etc/board.d/01_leds<br /> +++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds<br /> @@ -11,6 +11,7 @@ board_config_update<br /> board=$(ipq806x_board_name)<br /> <br /> case "$board" in<br /> +d7800 |\<br /> r7500)<br /> ucidef_set_led_usbdev "usb1" "USB 1" "r7500:white:usb1" "1-1"<br /> ucidef_set_led_usbdev "usb2" "USB 2" "r7500:white:usb3" "3-1"<br /> diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network<br /> b/target/linux/ipq806x/base-files/etc/board.d/02_network<br /> index 1302a55..6e18297 100755<br /> --- a/target/linux/ipq806x/base-files/etc/board.d/02_network<br /> +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network<br /> @@ -13,6 +13,7 @@ board=$(ipq806x_board_name)<br /> <br /> case "$board" in<br /> ap148 |\<br /> +d7800 |\<br /> r7500)<br /> ucidef_add_switch "switch0" \<br /> "1:lan" "2:lan" "3:lan" "4:lan" "<a href="mailto:6@eth1">6@eth1</a> <mailto:<a href="mailto:6@eth1">6@eth1</a>><br /> <mailto:<a href="mailto:6@eth1">6@eth1</a> <mailto:<a href="mailto:6@eth1">6@eth1</a>>>"<br /> "5:wan" "<a href="mailto:0@eth0">0@eth0</a> <mailto:<a href="mailto:0@eth0">0@eth0</a>> <mailto:<a href="mailto:0@eth0">0@eth0</a> <mailto:<a href="mailto:0@eth0">0@eth0</a>>>"<br /> diff --git a/target/linux/ipq806x/base-files/lib/ipq806x.sh<br /> b/target/linux/ipq806x/base-files/lib/ipq806x.sh<br /> index 5b27bde..be48b9f 100644<br /> --- a/target/linux/ipq806x/base-files/lib/ipq806x.sh<br /> +++ b/target/linux/ipq806x/base-files/lib/ipq806x.sh<br /> @@ -20,6 +20,9 @@ ipq806x_board_detect() {<br /> *"DB149")<br /> name="db149"<br /> ;;<br /> + *"D7800")<br /> + name="d7800"<br /> + ;;<br /> *"R7500")<br /> name="r7500"<br /> ;;<br /> diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh<br /> b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh<br /> index c0e19a1..2400376 100644<br /> --- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh<br /> +++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh<br /> @@ -7,6 +7,7 @@ platform_check_image() {<br /> <br /> case "$board" in<br /> AP148 |\<br /> + d7800 |\<br /> r7500)<br /> nand_do_platform_check $board $1<br /> return $?;<br /> @@ -21,6 +22,7 @@ platform_pre_upgrade() {<br /> <br /> case "$board" in<br /> AP148 |\<br /> + d7800 |\<br /> r7500)<br /> nand_do_upgrade "$1"<br /> ;;<br /> diff --git a/target/linux/ipq806x/image/Makefile<br /> b/target/linux/ipq806x/image/Makefile<br /> index 14cf442..8f46af8 100644<br /> --- a/target/linux/ipq806x/image/Makefile<br /> +++ b/target/linux/ipq806x/image/Makefile<br /> @@ -121,6 +121,17 @@ define Device/R7500<br /> BOARD_NAME := r7500<br /> endef<br /> <br /> -TARGET_DEVICES += AP148 AP148-legacy DB149 R7500<br /> +define Device/D7800<br /> + $(call Device/DniImage)<br /> + DEVICE_DTS := qcom-ipq8064-d7800<br /> + KERNEL_SIZE := 2097152<br /> + NETGEAR_BOARD_ID := D7800<br /> + NETGEAR_HW_ID := 29764958+0+128+512+4x4+4x4<br /> + BLOCKSIZE := 128KiB<br /> + PAGESIZE := 2048<br /> + BOARD_NAME := d7800<br /> +endef<br /> +<br /> +TARGET_DEVICES += AP148 AP148-legacy DB149 R7500 D7800<br /> <br /> $(eval $(call BuildImage))<br /> diff --git<br /> a/target/linux/ipq806x/patches-3.18/801-ARM-qcom-add-Netgear-Nighthawk-X4-D7800-device-tree.patch<br /> b/target/linux/ipq806x/patches-3.18/801-ARM-qcom-add-Netgear-Nighthawk-X4-D7800-device-tree.patch<br /> <br /> new file mode 100644<br /> index 0000000..ecc1cff<br /> --- /dev/null<br /> +++<br /> b/target/linux/ipq806x/patches-3.18/801-ARM-qcom-add-Netgear-Nighthawk-X4-D7800-device-tree.patch<br /> <br /> @@ -0,0 +1,381 @@<br /> +--- a/arch/arm/boot/dts/Makefile 2015-09-22 18:30:09.033530282<br /> +0530<br /> ++++ b/arch/arm/boot/dts/Makefile 2015-09-23 17:06:44.892947581<br /> +0530<br /> +@@ -362,6 +362,7 @@<br /> + qcom-ipq8064-ap148.dtb \<br /> + qcom-ipq8064-db149.dtb \<br /> + qcom-ipq8064-r7500.dtb \<br /> ++ qcom-ipq8064-d7800.dtb \<br /> + qcom-msm8660-surf.dtb \<br /> + qcom-msm8960-cdp.dtb \<br /> + qcom-msm8974-sony-xperia-honami.dtb<br /> +--- a/arch/arm/boot/dts/qcom-ipq8064-d7800.dts 1970-01-01<br /> 05:30:00.000000000 +0530<br /> ++++ b/arch/arm/boot/dts/qcom-ipq8064-d7800.dts 2015-09-23<br /> 17:06:45.336947567 +0530<br /> +@@ -0,0 +1,368 @@<br /> ++#include "qcom-ipq8064-v1.0.dtsi"<br /> ++<br /> ++#include <dt-bindings/input/input.h><br /> ++<br /> ++/ {<br /> ++ model = "Netgear Nighthawk X4 D7800";<br /> ++ compatible = "netgear,d7800", "qcom,ipq8064";<br /> ++<br /> ++ memory@0 {<br /> ++ reg = <0x42000000 0xe000000>;<br /> ++ device_type = "memory";<br /> ++ };<br /> ++<br /> ++ reserved-memory {<br /> ++ #address-cells = <1>;<br /> ++ #size-cells = <1>;<br /> ++ ranges;<br /> ++ <a href="mailto:rsvd@41200000">rsvd@41200000</a> <mailto:<a href="mailto:rsvd@41200000">rsvd@41200000</a>><br /> <mailto:<a href="mailto:rsvd@41200000">rsvd@41200000</a> <mailto:<a href="mailto:rsvd@41200000">rsvd@41200000</a>>> {<br /> ++ reg = <0x41200000 0x300000>;<br /> ++ no-map;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ aliases {<br /> ++ serial0 = &uart4;<br /> ++ mdio-gpio0 = &mdio0;<br /> ++ };<br /> ++<br /> ++ chosen {<br /> ++ bootargs = "rootfstype=squashfs noinitrd";<br /> ++ linux,stdout-path = "serial0:115200n8";<br /> ++ };<br /> ++<br /> ++ soc {<br /> ++ <a href="mailto:pinmux@800000">pinmux@800000</a> <mailto:<a href="mailto:pinmux@800000">pinmux@800000</a>><br /> <mailto:<a href="mailto:pinmux@800000">pinmux@800000</a> <mailto:<a href="mailto:pinmux@800000">pinmux@800000</a>>> {<br /> ++ i2c4_pins: i2c4_pinmux {<br /> ++ pins = "gpio12", "gpio13";<br /> ++ function = "gsbi4";<br /> ++ bias-disable;<br /> ++ };<br /> ++<br /> ++ pcie0_pins: pcie0_pinmux {<br /> ++ mux {<br /> ++ pins = "gpio3";<br /> ++ function = "pcie1_rst";<br /> ++ drive-strength = <12>;<br /> ++ bias-disable;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ pcie1_pins: pcie1_pinmux {<br /> ++ mux {<br /> ++ pins = "gpio48";<br /> ++ function = "pcie2_rst";<br /> ++ drive-strength = <12>;<br /> ++ bias-disable;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ nand_pins: nand_pins {<br /> ++ mux {<br /> ++ pins = "gpio34", "gpio35", "gpio36",<br /> ++ "gpio37", "gpio38", "gpio39",<br /> ++ "gpio40", "gpio41", "gpio42",<br /> ++ "gpio43", "gpio44", "gpio45",<br /> ++ "gpio46", "gpio47";<br /> ++ function = "nand";<br /> ++ drive-strength = <10>;<br /> ++ bias-disable;<br /> ++ };<br /> ++ pullups {<br /> ++ pins = "gpio39";<br /> ++ bias-pull-up;<br /> ++ };<br /> ++ hold {<br /> ++ pins = "gpio40", "gpio41", "gpio42",<br /> ++ "gpio43", "gpio44", "gpio45",<br /> ++ "gpio46", "gpio47";<br /> ++ bias-bus-hold;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ mdio0_pins: mdio0_pins {<br /> ++ mux {<br /> ++ pins = "gpio0", "gpio1";<br /> ++ function = "gpio";<br /> ++ drive-strength = <8>;<br /> ++ bias-disable;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ rgmii2_pins: rgmii2_pins {<br /> ++ mux {<br /> ++ pins = "gpio27", "gpio28", "gpio29", "gpio30",<br /> "gpio31", "gpio32",<br /> ++ "gpio51", "gpio52", "gpio59", "gpio60",<br /> "gpio61", "gpio62" ;<br /> ++ function = "rgmii2";<br /> ++ drive-strength = <8>;<br /> ++ bias-disable;<br /> ++ };<br /> ++ };<br /> ++ };<br /> ++<br /> ++ <a href="mailto:gsbi@16300000">gsbi@16300000</a> <mailto:<a href="mailto:gsbi@16300000">gsbi@16300000</a>><br /> <mailto:<a href="mailto:gsbi@16300000">gsbi@16300000</a> <mailto:<a href="mailto:gsbi@16300000">gsbi@16300000</a>>> {<br /> ++ qcom,mode = <GSBI_PROT_I2C_UART>;<br /> ++ status = "ok";<br /> ++ <a href="mailto:serial@16340000">serial@16340000</a> <mailto:<a href="mailto:serial@16340000">serial@16340000</a>><br /> <mailto:<a href="mailto:serial@16340000">serial@16340000</a> <mailto:<a href="mailto:serial@16340000">serial@16340000</a>>> {<br /> ++ status = "ok";<br /> ++ };<br /> ++ /*<br /> ++ * The i2c device on gsbi4 should not be enabled.<br /> ++ * On ipq806x designs gsbi4 i2c is meant for exclusive<br /> ++ * RPM usage. Turning this on in kernel manifests as<br /> ++ * i2c failure for the RPM.<br /> ++ */<br /> ++ };<br /> ++<br /> ++ <a href="mailto:sata-phy@1b400000">sata-phy@1b400000</a> <mailto:<a href="mailto:sata-phy@1b400000">sata-phy@1b400000</a>><br /> <mailto:<a href="mailto:sata-phy@1b400000">sata-phy@1b400000</a> <mailto:<a href="mailto:sata-phy@1b400000">sata-phy@1b400000</a>>> {<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:sata@29000000">sata@29000000</a> <mailto:<a href="mailto:sata@29000000">sata@29000000</a>><br /> <mailto:<a href="mailto:sata@29000000">sata@29000000</a> <mailto:<a href="mailto:sata@29000000">sata@29000000</a>>> {<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:phy@100f8800">phy@100f8800</a> <mailto:<a href="mailto:phy@100f8800">phy@100f8800</a>> <mailto:<a href="mailto:phy@100f8800">phy@100f8800</a><br /> <mailto:<a href="mailto:phy@100f8800">phy@100f8800</a>>> { /* USB3 port 1<br /> HS phy */<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:phy@100f8830">phy@100f8830</a> <mailto:<a href="mailto:phy@100f8830">phy@100f8830</a>> <mailto:<a href="mailto:phy@100f8830">phy@100f8830</a><br /> <mailto:<a href="mailto:phy@100f8830">phy@100f8830</a>>> { /* USB3 port 1<br /> SS phy */<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:phy@110f8800">phy@110f8800</a> <mailto:<a href="mailto:phy@110f8800">phy@110f8800</a>> <mailto:<a href="mailto:phy@110f8800">phy@110f8800</a><br /> <mailto:<a href="mailto:phy@110f8800">phy@110f8800</a>>> { /* USB3 port 0<br /> HS phy */<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:phy@110f8830">phy@110f8830</a> <mailto:<a href="mailto:phy@110f8830">phy@110f8830</a>> <mailto:<a href="mailto:phy@110f8830">phy@110f8830</a><br /> <mailto:<a href="mailto:phy@110f8830">phy@110f8830</a>>> { /* USB3 port 0<br /> SS phy */<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ usb30@0 {<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ usb30@1 {<br /> ++ status = "ok";<br /> ++ };<br /> ++<br /> ++ pcie0: <a href="mailto:pci@1b500000">pci@1b500000</a> <mailto:<a href="mailto:pci@1b500000">pci@1b500000</a>><br /> <mailto:<a href="mailto:pci@1b500000">pci@1b500000</a> <mailto:<a href="mailto:pci@1b500000">pci@1b500000</a>>> {<br /> ++ status = "ok";<br /> ++ reset-gpio = <&qcom_pinmux 3 0>;<br /> ++ pinctrl-0 = <&pcie0_pins>;<br /> ++ pinctrl-names = "default";<br /> ++ };<br /> ++<br /> ++ pcie1: <a href="mailto:pci@1b700000">pci@1b700000</a> <mailto:<a href="mailto:pci@1b700000">pci@1b700000</a>><br /> <mailto:<a href="mailto:pci@1b700000">pci@1b700000</a> <mailto:<a href="mailto:pci@1b700000">pci@1b700000</a>>> {<br /> ++ status = "ok";<br /> ++ reset-gpio = <&qcom_pinmux 48 0>;<br /> ++ pinctrl-0 = <&pcie1_pins>;<br /> ++ pinctrl-names = "default";<br /> ++ };<br /> ++<br /> ++ <a href="mailto:nand@1ac00000">nand@1ac00000</a> <mailto:<a href="mailto:nand@1ac00000">nand@1ac00000</a>><br /> <mailto:<a href="mailto:nand@1ac00000">nand@1ac00000</a> <mailto:<a href="mailto:nand@1ac00000">nand@1ac00000</a>>> {<br /> ++ status = "ok";<br /> ++<br /> ++ pinctrl-0 = <&nand_pins>;<br /> ++ pinctrl-names = "default";<br /> ++<br /> ++ nand-ecc-strength = <4>;<br /> ++ nand-bus-width = <8>;<br /> ++<br /> ++ #address-cells = <1>;<br /> ++ #size-cells = <1>;<br /> ++<br /> ++ qcadata@0 {<br /> ++ label = "qcadata";<br /> ++ reg = <0x0000000 0x0c80000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:APPSBL@c80000">APPSBL@c80000</a> <mailto:<a href="mailto:APPSBL@c80000">APPSBL@c80000</a>><br /> <mailto:<a href="mailto:APPSBL@c80000">APPSBL@c80000</a> <mailto:<a href="mailto:APPSBL@c80000">APPSBL@c80000</a>>> {<br /> ++ label = "APPSBL";<br /> ++ reg = <0x0c80000 0x0500000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:APPSBLENV@1180000">APPSBLENV@1180000</a> <mailto:<a href="mailto:APPSBLENV@1180000">APPSBLENV@1180000</a>><br /> <mailto:<a href="mailto:APPSBLENV@1180000">APPSBLENV@1180000</a> <mailto:<a href="mailto:APPSBLENV@1180000">APPSBLENV@1180000</a>>> {<br /> ++ label = "APPSBLENV";<br /> ++ reg = <0x1180000 0x0080000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ art: <a href="mailto:art@1200000">art@1200000</a> <mailto:<a href="mailto:art@1200000">art@1200000</a>><br /> <mailto:<a href="mailto:art@1200000">art@1200000</a> <mailto:<a href="mailto:art@1200000">art@1200000</a>>> {<br /> ++ label = "art";<br /> ++ reg = <0x1200000 0x0140000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ artbak: <a href="mailto:art@1340000">art@1340000</a> <mailto:<a href="mailto:art@1340000">art@1340000</a>><br /> <mailto:<a href="mailto:art@1340000">art@1340000</a> <mailto:<a href="mailto:art@1340000">art@1340000</a>>> {<br /> ++ label = "artbak";<br /> ++ reg = <0x1340000 0x0140000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:kernel@1480000">kernel@1480000</a> <mailto:<a href="mailto:kernel@1480000">kernel@1480000</a>><br /> <mailto:<a href="mailto:kernel@1480000">kernel@1480000</a> <mailto:<a href="mailto:kernel@1480000">kernel@1480000</a>>> {<br /> ++ label = "kernel";<br /> ++ reg = <0x1480000 0x0200000>;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:ubi@1680000">ubi@1680000</a> <mailto:<a href="mailto:ubi@1680000">ubi@1680000</a>> <mailto:<a href="mailto:ubi@1680000">ubi@1680000</a><br /> <mailto:<a href="mailto:ubi@1680000">ubi@1680000</a>>> {<br /> ++ label = "ubi";<br /> ++ reg = <0x1680000 0x1E00000>;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:netgear@3480000">netgear@3480000</a> <mailto:<a href="mailto:netgear@3480000">netgear@3480000</a>><br /> <mailto:<a href="mailto:netgear@3480000">netgear@3480000</a> <mailto:<a href="mailto:netgear@3480000">netgear@3480000</a>>> {<br /> ++ label = "netgear";<br /> ++ reg = <0x3480000 0x4480000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:reserve@7900000">reserve@7900000</a> <mailto:<a href="mailto:reserve@7900000">reserve@7900000</a>><br /> <mailto:<a href="mailto:reserve@7900000">reserve@7900000</a> <mailto:<a href="mailto:reserve@7900000">reserve@7900000</a>>> {<br /> ++ label = "reserve";<br /> ++ reg = <0x7900000 0x0700000>;<br /> ++ read-only;<br /> ++ };<br /> ++<br /> ++ <a href="mailto:firmware@1480000">firmware@1480000</a> <mailto:<a href="mailto:firmware@1480000">firmware@1480000</a>><br /> <mailto:<a href="mailto:firmware@1480000">firmware@1480000</a> <mailto:<a href="mailto:firmware@1480000">firmware@1480000</a>>> {<br /> ++ label = "firmware";<br /> ++ reg = <0x1480000 0x2000000>;<br /> ++ };<br /> ++<br /> ++ };<br /> ++<br /> ++ mdio0: mdio {<br /> ++ compatible = "virtual,mdio-gpio";<br /> ++ #address-cells = <1>;<br /> ++ #size-cells = <0>;<br /> ++ gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>;<br /> ++ pinctrl-0 = <&mdio0_pins>;<br /> ++ pinctrl-names = "default";<br /> ++<br /> ++ phy0: ethernet-phy@0 {<br /> ++ device_type = "ethernet-phy";<br /> ++ reg = <0>;<br /> ++ qca,ar8327-initvals = <<br /> ++ 0x00004 0x7600000 /* PAD0_MODE */<br /> ++ 0x00008 0x1000000 /* PAD5_MODE */<br /> ++ 0x0000c 0x80 /* PAD6_MODE */<br /> ++ 0x000e4 0xaa545 /* MAC_POWER_SEL */<br /> ++ 0x000e0 0xc74164de /* SGMII_CTRL */<br /> ++ 0x0007c 0x4e /* PORT0_STATUS */<br /> ++ 0x00094 0x4e /* PORT6_STATUS */<br /> ++ >;<br /> ++ };<br /> ++<br /> ++ phy4: ethernet-phy@4 {<br /> ++ device_type = "ethernet-phy";<br /> ++ reg = <4>;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ gmac1: <a href="mailto:ethernet@37200000">ethernet@37200000</a> <mailto:<a href="mailto:ethernet@37200000">ethernet@37200000</a>><br /> <mailto:<a href="mailto:ethernet@37200000">ethernet@37200000</a> <mailto:<a href="mailto:ethernet@37200000">ethernet@37200000</a>>> {<br /> ++ status = "ok";<br /> ++ phy-mode = "rgmii";<br /> ++ phy-handle = <&phy4>;<br /> ++ qcom,id = <1>;<br /> ++<br /> ++ pinctrl-0 = <&rgmii2_pins>;<br /> ++ pinctrl-names = "default";<br /> ++<br /> ++ mtd-mac-address = <&art 6>;<br /> ++ };<br /> ++<br /> ++ gmac2: <a href="mailto:ethernet@37400000">ethernet@37400000</a> <mailto:<a href="mailto:ethernet@37400000">ethernet@37400000</a>><br /> <mailto:<a href="mailto:ethernet@37400000">ethernet@37400000</a> <mailto:<a href="mailto:ethernet@37400000">ethernet@37400000</a>>> {<br /> ++ status = "ok";<br /> ++ phy-mode = "sgmii";<br /> ++ qcom,id = <2>;<br /> ++<br /> ++ mtd-mac-address = <&art 0>;<br /> ++<br /> ++ fixed-link {<br /> ++ speed = <1000>;<br /> ++ full-duplex;<br /> ++ };<br /> ++ };<br /> ++ };<br /> ++<br /> ++ gpio-keys {<br /> ++ compatible = "gpio-keys";<br /> ++<br /> ++ wifi {<br /> ++ label = "wifi";<br /> ++ gpios = <&qcom_pinmux 6 1>;<br /> ++ linux,code = <KEY_WLAN>;<br /> ++ };<br /> ++<br /> ++ reset {<br /> ++ label = "reset";<br /> ++ gpios = <&qcom_pinmux 54 1>;<br /> ++ linux,code = <KEY_RESTART>;<br /> ++ };<br /> ++<br /> ++ wps {<br /> ++ label = "wps";<br /> ++ gpios = <&qcom_pinmux 65 1>;<br /> ++ linux,code = <KEY_WPS_BUTTON>;<br /> ++ };<br /> ++ };<br /> ++<br /> ++ gpio-leds {<br /> ++ compatible = "gpio-leds";<br /> ++<br /> ++ usb1 {<br /> ++ label = "d7800:amber:usb1";<br /> ++ gpios = <&qcom_pinmux 7 0>;<br /> ++ };<br /> ++<br /> ++ usb3 {<br /> ++ label = "d7800:amber:usb3";<br /> ++ gpios = <&qcom_pinmux 8 0>;<br /> ++ };<br /> ++<br /> ++ status {<br /> ++ label = "d7800:amber:status";<br /> ++ gpios = <&qcom_pinmux 9 0>;<br /> ++ };<br /> ++<br /> ++ internet {<br /> ++ label = "d7800:white:internet";<br /> ++ gpios = <&qcom_pinmux 22 0>;<br /> ++ };<br /> ++<br /> ++ wan {<br /> ++ label = "d7800:white:wan";<br /> ++ gpios = <&qcom_pinmux 23 0>;<br /> ++ };<br /> ++<br /> ++ wps {<br /> ++ label = "d7800:white:wps";<br /> ++ gpios = <&qcom_pinmux 24 0>;<br /> ++ };<br /> ++<br /> ++ esata {<br /> ++ label = "d7800:white:esata";<br /> ++ gpios = <&qcom_pinmux 26 0>;<br /> ++ };<br /> ++<br /> ++ power {<br /> ++ label = "d7800:white:power";<br /> ++ gpios = <&qcom_pinmux 53 0>;<br /> ++ default-state = "on";<br /> ++ };<br /> ++<br /> ++ rfkill {<br /> ++ label = "d7800:white:rfkill";<br /> ++ gpios = <&qcom_pinmux 64 0>;<br /> ++ };<br /> ++<br /> ++ wifi5g {<br /> ++ label = "d7800:white:wifi5g";<br /> ++ gpios = <&qcom_pinmux 67 0>;<br /> ++ };<br /> ++ };<br /> ++};<br /> ++<br /> ++&adm_dma {<br /> ++ status = "ok";<br /> ++};<br /> diff --git a/target/linux/ipq806x/profiles/netgear.mk<br /> b/target/linux/ipq806x/profiles/netgear.mk<br /> index 3402f45..e1e7ed2 100644<br /> --- a/target/linux/ipq806x/profiles/netgear.mk<br /> +++ b/target/linux/ipq806x/profiles/netgear.mk<br /> @@ -17,4 +17,18 @@ endef<br /> define Profile/R7500/Description<br /> Package set for the Netgear Nighthawk X4 R7500.<br /> endef<br /> +<br /> +define Profile/D7800<br /> + NAME:=Netgear Nighthawk X4 D7800<br /> + PACKAGES:= \<br /> + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \<br /> + kmod-usb3 kmod-usb-dwc3-qcom kmod-usb-phy-qcom-dwc3 \<br /> + kmod-ath10k wpad-mini ath10k-firmware-qca99x0<br /> +endef<br /> +<br /> +define Profile/D7800/Description<br /> + Package set for the Netgear Nighthawk X4 D7800.<br /> +endef<br /> +<br /> $(eval $(call Profile,R7500))<br /> +$(eval $(call Profile,D7800))</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br /> <br /> _______________________________________________<br /> openwrt-devel mailing list<br /> <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br /> <a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br /> </blockquote>
</div>
</blockquote>
</body></html>