Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28b725e0 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

ARM: dts: sun7i: bananapi-m1-plus: Unify suffix for board specific labels



The dts file uses "bananapi" for some labels and "bananapim1plus" for
other. Use the shortened "bpi_m1p" suffix for all board specific labels.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 8b0b593a
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_pins_bananapi>;
		pinctrl-0 = <&led_pins_bpi_m1p>;

		green {
			label = "bananapi-m1-plus:green:usr";
@@ -81,14 +81,14 @@
	mmc3_pwrseq: mmc3_pwrseq {
		compatible = "mmc-pwrseq-simple";
		pinctrl-names = "default";
		pinctrl-0 = <&mmc3_pwrseq_pin_bananapim1plus>;
		pinctrl-0 = <&mmc3_pwrseq_pin_bpi_m1p>;
		reset-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 WL-PMU-EN */
	};

	reg_gmac_3v3: gmac-3v3 {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&gmac_power_pin_bananapi>;
		pinctrl-0 = <&gmac_power_pin_bpi_m1p>;
		regulator-name = "gmac-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
@@ -151,7 +151,7 @@

&mmc0 {
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bananapi>;
	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bpi_m1p>;
	vmmc-supply = <&reg_vcc3v3>;
	bus-width = <4>;
	cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
@@ -194,28 +194,28 @@
};

&pio {
	gmac_power_pin_bananapi: gmac_power_pin@0 {
	gmac_power_pin_bpi_m1p: gmac_power_pin@0 {
		allwinner,pins = "PH23";
		allwinner,function = "gpio_out";
		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
	};

	led_pins_bananapi: led_pins@0 {
	led_pins_bpi_m1p: led_pins@0 {
		allwinner,pins = "PH24", "PG2";
		allwinner,function = "gpio_out";
		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
	};

	mmc0_cd_pin_bananapi: mmc0_cd_pin@0 {
	mmc0_cd_pin_bpi_m1p: mmc0_cd_pin@0 {
		allwinner,pins = "PH10";
		allwinner,function = "gpio_in";
		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
	};

	mmc3_pwrseq_pin_bananapim1plus: mmc3_pwrseq_pin@0 {
	mmc3_pwrseq_pin_bpi_m1p: mmc3_pwrseq_pin@0 {
		allwinner,pins = "PH22";
		allwinner,function = "gpio_out";
		allwinner,drive = <SUN4I_PINCTRL_10_MA>;