ARM: dts: sun9i: optimus: Remove card detect pull-up
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Oct 2017 10:49:52 +0000 (12:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 6 Oct 2017 08:41:37 +0000 (10:41 +0200)
The board has an external pull-up on the card-detect signal, so there's no
need to add another one.

This also removes a DTC warning.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80-optimus.dts

index 199777e1c5ea4e006de692fb2b8eba14f5af7781..ba62e814f4b8f3e9d378cc78142f5b3c89243756 100644 (file)
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins>, <&mmc0_cd_pin_optimus>;
+       pinctrl-0 = <&mmc0_pins>;
        vmmc-supply = <&reg_dcdc1>;
        bus-width = <4>;
        cd-gpios = <&pio 7 18 GPIO_ACTIVE_HIGH>; /* PH8 */
        clocks = <&ac100_rtc 0>;
 };
 
-&pio {
-       mmc0_cd_pin_optimus: mmc0_cd_pin@0 {
-               pins = "PH18";
-               function = "gpio_in";
-               bias-pull-up;
-       };
-};
-
 &r_ir {
        status = "okay";
 };