ipq40xx: rt-ac58u: replace ubi auto load hack
[openwrt/openwrt.git] / target / linux / ipq40xx / files-4.14 / arch / arm / boot / dts / qcom-ipq4018-rt-ac58u.dts
index 2b40b9e171ecba14028048aa7c9de1c5c8620653..4d546bf40fbb7cc55ea3129806b52ab0a8d39071 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include "qcom-ipq4019.dtsi"
-#include "qcom-ipq4019-bus.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/soc/qcom,tcsr.h>
                led-upgrade = &power;
        };
 
-       reserved-memory {
-               #address-cells = <0x1>;
-               #size-cells = <0x1>;
-               ranges;
-
-               smem@87e00000 {
-                       reg = <0x87e00000 0x080000>;
-                       no-map;
-               };
-
-               tz@87e80000 {
-                       reg = <0x87e80000 0x180000>;
-                       no-map;
-               };
+       chosen {
+               bootargs-append = " ubi.mtd=UBI_DEV";
        };
 
        soc {
 
                wifi@a000000 {
                        status = "okay";
-                       qcom,ath10k-calibration-variant = "ASUS-RT-AC58U";
+                       qcom,ath10k-calibration-variant = "RT-AC58U";
                };
 
                wifi@a800000 {
                        status = "okay";
-                       qcom,ath10k-calibration-variant = "ASUS-RT-AC58U";
+                       qcom,ath10k-calibration-variant = "RT-AC58U";
                };
 
                watchdog@b017000 {
        };
 };
 
-&spi_0 { /* BLSP1 QUP1 */
+&blsp1_spi1 { /* BLSP1 QUP1 */
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 0>,
-                  <&tlmm 59 0>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
+                  <&tlmm 59 GPIO_ACTIVE_HIGH>;
 
        m25p80@0 {
                #address-cells = <1>;