OSDN Git Service

ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file
authorChen-Yu Tsai <wens@csie.org>
Wed, 18 Oct 2017 08:31:36 +0000 (16:31 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 2 Nov 2017 08:04:52 +0000 (09:04 +0100)
mmc1 only has 1 possible pinmux setting.

Move any settings to the dtsi file and set it by default.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
arch/arm/boot/dts/sun8i-a83t.dtsi

index 723641f..de0be14 100644 (file)
 &mmc1 {
        mmc-pwrseq = <&wifi_pwrseq>;
        bus-width = <4>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&mmc1_pins>;
        vmmc-supply = <&reg_vcc3v3>;
        vqmmc-supply = <&reg_vcc3v3>;
        non-removable;
index ce6e887..19acae1 100644 (file)
                        resets = <&ccu RST_BUS_MMC1>;
                        reset-names = "ahb";
                        interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&mmc1_pins>;
                        status = "disabled";
                        #address-cells = <1>;
                        #size-cells = <0>;