diff mbox

[2/3] ARM: dts: sun5i-a13-empire-electronix-d709: Remove mmc2 node

Message ID 1457645884-10282-2-git-send-email-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hans de Goede March 10, 2016, 9:38 p.m. UTC
The empire-electronix-d709 does not have an emmc, it uses nand, the
mmc2 node in the dts comes from a copy and paste error from the
inet98fv2 dts, remove it.

While at it also do s/inet98fv2/d709/ to fix some other copy/paste
leftovers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 .../arm/boot/dts/sun5i-a13-empire-electronix-d709.dts | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

Comments

Maxime Ripard March 11, 2016, 10:10 a.m. UTC | #1
On Thu, Mar 10, 2016 at 10:38:03PM +0100, Hans de Goede wrote:
> The empire-electronix-d709 does not have an emmc, it uses nand, the
> mmc2 node in the dts comes from a copy and paste error from the
> inet98fv2 dts, remove it.
> 
> While at it also do s/inet98fv2/d709/ to fix some other copy/paste
> leftovers.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Queued for 4.7, thanks!
Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts b/arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts
index 7fbb0b0..6efbba6 100644
--- a/arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts
+++ b/arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts
@@ -123,7 +123,7 @@ 
 
 &mmc0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_inet98fv2>;
+	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_d709>;
 	vmmc-supply = <&reg_vcc3v3>;
 	bus-width = <4>;
 	cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */
@@ -131,27 +131,12 @@ 
 	status = "okay";
 };
 
-&mmc2 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&mmc2_pins_a>;
-	vmmc-supply = <&reg_vcc3v3>;
-	bus-width = <8>;
-	non-removable;
-	status = "okay";
-
-	mmccard: mmccard@0 {
-		reg = <0>;
-		compatible = "mmc-card";
-		broken-hpi;
-	};
-};
-
 &otg_sram {
 	status = "okay";
 };
 
 &pio {
-	mmc0_cd_pin_inet98fv2: mmc0_cd_pin@0 {
+	mmc0_cd_pin_d709: mmc0_cd_pin@0 {
 		allwinner,pins = "PG0";
 		allwinner,function = "gpio_in";
 		allwinner,drive = <SUN4I_PINCTRL_10_MA>;