ipq806x: increase kernel partition size for the Netgear Nighthawk X4 R7500
[openwrt/openwrt.git] / target / linux / ipq806x / files-4.9 / arch / arm / boot / dts / qcom-ipq8064-r7500.dts
index f64948d..84d79a0 100644 (file)
@@ -1,6 +1,7 @@
 #include "qcom-ipq8064-v1.0.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/soc/qcom,tcsr.h>
 
 / {
        model = "Netgear Nighthawk X4 R7500";
                };
 
                phy@100f8800 {          /* USB3 port 1 HS phy */
+                       clocks = <&gcc USB30_0_UTMI_CLK>;
                        status = "ok";
                };
 
                phy@100f8830 {          /* USB3 port 1 SS phy */
+                       clocks = <&gcc USB30_0_MASTER_CLK>;
                        status = "ok";
                };
 
                phy@110f8800 {          /* USB3 port 0 HS phy */
+                       clocks = <&gcc USB30_1_UTMI_CLK>;
                        status = "ok";
                };
 
                phy@110f8830 {          /* USB3 port 0 SS phy */
+                       clocks = <&gcc USB30_1_MASTER_CLK>;
                        status = "ok";
                };
 
                usb30@0 {
+                       clocks = <&gcc USB30_1_MASTER_CLK>;
                        status = "ok";
                };
 
                usb30@1 {
+                       clocks = <&gcc USB30_0_MASTER_CLK>;
                        status = "ok";
                };
 
 
                pcie1: pci@1b700000 {
                        status = "ok";
+                       force_gen1 = <1>;
                };
 
                nand@1ac00000 {
                        pinctrl-0 = <&nand_pins>;
                        pinctrl-names = "default";
 
-                       nand-ecc-strength = <4>;
-                       nand-bus-width = <8>;
-
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-
-                       qcadata@0 {
-                               label = "qcadata";
-                               reg = <0x0000000 0x0c80000>;
-                               read-only;
-                       };
-
-                       APPSBL@c80000 {
-                               label = "APPSBL";
-                               reg = <0x0c80000 0x0500000>;
-                               read-only;
-                       };
-
-                       APPSBLENV@1180000 {
-                               label = "APPSBLENV";
-                               reg = <0x1180000 0x0080000>;
-                               read-only;
-                       };
-
-                       art: art@1200000 {
-                               label = "art";
-                               reg = <0x1200000 0x0140000>;
-                               read-only;
-                       };
-
-                       kernel@1340000 {
-                               label = "kernel";
-                               reg = <0x1340000 0x0200000>;
-                       };
-
-                       ubi@1540000 {
-                               label = "ubi";
-                               reg = <0x1540000 0x1800000>;
-                       };
-
-                       netgear@2d40000 {
-                               label = "netgear";
-                               reg = <0x2d40000 0x0c00000>;
-                               read-only;
-                       };
-
-                       reserve@3940000 {
-                               label = "reserve";
-                               reg = <0x3940000 0x46c0000>;
-                               read-only;
-                       };
-
-                       firmware@1340000 {
-                               label = "firmware";
-                               reg = <0x1340000 0x1a00000>;
+                       cs0 {
+                               reg = <0>;
+                               compatible = "qcom,nandcs";
+
+                               nand-ecc-strength = <4>;
+                               nand-bus-width = <8>;
+                               nand-ecc-step-size = <512>;
+
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       qcadata@0 {
+                                               label = "qcadata";
+                                               reg = <0x0000000 0x0c80000>;
+                                               read-only;
+                                       };
+
+                                       APPSBL@c80000 {
+                                               label = "APPSBL";
+                                               reg = <0x0c80000 0x0500000>;
+                                               read-only;
+                                       };
+
+                                       APPSBLENV@1180000 {
+                                               label = "APPSBLENV";
+                                               reg = <0x1180000 0x0080000>;
+                                               read-only;
+                                       };
+
+                                       art: art@1200000 {
+                                               label = "art";
+                                               reg = <0x1200000 0x0140000>;
+                                               read-only;
+                                       };
+
+                                       kernel@1340000 {
+                                               label = "kernel";
+                                               reg = <0x1340000 0x0400000>;
+                                       };
+
+                                       ubi@1740000 {
+                                               label = "ubi";
+                                               reg = <0x1740000 0x1600000>;
+                                       };
+
+                                       netgear@2d40000 {
+                                               label = "netgear";
+                                               reg = <0x2d40000 0x0c00000>;
+                                               read-only;
+                                       };
+
+                                       reserve@3940000 {
+                                               label = "reserve";
+                                               reg = <0x3940000 0x46c0000>;
+                                               read-only;
+                                       };
+
+                                       firmware@1340000 {
+                                               label = "firmware";
+                                               reg = <0x1340000 0x1a00000>;
+                                       };
+                               };
                        };
-
                };
 
                mdio0: mdio {
        };
 };
 
+&tcsr {
+       qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
+       compatible = "qcom,tcsr";
+};
+
 &adm_dma {
        status = "ok";
 };