Commit 8b0b593a authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

ARM: dts: sun7i: bananapi-m1-plus: Reindent whole file using tabs

The bananapi-m1-plus dts file was indented using 4 spaces, without
tabs. This does not match the code style.

Reindent the whole file before we do anything else.
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 6be9aa13
...@@ -49,182 +49,182 @@ ...@@ -49,182 +49,182 @@
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
/ { / {
model = "Banana Pi BPI-M1-Plus"; model = "Banana Pi BPI-M1-Plus";
compatible = "sinovoip,bpi-m1-plus", "allwinner,sun7i-a20"; compatible = "sinovoip,bpi-m1-plus", "allwinner,sun7i-a20";
aliases { aliases {
serial0 = &uart0; serial0 = &uart0;
}; };
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&led_pins_bananapi>; pinctrl-0 = <&led_pins_bananapi>;
green { green {
label = "bananapi-m1-plus:green:usr"; label = "bananapi-m1-plus:green:usr";
gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
}; };
red { red {
label = "bananapi-m1-plus:red:usr"; label = "bananapi-m1-plus:red:usr";
gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>; gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
}; };
mmc3_pwrseq: mmc3_pwrseq { mmc3_pwrseq: mmc3_pwrseq {
compatible = "mmc-pwrseq-simple"; compatible = "mmc-pwrseq-simple";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc3_pwrseq_pin_bananapim1plus>; pinctrl-0 = <&mmc3_pwrseq_pin_bananapim1plus>;
reset-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 WL-PMU-EN */ reset-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 WL-PMU-EN */
}; };
reg_gmac_3v3: gmac-3v3 { reg_gmac_3v3: gmac-3v3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_power_pin_bananapi>; pinctrl-0 = <&gmac_power_pin_bananapi>;
regulator-name = "gmac-3v3"; regulator-name = "gmac-3v3";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
startup-delay-us = <100000>; startup-delay-us = <100000>;
enable-active-high; enable-active-high;
gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>;
}; };
}; };
&ahci { &ahci {
status = "okay"; status = "okay";
}; };
&codec { &codec {
status = "okay"; status = "okay";
}; };
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
&ehci1 { &ehci1 {
status = "okay"; status = "okay";
}; };
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_rgmii_a>; pinctrl-0 = <&gmac_pins_rgmii_a>;
phy = <&phy1>; phy = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
phy1: ethernet-phy@1 { phy1: ethernet-phy@1 {
reg = <1>; reg = <1>;
}; };
}; };
&i2c0 { &i2c0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>; pinctrl-0 = <&i2c0_pins_a>;
status = "okay"; status = "okay";
axp209: pmic@34 { axp209: pmic@34 {
compatible = "x-powers,axp209"; compatible = "x-powers,axp209";
reg = <0x34>; reg = <0x34>;
interrupt-parent = <&nmi_intc>; interrupt-parent = <&nmi_intc>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
}; };
&ir0 { &ir0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ir0_rx_pins_a>; pinctrl-0 = <&ir0_rx_pins_a>;
status = "okay"; status = "okay";
}; };
&mmc0 { &mmc0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bananapi>; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bananapi>;
vmmc-supply = <&reg_vcc3v3>; vmmc-supply = <&reg_vcc3v3>;
bus-width = <4>; bus-width = <4>;
cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
cd-inverted; cd-inverted;
status = "okay"; status = "okay";
}; };
&mmc3 { &mmc3 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins_a>; pinctrl-0 = <&mmc3_pins_a>;
vmmc-supply = <&reg_vcc3v3>; vmmc-supply = <&reg_vcc3v3>;
mmc-pwrseq = <&mmc3_pwrseq>; mmc-pwrseq = <&mmc3_pwrseq>;
bus-width = <4>; bus-width = <4>;
non-removable; non-removable;
enable-sdio-wakeup; enable-sdio-wakeup;
status = "okay"; status = "okay";
brcmf: bcrmf@1 { brcmf: bcrmf@1 {
reg = <1>; reg = <1>;
compatible = "brcm,bcm4329-fmac"; compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&pio>; interrupt-parent = <&pio>;
interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>; interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "host-wake"; interrupt-names = "host-wake";
}; };
}; };
&mmc3_pins_a { &mmc3_pins_a {
/* AP6210 requires pull-up */ /* AP6210 requires pull-up */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
}; };
&ohci0 { &ohci0 {
status = "okay"; status = "okay";
}; };
&ohci1 { &ohci1 {
status = "okay"; status = "okay";
}; };
&pio { &pio {
gmac_power_pin_bananapi: gmac_power_pin@0 { gmac_power_pin_bananapi: gmac_power_pin@0 {
allwinner,pins = "PH23"; allwinner,pins = "PH23";
allwinner,function = "gpio_out"; allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
}; };
led_pins_bananapi: led_pins@0 { led_pins_bananapi: led_pins@0 {
allwinner,pins = "PH24", "PG2"; allwinner,pins = "PH24", "PG2";
allwinner,function = "gpio_out"; allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
}; };
mmc0_cd_pin_bananapi: mmc0_cd_pin@0 { mmc0_cd_pin_bananapi: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; allwinner,pins = "PH10";
allwinner,function = "gpio_in"; allwinner,function = "gpio_in";
allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
}; };
mmc3_pwrseq_pin_bananapim1plus: mmc3_pwrseq_pin@0 { mmc3_pwrseq_pin_bananapim1plus: mmc3_pwrseq_pin@0 {
allwinner,pins = "PH22"; allwinner,pins = "PH22";
allwinner,function = "gpio_out"; allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
}; };
}; };
&uart0 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>; pinctrl-0 = <&uart0_pins_a>;
status = "okay"; status = "okay";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment