From patchwork Wed May 13 17:56:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Domenico Andreoli X-Patchwork-Id: 11546967 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 53715138A for ; Wed, 13 May 2020 17:56:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 5E8CB20659; Wed, 13 May 2020 17:56:56 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0B0B205CB; Wed, 13 May 2020 17:56:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="feUNSM9u" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0B0B205CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=domenico.andreoli.it@gmail.com Received: by mail-wr1-f65.google.com with SMTP id y3so586908wrt.1; Wed, 13 May 2020 10:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :mime-version:content-disposition:content-transfer-encoding :user-agent; bh=pWy35rDSEEFc6N6yhLJY9e0DtW6SPsq9SyL4pkBTn9o=; b=feUNSM9uRT26Y+++LSoKaEELaKv1vjZCeSfJZvRhNKa2mU62h8/JeJa84crwtL0foT GbjFACv3vrTyf53Ki4/3f2/Hvc8cT9qJhC8B8so5EkE3nYDGC/4CwVaMpizHS4GMR3hs Xi/cLElhpEyt7rtku0uq1QWziaciOzay2WKuTyLpYXpFoZKxKsD5V+EbSm5RjdNUPofV fd/PdIY1lxDG4ItmDt/dWvD8MlLFHu1CrWNBFzycB2pNdC8CS63uriNyFlO0B+Qq/QPX E8F/jjbBQXUcKuw3I2Dc7jpPn3f7H2Toiz/wfJMzeogImm5iCou+uuZRqQ3dOvZmylj0 ilng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=pWy35rDSEEFc6N6yhLJY9e0DtW6SPsq9SyL4pkBTn9o=; b=CxpiUVw97jqklTxZwowd0XtSueEcnSrOdhJ8ER6v5S7zn+UB2JX59uxzHJflCn3eFT +Hk1o10XeXYHb7+gIqhXQZGJJvWYLbHmZFem9sqUzObm0lXoIae+qHMncR9OhSVZyW0K vvbAwunNaBO43FuXGtNRj3dbAiBU91phBML3+pehQd+WBaq/IF9W4MNMj57NpbmSqMwu SIEPWxHHh9NydlKdHUAVR//IhbtsSIyPed82HBEOuIPUTJHb5WvCPeF2yq2YOo1Tg/Bp 6kuQAb5HeHvTNmwhMHS80/Ei917gjBE852sMlfEfWHubqqNqYLw8Mr4j0Na80T/LEQnu Tr7Q== X-Gm-Message-State: AOAM533izLM0Foo4St24E/YLVhy9fv9QGr2NAI4We2POookrr3fakbMO gRJpM98yREdgXxFtH21XW3Y= X-Google-Smtp-Source: ABdhPJzABT+HS/E/xHXuBKg00fQQBd0QCxgpKUBCafFNeb2Y5mkuVemHE9SuEsNAbSzANLmIVvYylA== X-Received: by 2002:adf:9447:: with SMTP id 65mr508760wrq.331.1589392613638; Wed, 13 May 2020 10:56:53 -0700 (PDT) Received: from dumbo ([2a0b:f4c2:1::1]) by smtp.gmail.com with ESMTPSA id d1sm367369wrc.26.2020.05.13.10.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 10:56:52 -0700 (PDT) Sender: Domenico Andreoli Received: from cavok by dumbo with local (Exim 4.92) (envelope-from ) id 1jYvce-00020n-RK; Wed, 13 May 2020 19:56:48 +0200 Date: Wed, 13 May 2020 19:56:48 +0200 From: Domenico Andreoli To: Gregory CLEMENT , Marek =?iso-8859-1?q?Beh?= =?iso-8859-1?q?=FAn?= List-Id: Cc: linux-arm-kernel@lists.infradead.org, soc@kernel.org, arm@kernel.org, Leigh Brown Subject: [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox.dts: fix sdhci1 pins Message-ID: <20200513175648.GA7561@dumbo> Mail-Followup-To: Gregory CLEMENT , Marek =?iso-8859-1?q?Beh=FAn?= , linux-arm-kernel@lists.infradead.org, soc@kernel.org, arm@kernel.org, Leigh Brown MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) From: Domenico Andreoli In order to use the sdcard slot on Turris MOX it is necessary to mux the sdio0 pins in the north-bridge, which are herein also added. This fixes the boot problem reported at [0]. Signed-off-by: Domenico Andreoli Cc: Gregory CLEMENT Cc: "Marek BehĂșn" Cc: linux-arm-kernel@lists.infradead.org [0] https://lore.kernel.org/linux-arm-kernel/165fdeb5583069d893436e95cac5436@solinno.co.uk/ --- arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 +- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) Index: b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts =================================================================== --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts @@ -173,7 +173,7 @@ &sdhci1 { pinctrl-names = "default"; - pinctrl-0 = <&sdio_pins>; + pinctrl-0 = <&sdio0_pins &sdio_pins>; non-removable; bus-width = <4>; marvell,pad-type = "sd"; Index: b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi =================================================================== --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -244,6 +244,11 @@ groups = "emmc_nb"; function = "emmc"; }; + + sdio0_pins: sdio0-pins { + groups = "sdio0"; + function = "sdio"; + }; }; nb_pm: syscon@14000 {