ARM: dts: sun9i: cubieboard4: Remove card detect pull-up
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Oct 2017 10:49:53 +0000 (12:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 6 Oct 2017 08:41:52 +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-cubieboard4.dts

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