mediatek: dts: remove some useless spaces
authorShiji Yang <[email protected]>
Sat, 9 Aug 2025 02:40:09 +0000 (10:40 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 24 Aug 2025 11:22:09 +0000 (13:22 +0200)
Use tabs to align and remove some unnecessary spaces.

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19741
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts
target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts
target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi

index c25359bdeebd8f5fa5bfee2f49889b6399183053..18fe6f3248a4afe541a0f7ed980e3cdf45464d9b 100644 (file)
@@ -51,7 +51,7 @@
 
                led-0 {
                        color = <LED_COLOR_ID_RED>;
-                       function = LED_FUNCTION_STATUS; // Second WAN led defined below. 
+                       function = LED_FUNCTION_STATUS; // Second WAN led defined below.
                        gpios = <&pio 4 GPIO_ACTIVE_LOW>;
                };
 
index 0387c73dd1c471808bf85f8b1ecba52a94a801d5..a56ee8ed80bc3d4bdc674eb75e125e0e6dac3ab5 100644 (file)
@@ -55,9 +55,9 @@
 };
 
 &usb_phy {
-        status = "okay";
+       status = "okay";
 };
 
 &xhci {
-        status = "okay";
+       status = "okay";
 };
index fae0cfbb41d9e957309a98af0dd9b4a93a68c22b..64058b39858b6b25b852f8a3a52d4d18ad70e8f3 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
 /dts-v1/;
 #include <dt-bindings/gpio/gpio.h>
 };
 
 &pio {
-       gpio-line-names = 
+       gpio-line-names =
                        "wps",
                        "reset",
                        "watchdog",
 
 &wifi {
        status = "okay";
-        nvmem-cells = <&eeprom_factory>;
-        nvmem-cell-names = "eeprom";
+       nvmem-cells = <&eeprom_factory>;
+       nvmem-cell-names = "eeprom";
 };
 
 &factory {
        macaddr_factory_02a: macaddr@2a {
                reg = <0x2a 0x6>;
        };
-        eeprom_factory: eeprom@0 {
+       eeprom_factory: eeprom@0 {
                reg = <0x0 0x1000>;
        };
 };
index bdc916623391d73254482c433ab308fb58c8bc32..fbc4dcfb508e91ba217c7657315c913c371a4a3f 100644 (file)
 };
 
 &spi0 {
-        pinctrl-names = "default";
-        pinctrl-0 = <&spi_flash_pins>;
-        cs-gpios = <0>, <0>;
-        #address-cells = <1>;
-        #size-cells = <0>;
-        status = "okay";
-
-        spi_nand: spi_nand@1 {
-                #address-cells = <1>;
-                #size-cells = <1>;
-                compatible = "spi-nand";
-                reg = <1>;
-                spi-max-frequency = <52000000>;
-                spi-tx-bus-width = <4>;
-                spi-rx-bus-width = <4>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&spi_flash_pins>;
+       cs-gpios = <0>, <0>;
+       #address-cells = <1>;
+       #size-cells = <0>;
+       status = "okay";
+
+       spi_nand: spi_nand@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-nand";
+               reg = <1>;
+               spi-max-frequency = <52000000>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                nand_partitions: partitions {
                        compatible = "fixed-partitions";
        };
 
        uart0_pins: uart0-pins {
-                mux {
-                        function = "uart";
-                        groups = "uart0";
-                };
-        };
+               mux {
+                       function = "uart";
+                       groups = "uart0";
+               };
+       };
 
        uart1_pins: uart1-pins {
                mux {
                };
        };
 
-        usb-oc-hog {
-                gpio-hog;
-                gpios = <7 GPIO_ACTIVE_LOW>;
-                input;
-                line-name = "usb-oc";
-        };
+       usb-oc-hog {
+               gpio-hog;
+               gpios = <7 GPIO_ACTIVE_LOW>;
+               input;
+               line-name = "usb-oc";
+       };
 };
 
 &spi1 {