From: Felix Baumann Date: Wed, 8 Feb 2023 02:24:21 +0000 (+0100) Subject: ramips: fix dts whitespace X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d87482a8db908e899bc101242896089cc8b12036;p=openwrt%2Fstaging%2Fblocktrron.git ramips: fix dts whitespace Replace blanks with tabs Remove whitespace from otherwise empty lines Signed-off-by: Felix Baumann --- diff --git a/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts b/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts index 5ae0ca6e82..50047999be 100644 --- a/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts +++ b/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts @@ -106,7 +106,7 @@ }; &gpio { - status = "okay"; + status = "okay"; }; &spi0 { @@ -208,12 +208,12 @@ }; &switch0 { - ports { - port@0 { - status = "okay"; - label = "lan"; - }; - }; + ports { + port@0 { + status = "okay"; + label = "lan"; + }; + }; }; &xhci { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts index 675a3aa631..943143ad63 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts @@ -55,7 +55,7 @@ label = "white:net"; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; }; - + usb2_white { label = "white:usb2"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts index 5a771f139c..69080df682 100644 --- a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts +++ b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts @@ -65,7 +65,7 @@ label = "wps"; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; linux,code = ; - }; + }; }; virtual_flash { diff --git a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts index 654c9aa70f..71e8dcedbf 100644 --- a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts +++ b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts @@ -8,7 +8,7 @@ }; &gmac1 { - phy-handle = <ðphy4>; + phy-handle = <ðphy4>; }; &mdio { diff --git a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts index fd7a8e6eca..fe26e5af6f 100644 --- a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts +++ b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts @@ -145,7 +145,7 @@ }; &switch0 { - ports { + ports { port@2 { status = "okay"; label = "lan2"; diff --git a/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts b/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts index 62ba49e797..2cdaa40a1c 100644 --- a/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts +++ b/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts @@ -49,8 +49,8 @@ }; &state_default { - gpio { - groups = "uart3", "rgmii2"; - function = "gpio"; - }; + gpio { + groups = "uart3", "rgmii2"; + function = "gpio"; + }; };