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

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
......@@ -63,7 +63,6 @@ chosen {
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 @@ pwr_led {
gpio_keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&sw_r_bpi_m2p>;
sw4 {
label = "power";
......@@ -97,7 +95,6 @@ reg_gmac_3v3: gmac-3v3 {
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 @@ &ohci2 {
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";
......
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