]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 723641f56a74e3a4687f12eaff00ed50d495f9e8..de0be140338ba9bb24a17bf663e027bce5f859cc 100644 (file)
@@ -115,8 +115,6 @@ &mmc0 {
 &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 ce6e887c8938dddd9cd7ed8b1f7ef42488ffd0e4..19acae1b40898a77afbbedbe21cbcaecdffa0ab5 100644 (file)
@@ -212,6 +212,8 @@ mmc1: mmc@1c10000 {
                        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>;