From patchwork Thu Apr 30 23:11:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 11521975 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 4E46692A for ; Thu, 30 Apr 2020 23:12:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 31FBD208DB; Thu, 30 Apr 2020 23:12:00 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail.nic.cz (lists.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6BA4920873; Thu, 30 Apr 2020 23:11:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="KWu1HPw3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6BA4920873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=marek.behun@nic.cz Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 86C33141E99; Fri, 1 May 2020 01:11:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1588288317; bh=G+gOT4+44zNoWZV1HfRmBClhSczM6qr/kCGW23biSA4=; h=From:To:Date; b=KWu1HPw3K9fRpgmZcTqzkOlXORszYaKKbf/o2HWZo32trRxOTOxss/MuOM3m3Yd2Y p/94kDgqidD8Aam9u2eWeNIBrfW8lANDOGWfVWAQufMbCDby1hLd2ZA6spsjFb3TZx gnuyoR2fbaP9nvc29BJG6Wky5At81Ajccm09E3aw= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Gregory CLEMENT List-Id: Cc: Linux ARM , arm-soc , SoC Team , =?utf-8?q?Marek_Beh?= =?utf-8?q?=C3=BAn?= Subject: [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes Date: Fri, 1 May 2020 01:11:44 +0200 Message-Id: <20200430231144.17350-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Spam-Status: No, score=0.00 X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean Use sdhci-caps-mask to forbid SDR104 mode on the SDIO capable SDHCI controller. Without this the device cannot pass electromagnetic interference certifications. Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox") Signed-off-by: Marek BehĂșn Cc: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts index bb42d1e6a4e9..47fee66c70cb 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts @@ -179,6 +179,8 @@ &sdhci1 { marvell,pad-type = "sd"; vqmmc-supply = <&vsdio_reg>; mmc-pwrseq = <&sdhci1_pwrseq>; + /* forbid SDR104 for FCC purposes */ + sdhci-caps-mask = <0x2 0x0>; status = "okay"; };