mediatek: fix mixed indent in DTS files

mediatek frequently had mixed indent (tabs vs. spaces) in DTS files
and DTS file kernel patches (probably due to careless copy/paste).

The harmonizes these cases to tabs-only, as usual for DTS(I).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Adrian Schmutzler 2020-11-16 13:35:51 +01:00 committed by maurerr
parent 2714014267
commit a0b0318632
5 changed files with 134 additions and 132 deletions

View File

@ -256,15 +256,15 @@
}; };
&pcie0 { &pcie0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pcie0_pins>; pinctrl-0 = <&pcie0_pins>;
status = "okay"; status = "okay";
}; };
&pcie1 { &pcie1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pcie1_pins>; pinctrl-0 = <&pcie1_pins>;
status = "okay"; status = "okay";
}; };
&pio { &pio {

View File

@ -156,19 +156,19 @@
regulator-always-on; regulator-always-on;
}; };
rtkgsw: rtkgsw@0 { rtkgsw: rtkgsw@0 {
compatible = "mediatek,rtk-gsw"; compatible = "mediatek,rtk-gsw";
mediatek,ethsys = <&ethsys>; mediatek,ethsys = <&ethsys>;
mediatek,mdio = <&mdio>; mediatek,mdio = <&mdio>;
mediatek,reset-pin = <&pio 54 0>; mediatek,reset-pin = <&pio 54 0>;
status = "okay"; status = "okay";
}; };
}; };
&pcie0 { &pcie0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pcie0_pins>; pinctrl-0 = <&pcie0_pins>;
status = "okay"; status = "okay";
}; };
&slot0 { &slot0 {
@ -450,29 +450,31 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&eth_pins>; pinctrl-0 = <&eth_pins>;
gmac0: mac@0 { gmac0: mac@0 {
compatible = "mediatek,eth-mac"; compatible = "mediatek,eth-mac";
reg = <0>; reg = <0>;
phy-mode = "sgmii"; phy-mode = "sgmii";
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
pause; pause;
}; };
}; };
gmac1: mac@1 {
compatible = "mediatek,eth-mac"; gmac1: mac@1 {
reg = <1>; compatible = "mediatek,eth-mac";
phy-mode = "rgmii"; reg = <1>;
fixed-link { phy-mode = "rgmii";
speed = <1000>; fixed-link {
full-duplex; speed = <1000>;
pause; full-duplex;
}; pause;
}; };
mdio: mdio-bus { };
#address-cells = <1>;
#size-cells = <0>; mdio: mdio-bus {
}; #address-cells = <1>;
#size-cells = <0>;
};
}; };
&i2c1 { &i2c1 {
@ -513,50 +515,50 @@
reg = <0>; reg = <0>;
partitions { partitions {
compatible = "fixed-partitions"; compatible = "fixed-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partition@0 {
label = "Preloader"; label = "Preloader";
reg = <0x00000 0x0080000>; reg = <0x00000 0x0080000>;
read-only; read-only;
}; };
partition@80000 { partition@80000 {
label = "ATF"; label = "ATF";
reg = <0x80000 0x0040000>; reg = <0x80000 0x0040000>;
read-only; read-only;
}; };
partition@c0000 { partition@c0000 {
label = "uboot"; label = "uboot";
reg = <0xc0000 0x0080000>; reg = <0xc0000 0x0080000>;
read-only; read-only;
}; };
partition@140000 { partition@140000 {
label = "uboot-env"; label = "uboot-env";
reg = <0x140000 0x0080000>; reg = <0x140000 0x0080000>;
read-only; read-only;
}; };
factory: partition@1c0000 { factory: partition@1c0000 {
label = "factory"; label = "factory";
reg = <0x1c0000 0x0040000>; reg = <0x1c0000 0x0040000>;
read-only; read-only;
}; };
partition@200000 { partition@200000 {
label = "firmware"; label = "firmware";
reg = <0x200000 0x2000000>; reg = <0x200000 0x2000000>;
}; };
partition@2200000 { partition@2200000 {
label = "reserved"; label = "reserved";
reg = <0x2200000 0x4000000>; reg = <0x2200000 0x4000000>;
}; };
}; };
}; };
}; };

View File

@ -54,11 +54,11 @@
}; };
gsw: gsw@0 { gsw: gsw@0 {
compatible = "mediatek,mt753x"; compatible = "mediatek,mt753x";
mediatek,ethsys = <&ethsys>; mediatek,ethsys = <&ethsys>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
}; };
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
@ -152,34 +152,34 @@
}; };
&gsw { &gsw {
mediatek,mdio = <&mdio>; mediatek,mdio = <&mdio>;
mediatek,portmap = "llllw"; mediatek,portmap = "llllw";
mediatek,mdio_master_pinmux = <0>; mediatek,mdio_master_pinmux = <0>;
reset-gpios = <&pio 54 0>; reset-gpios = <&pio 54 0>;
interrupt-parent = <&pio>; interrupt-parent = <&pio>;
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
status = "okay"; status = "okay";
port5: port@5 { port5: port@5 {
compatible = "mediatek,mt753x-port"; compatible = "mediatek,mt753x-port";
reg = <5>; reg = <5>;
phy-mode = "rgmii"; phy-mode = "rgmii";
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
}; };
}; };
port6: port@6 { port6: port@6 {
compatible = "mediatek,mt753x-port"; compatible = "mediatek,mt753x-port";
reg = <6>; reg = <6>;
phy-mode = "sgmii"; phy-mode = "sgmii";
fixed-link { fixed-link {
speed = <2500>; speed = <2500>;
full-duplex; full-duplex;
}; };
}; };
}; };
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";

View File

@ -19,33 +19,33 @@
}; };
+&gsw { +&gsw {
+ mediatek,mdio = <&mdio>; + mediatek,mdio = <&mdio>;
+ mediatek,portmap = "wllll"; + mediatek,portmap = "wllll";
+ mediatek,mdio_master_pinmux = <0>; + mediatek,mdio_master_pinmux = <0>;
+ reset-gpios = <&pio 54 0>; + reset-gpios = <&pio 54 0>;
+ interrupt-parent = <&pio>; + interrupt-parent = <&pio>;
+ interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
+ status = "okay"; + status = "okay";
+ +
+ port5: port@5 { + port5: port@5 {
+ compatible = "mediatek,mt753x-port"; + compatible = "mediatek,mt753x-port";
+ reg = <5>; + reg = <5>;
+ phy-mode = "rgmii"; + phy-mode = "rgmii";
+ fixed-link { + fixed-link {
+ speed = <1000>; + speed = <1000>;
+ full-duplex; + full-duplex;
+ }; + };
+ }; + };
+ +
+ port6: port@6 { + port6: port@6 {
+ compatible = "mediatek,mt753x-port"; + compatible = "mediatek,mt753x-port";
+ reg = <6>; + reg = <6>;
+ phy-mode = "sgmii"; + phy-mode = "sgmii";
+ fixed-link { + fixed-link {
+ speed = <2500>; + speed = <2500>;
+ full-duplex; + full-duplex;
+ }; + };
+ }; + };
+}; +};
+ +
&i2c1 { &i2c1 {

View File

@ -17,7 +17,7 @@
+ mediatek,ethsys = <&ethsys>; + mediatek,ethsys = <&ethsys>;
+ #address-cells = <1>; + #address-cells = <1>;
+ #size-cells = <0>; + #size-cells = <0>;
+ }; + };
+ +
memory@40000000 { memory@40000000 {
device_type = "memory"; device_type = "memory";