ipq40xx: clean up Linksys WHW03 V2 DTS
authorRodrigo Balerdi <lanchon@gmail.com>
Tue, 30 Apr 2024 23:47:10 +0000 (20:47 -0300)
committerRobert Marko <robimarko@gmail.com>
Sun, 5 May 2024 08:33:13 +0000 (10:33 +0200)
Apply stylistic changes to facilitate DTS merging with WHW03 V1.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15345
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03v2.dts

index b76c52cd0a7cfc10aa1f2293e032322e81c398b8..ccee293e9688587fe74595728eac5cb2e3cda8f4 100644 (file)
@@ -17,8 +17,7 @@
                led-upgrade = &led_red;
        };
 
-       // The arguments rootfstype and ro are needed
-       // to override the default bootargs
+       // Default bootargs include rootfstype=ext4 and need to be overriden.
        chosen {
                bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
                stdout-path = &blsp1_uart1;
        };
 
        i2c_0_pins: i2c-0-pinmux {
-               mux {
-                       function = "blsp_i2c0";
-                       pins = "gpio20", "gpio21";
-                       bias-disable;
-               };
+               pins = "gpio20", "gpio21";
+               function = "blsp_i2c0";
+               bias-disable;
        };
 
        serial_0_pins: serial0-pinmux {
-               mux {
-                       pins = "gpio16", "gpio17";
-                       function = "blsp_uart0";
-                       bias-disable;
-               };
+               pins = "gpio16", "gpio17";
+               function = "blsp_uart0";
+               bias-disable;
        };
 
        serial_1_pins: serial1-pinmux {
-               mux {
-                       pins = "gpio8", "gpio9", "gpio10", "gpio11";
-                       function = "blsp_uart1";
-                       bias-disable;
-               };
+               pins = "gpio8", "gpio9", "gpio10", "gpio11";
+               function = "blsp_uart1";
+               bias-disable;
        };
 
        spi_0_pins: spi-0-pinmux {
                mux {
-                       function = "blsp_spi0";
                        pins = "gpio13", "gpio14", "gpio15";
+                       function = "blsp_spi0";
                        drive-strength = <12>;
                        bias-disable;
                };
 
        spi_1_pins: spi-1-pinmux {
                mux-1 {
+                       pins = "gpio44", "gpio46", "gpio47";
                        function = "blsp_spi1";
-                       pins = "gpio44", "gpio46","gpio47";
                        bias-disable;
                };
 
        };
 
        wifi_0_pins: wifi0-pinmux {
-               btcoexist {
-                       bias-pull-up;
-                       drive-strength = <6>;
-                       function = "gpio";
-                       output-high;
-                       pins = "gpio52";
-               };
+               pins = "gpio52";
+               function = "gpio";
+               drive-strength = <6>;
+               bias-pull-up;
+               output-high;
        };
 
        zigbee-0 {
        status = "okay";
 
        qcom,coexist-support = <1>;
-       qcom,coexist-gpio-pin = <0x34>;
+       qcom,coexist-gpio-pin = <52>;
 
        qcom,ath10k-calibration-variant = "linksys-whw03v2";