ipq40xx: device-tree overhaul
[openwrt/openwrt.git] / target / linux / ipq40xx / files-4.14 / arch / arm / boot / dts / qcom-ipq4018-fritz4040.dts
index 598e22c8153f1bc13a4fc11a4e623e104b8fe1c7..9576e14f25aab0c5c8476f10210503ece4a0b86a 100644 (file)
@@ -1,18 +1,4 @@
-/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- */
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
 #include "qcom-ipq4019.dtsi"
 #include <dt-bindings/gpio/gpio.h>
                        status = "okay";
                };
 
-               serial@78af000 {
-                       pinctrl-0 = <&serial_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-               };
-
                usb3@8af8800 {
                        status = "okay";
                };
                        status = "okay";
                };
 
-               wifi@a000000 {
-                       status = "okay";
-                       qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040";
-               };
-
-               wifi@a800000 {
-                       status = "okay";
-                       qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040";
-               };
-
                watchdog@b017000 {
                        status = "okay";
                };
                };
        };
 
-       gpio-keys {
+       keys {
                compatible = "gpio-keys";
 
                wlan {
                };
        };
 
-       gpio-leds {
+       switch-leds {
                compatible = "gpio-leds";
 
                wlan {
        status = "okay";
        cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
-       mx25l25635f@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                #address-cells = <1>;
                #size-cells = <0>;
        };
 };
 
+&blsp1_uart1 {
+       pinctrl-0 = <&serial_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
 &usb3_ss_phy {
        status = "okay";
 };
 &usb2_hs_phy {
        status = "okay";
 };
+
+&wifi0 {
+       status = "okay";
+       qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040";
+};
+
+&wifi1 {
+       status = "okay";
+       qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040";
+};