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

Commit 9b3fa732 authored by Philipp Rossak's avatar Philipp Rossak Committed by Maxime Ripard
Browse files

ARM: dts: sun8i: h3: Fix Pincrtl bindings on Bananapi M2 Plus



There is no need for pincontrol nodes when the pin is set to a GPIO

Signed-off-by: default avatarPhilipp Rossak <embed3d@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent ef19098a
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@
	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&pwr_led_bpi_m2p>;

		pwr_led {
			label = "bananapi-m2-plus:red:pwr";
@@ -75,7 +74,6 @@
	gpio_keys {
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&sw_r_bpi_m2p>;

		sw4 {
			label = "power";
@@ -97,7 +95,6 @@
	wifi_pwrseq: wifi_pwrseq {
		compatible = "mmc-pwrseq-simple";
		pinctrl-names = "default";
		pinctrl-0 = <&wifi_en_bpi_m2p>;
		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
	};
};
@@ -171,23 +168,6 @@
	status = "okay";
};

&r_pio {
	pwr_led_bpi_m2p: led_pins@0 {
		pins = "PL10";
		function = "gpio_out";
	};

	sw_r_bpi_m2p: key_pins@0 {
		pins = "PL3";
		function = "gpio_in";
	};

	wifi_en_bpi_m2p: wifi_en_pin {
		pins = "PL7";
		function = "gpio_out";
	};
};

&reg_usb0_vbus {
	gpio = <&pio 3 11 GPIO_ACTIVE_HIGH>; /* PD11 */
	status = "okay";