ARM: dts: sun8i: h3: Fix Pincrtl bindings on Bananapi M2 Plus
authorPhilipp Rossak <embed3d@gmail.com>
Tue, 5 Sep 2017 20:34:16 +0000 (22:34 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Sep 2017 10:04:29 +0000 (12:04 +0200)
There is no need for pincontrol nodes when the pin is set to a GPIO

Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts

index a337af1..e1dba9f 100644 (file)
@@ -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 */
        };
 };
        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";