summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-08-09 02:40:09 +0000
committerHauke Mehrtens2025-08-24 11:22:09 +0000
commit5fc5b0c18e983cca0384d94975274624cd02bcc9 (patch)
treea246b87c14b8b066e15e31f1814b17fce043bacf
parentbb94280942c1663f398d80ed0f3cb1a67f14e5d9 (diff)
downloadopenwrt-5fc5b0c18e983cca0384d94975274624cd02bcc9.tar.gz
mediatek: dts: remove some useless spaces
Use tabs to align and remove some unnecessary spaces. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19741 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts2
-rw-r--r--target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts4
-rw-r--r--target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts10
-rw-r--r--target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi52
4 files changed, 34 insertions, 34 deletions
diff --git a/target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts b/target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts
index c25359bdee..18fe6f3248 100644
--- a/target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts
+++ b/target/linux/mediatek/dts/mt7981b-snr-snr-cpe-ax2.dts
@@ -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>;
};
diff --git a/target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts b/target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts
index 0387c73dd1..a56ee8ed80 100644
--- a/target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts
+++ b/target/linux/mediatek/dts/mt7981b-wavlink-wl-wn551x3.dts
@@ -55,9 +55,9 @@
};
&usb_phy {
- status = "okay";
+ status = "okay";
};
&xhci {
- status = "okay";
+ status = "okay";
};
diff --git a/target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts b/target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts
index fae0cfbb41..64058b3985 100644
--- a/target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts
+++ b/target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax-v2.dts
@@ -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>
@@ -263,7 +263,7 @@
};
&pio {
- gpio-line-names =
+ gpio-line-names =
"wps",
"reset",
"watchdog",
@@ -317,8 +317,8 @@
&wifi {
status = "okay";
- nvmem-cells = <&eeprom_factory>;
- nvmem-cell-names = "eeprom";
+ nvmem-cells = <&eeprom_factory>;
+ nvmem-cell-names = "eeprom";
};
&factory {
@@ -332,7 +332,7 @@
macaddr_factory_02a: macaddr@2a {
reg = <0x2a 0x6>;
};
- eeprom_factory: eeprom@0 {
+ eeprom_factory: eeprom@0 {
reg = <0x0 0x1000>;
};
};
diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
index bdc9166233..fbc4dcfb50 100644
--- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
+++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
@@ -158,21 +158,21 @@
};
&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";
@@ -340,11 +340,11 @@
};
uart0_pins: uart0-pins {
- mux {
- function = "uart";
- groups = "uart0";
- };
- };
+ mux {
+ function = "uart";
+ groups = "uart0";
+ };
+ };
uart1_pins: uart1-pins {
mux {
@@ -394,12 +394,12 @@
};
};
- 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 {