From patchwork Fri Apr 3 06:12:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 11471863 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 4006A15AB for ; Fri, 3 Apr 2020 06:13:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1189420757 for ; Fri, 3 Apr 2020 06:13:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RtWCQ4Gm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Fy/yqGme"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="Vs2WYatC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1189420757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YCUuu/Bt+VqG2BCJC5g9I02eb+iSjWnNvDV0x7pGvCM=; b=RtWCQ4GmiqfiZ2 ya1nNyqE1/2/vH6w+cSEloVSGY7FvLbKqpXcrewoGwuy99Cckg+Ss4Ymk3rvuTxrmfX6AMAmaElbE XpUm0DG+LY+k2xtjjy26EVaRhveyoffmfpFnY+sqMLPOTaGi/QJz3nQ1x7gdg/c86hDyZktnlGjnP UUR6gmJ/QQz03CT/ZFG6UhCjULjQqb2XR4V5YeEOd72utdDXZrbY7ztOxmS1pqHs8ZFVo3NQRhAZb c+do6rJd8NLUUjKJIE+6QJ+cON8uQ29F5fzoBKC94vmqd2CF0YhaD/AReqWSKucGltx7l+0U2DcS6 XC1WQJ5mLeFx7LhRX4vg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZs-0007l8-FK; Fri, 03 Apr 2020 06:13:16 +0000 Received: from esa4.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZA-00075m-6v for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2020 06:12:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585894352; x=1617430352; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=Nxf9ou59CVrUjihCB/PyPCcOUFYz+n94wClGPJdgy0Q=; b=Fy/yqGmel3qOBTeGV4jmENgK/buHLvtNoREP9aDRC3w336aO4E0UeylS Yc6t1nTOJbjcAmg1u7DKGwjqUQMOW+Fk7+O0JDX/2ybJjMSNG6gPGMjuP nGjF8N5yBGb0CRBfwRfbzdNCUrXn0lG+8+i93HQtHPplb5FQRYjAIIWXp Tw0JYbFhNavLtA3IJxI62iIZESkdYG9g6OTEN0VZ838sICaI/HEqhafEv EhHA/xleUYrEBOXDN4zkYDqWjuO65ZSxKOEbC5vQu9In7WCjIelga8tqV EmIEksmCCC1f2hAWTGSKa+vZBxfx0ZkYEa4FARlSeY+fqXQUdvm1ru0IO w==; IronPort-SDR: HOI3pVWNoy8kZjS5jLDkjCbH5c2a4XdI/+h/qlaNckaOPEIRYxxAkyoePyPjvdqtdp8p/hGLPQ CG02H2x8aKleBJsbF62RPDtJbgB7fzLfAdJU1uWDMN3+SiOSo40izE6itSMP1oSk/Vp0pXeLOF rbsrX/AYCR5zH3wSAIcnBEQEo3sRrUVoTuhkdPEt2VG8qPcpO10kZwuEMgi2swCuRjYrBbiiCg Ej3w4fZX1xAAQa+N7o5fcJiXCn/DKmuL67deCC3RA59fQqfxUYYyIUACTczogrBQJJXADbQwXR bFg= X-IronPort-AV: E=Sophos;i="5.72,338,1580799600"; d="scan'208";a="69286922" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2020 23:12:27 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 23:12:26 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 23:12:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMNiBisvRmF4HrRrypawLPxwiOai8jPbrWSoICKj7WtMQelqE67RsK4tcsZ1CrCU82kCkqT3wA9pF+jFbwkGZaOMAw5bZH6htXSj9Ds4j8j0b+cxxBYyvWRucI/9B8q3pvG8SH4sDXS/c45oY9oWuDFB7IhyB+IoAHWlGAQqdB6K+0LbJ8ezVTL4PdJndzTIqKlyZixvC6iihVtOFG2DBalOv+K+ibTqtgVUzTWjIePYeNjH9o60nCNN9Fm4qyFgriAHyCJ/e9j5M+IJ57Qwt/QhrCmLJt/qgTe7GcI6riJdNlVFlrTTDDBwvWeOXbbnwPU+FrTxjQwcSWCYBohTFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kWdTC6PymwkyS1Qb5cvOVoxNnkN6b9LG1Mfkg4mvVF4=; b=Z23RQ3E274EZj6Dd7Z1ES739Yzj2g2SmeFGZ8GK9fNVrJeC0Y7DiENZagL/ojJwgu/bYlS3VZLQlhOlXChaxE393Ocm2m2NAcqusGx+0/XA+cK1xbewUfZXyzqqxqKDs4+S5HqOjeOcpU3W6Z5jzCJaDAJzPwRA95QB0gSPP1bS63zGDm4qDaIAX7uZDXZcxiBZjZq+ZoTV+6JcxHOGidcn+kiZqu+OfciSF6nE48l5he5/P0XKJjQ4m4PtLnmDEl3xhwswde2ylr5Z8buxr9vtpRToKflI4lFRl9eRXNZKAbM0zfdLWd7G5nE++QN505VLcqaQrPMLQFVuZNulbbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kWdTC6PymwkyS1Qb5cvOVoxNnkN6b9LG1Mfkg4mvVF4=; b=Vs2WYatCEMe0uddSOWl/gMtJGgNBjXmfrOFWSaVzhpoX/rdfkoHUofQUNdlU+KM8rD89X2Vzo1j7NdikILGdnUw1KWafYMeCcUGRpSo7CuOCOnZarbzbEDMyFoaqA0tsg+Ch1lRAEnkF1doMC98Vb94K9bOJnJ+dU66EW42FO3A= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 06:12:25 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692%3]) with mapi id 15.20.2856.019; Fri, 3 Apr 2020 06:12:24 +0000 From: To: , , Subject: [PATCH 1/5] ARM: dts: at91: sam9x60ek: Use quad mode in the spi-nor flash Thread-Topic: [PATCH 1/5] ARM: dts: at91: sam9x60ek: Use quad mode in the spi-nor flash Thread-Index: AQHWCX7XRQickBY2QEaJIS548D2E2Q== Date: Fri, 3 Apr 2020 06:12:24 +0000 Message-ID: <20200403061222.1277147-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 21ecccee-91bd-44b6-e871-08d7d795fa71 x-ms-traffictypediagnostic: BY5PR11MB4183: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:862; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4419.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(6512007)(6506007)(478600001)(2906002)(6636002)(2616005)(186003)(6486002)(71200400001)(1076003)(26005)(36756003)(316002)(66946007)(8936002)(4744005)(86362001)(54906003)(110136005)(66556008)(64756008)(66446008)(8676002)(81166006)(81156014)(4326008)(107886003)(5660300002)(91956017)(76116006)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0buRVzxXZO4yWqjvW0NJCBlZvXoF7pj+Oq5tsZFKmoVvxK1kVR+cU9afXjs55DkC5xBUWMUyZTehboOaIDGqCmHSoevBwJPvv+67WlPPmPC1m/g+T+/CPAEuKBg6eh1w8T7kPajnIlVTHUYWFZ+75/UfREikjzMqro8GIQTNd5g+odZ73JlqhU89qHdIBMQcR83ZJZp/ViPazcQT24tt5MUHksayvsJvLmeVlrSwVrho3Scwi5UlBP1Zllza9bG1n8qfuJNKG3wXwK/X0Yyf382Zq8/0OslF3tLaWM6ZdVhAOUkQh5NT+Muo0NooG4GplZDDvgiFV8mXdAEmIFfIQtHedjHEg+61heTJP9VsorvBP3A/k3+iHjp+H5/yDqKkFgvtGyOtM875pgKDPjlJovr1zYPRT5CBX1q8WdxmJp2ND6+kNnHYKY/KDVXTjsLT x-ms-exchange-antispam-messagedata: quiwcC2uyRGgMjaeCKEFwWt54h7SGlpvtugNIVNt6l/QLI3kN5WipxgCftaKBDkTE7VlmFu8nCVYSrUmgSuNF/X/AvVLkEwTvALsz8/6WisnENfCPtGrBXdkCy3nQ+lDkB5djb+6I3VK5L/6i4kVDA== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 21ecccee-91bd-44b6-e871-08d7d795fa71 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 06:12:24.5673 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HCKXyTxCz2PNsyXeXrbadgpJjgh6EsTg84ZD2BdspXbba/IdnBAtMMZDi2F1OYVP22bgk9wzxGTBdErMLiddwRw6oPu33XiQl+fd3Ab04jQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_231232_288722_52B27E1A X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.154.123 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, Tudor.Ambarus@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Tudor Ambarus Both the QSPI controller and the sst26vf064b flash support quad mode, enable it. Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sam9x60ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index b484745bf2d4..8c3f621efc4b 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -579,6 +579,8 @@ compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <80000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; m25p,fast-read; at91bootstrap@0 { From patchwork Fri Apr 3 06:12:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 11471859 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 C0C8315AB for ; Fri, 3 Apr 2020 06:12:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9DCFC20757 for ; Fri, 3 Apr 2020 06:12:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lHWpzIL8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="bCP1cCzc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="W6LOYfit" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DCFC20757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CSaZtdlIiCx/uCvwBGaUcSIEY+lrqlYtsIKihSAM5II=; b=lHWpzIL8BFrZDG jHvTWSKJ01U82M1fKfMUaCH6a/LO4nnvgGlCnXIBlrv7eoU9wU63EuLb1x0Bt7xgAYX2lxtgjhNtx 9+FyV9hp/KPO6h8UqHK6ENG0c9O0eFInGs3SRBt2Fh6jV4Cg9Qona1q6NhZWPSP0f6CWVzc/C9fVF 5Uzwzyq8QkUJahtSLoo0CbA/b+X1CppbbF5fH74LD6T5gL8repPytgz8BsgIUNWqSMayAvfHYyyTt X35kdVFxvoX8XwGmBTWr0bNCdU3/KCcVRCDdhvaV6/kmuvbYAKMDG+eoUCyhfuYO03dTLJwemRyY6 4kaSNRdm6A7Ns6tbMYBg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZH-0007E7-Iy; Fri, 03 Apr 2020 06:12:39 +0000 Received: from esa6.microchip.iphmx.com ([216.71.154.253]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZ8-00075I-Cu for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2020 06:12:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585894350; x=1617430350; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Emo7d3R+B23zlGMnmJ2rQj1NNS1k6VBlsbRb2My/sVg=; b=bCP1cCzcbNXhIcT2Cqz3RDpMpfzzPxVk0zTHxOaM+qlHtkah270qyfWX 8OGoWhCdeM5zK1nlKr2R3rpQEWZa+aifgyEbia1sm9GHIabt5c2l07nha wfEecyd5qIquPI9trUr7X+aGELsudl51fJGVUJjHMe0luMxwNpQ8NsfpZ p9AiBMcACqG5A9UrH23MxwJ40KiysmxuJy7nYo++uUoeyBZx90qtMrOTL QxBsOjJn6pJ7SCeRbtv41BkWS4ATKM4E0HBoS+h8DRdks2GaV/WlataW3 bejkv/NTC/Koci4Qp7OvYFfLdtGdK+5+d91xc6tkKTLC6YgT3tfTM11p8 Q==; IronPort-SDR: Ush4M6ZyxWi66O65gViPaVpRjWKSc5Cr66FkXnWZOm8F4Lzuoo/+gcAp72o1juk7NY2QxeRHm2 iP5CmKsykUHxLtFVyrzy8rwe4V0b1lKUfFAfkVTuAiujYlJLIBylCOmnjbd8q+yX0pATV7O8FM nbM+M3QLA29ik2g3AG+RAvEScChoIm+z4psXj37aFrDQAniv5SrVDjqyx9DVe8Fbwv3dL9QKET 6lFccoXRvEdBuq8yy5b+C83jSpsEt1uhFIDdvcrMgbvlGpl7lY3VDvQIIIasmT55wEppDVLFmS 7kU= X-IronPort-AV: E=Sophos;i="5.72,338,1580799600"; d="scan'208";a="7987663" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2020 23:12:27 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 23:12:27 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 23:12:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aelqPAGBlIP81p/YypccWaDN6fYsc1KbDoq0SQJLez+3eMnhN1xjovOUf5bMYKlqwNtCm+pMyo4z7ekrAbpFjynoOMgCUJQsY8yPpnFgCh6psYrTN4m9M5qvZqUbM2PzB4cp6583QbiLlB1vUqyKIbVjeGvcy/DQ03lu8KtVFr01XBX0+V3RFChFXDZCtU/AsTfAsNIB1IhZVHaLgihMxw8JsGiwVIOp+OMbwEjKPFsHLz2RPzD1InRWxHTCQ1WOtL+dsG6AkWIBfbFmdu1As0iqC5+eFIrpY0n9IyqYcK39Y9TR42Xkoh+vGbCqJqQqKLAEuLNypQ/rxBE3atmdhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+N/nWCZ/diO5VV8ulMbFXrfdrQR6tqIC0S7lnKimPUY=; b=Foog/yNLqBT93mXHxWgPdbJm4hl/GQhrawXq47LnixzZxmfN8VFUgYdCj5Imoe7fxEsvZZ6noPN7+bH5G2Me6o6G2+KE1Vc2wUcsP2F/AOabNkA2YFBcSyQxS3D08ccZwEF7qPA/0rlFU7fU/GP6l7WlJilPTfps/o10UB+3EeI3K143/BukMKNLotSsYqWJPlsjhjkGBuLbu5U/Tdj6+Moeoe/E9VFjmksjcer2QHhlW4ob8wYJb14wjvCMYKTuwn8lddy85KUK+6ie6AoS8EXy4OzUJOfqMyr+0uCoOvWv3iIsIWDn/rhM99/hZCHA8isHPu1rgICx7geWolua5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+N/nWCZ/diO5VV8ulMbFXrfdrQR6tqIC0S7lnKimPUY=; b=W6LOYfitTJ94QRPv1F6EHdeS4+IwnnqSOUWrY9Ac4roLQgoqB2QE2z/fEuvKQxp5snf57QeX23K+361JImkkqXVukkaL9/NKWDvAkn2u9h2eV9GTG9TJteOkebQk7fYeMCvmS/n1P4qTgJcQsfxWeCErG2jc3cyDZpXednR7Irw= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 06:12:25 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692%3]) with mapi id 15.20.2856.019; Fri, 3 Apr 2020 06:12:25 +0000 From: To: , , Subject: [PATCH 2/5] ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping Thread-Topic: [PATCH 2/5] ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping Thread-Index: AQHWCX7YjlRGoQ8Ew0moTICne6FpUg== Date: Fri, 3 Apr 2020 06:12:25 +0000 Message-ID: <20200403061222.1277147-2-tudor.ambarus@microchip.com> References: <20200403061222.1277147-1-tudor.ambarus@microchip.com> In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 285f12c6-4457-48a9-e715-08d7d795fafd x-ms-traffictypediagnostic: BY5PR11MB4183: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:983; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4419.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(6512007)(6506007)(478600001)(2906002)(6636002)(2616005)(186003)(6486002)(71200400001)(1076003)(26005)(36756003)(316002)(66946007)(8936002)(86362001)(54906003)(110136005)(66556008)(64756008)(66446008)(8676002)(81166006)(81156014)(4326008)(107886003)(5660300002)(91956017)(76116006)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yjWVzsEl8WsouGGMcVUMQ2n1z15wLqLbMGW/FUejieiNdkJ6DeW0wdHqLVx5xRpUtxLuOcR+PowpaqA5hYHO4ZSMOBV2qedqLg0xJI0dQetpR6nTQ6rjM6LheTCfkd7N3xM6ufteEugnrVLFYfxjQIbyXr2icQi3fwnW2JoKnOGXntFZM+bOXU6RkWbRFIArEMuSQ9XOCxEPXOdowIzRzTgcWAehiTFyuLTv87Ih15ScODHnRBZtBqJwEu8KCjWeUnwweIt0CxS5xoXYFEqxFQfQpVxP/wckK8KCs0Wg9SLTlDXvURrohj+2aG6rNQH5ItcPZHC76QPCydwfKd5Exb2GC61wWKjVlYri3M/HWYOCOlAb08Kla9ycdZUTdkoa3VUvU+ASa4KkOzxoWPvVmCBZ1YuRrZX/rQ5ZLsamIODVk0MSpCgp66yh8x6SbJ9W x-ms-exchange-antispam-messagedata: Kq+R7hROOaOtRKeLCKFhojRuQnzEZstMT0gQRr04BNORugekrzU07oUJ69yLbaPF/8WLuSX5t2JH6esMOCSG761m7BJNRHtBIQgw/G80pvjiZPIhjKRf2tENumKMGMDYri3pnGQU1e4nkuuWBegv/Q== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 285f12c6-4457-48a9-e715-08d7d795fafd X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 06:12:25.2280 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3zfRKP6UAn2s5nlZrNYzoUIWpqkd3Ld0+T4jzaJj1uYJsF9yrdn1Vp8yMhSzwt3wMBtzu53PQoBj+OA5seXZoo1n5UQtBZiFGyXRtNdK98A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_231230_550803_2C1991BA X-CRM114-Status: UNSURE ( 8.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.154.253 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Tudor.Ambarus@microchip.com, robh+dt@kernel.org, Claudiu.Beznea@microchip.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Claudiu Beznea Add SoM1 flash mapping, identical with the other SPI NOR flash mappings found on the other at91 boards. Signed-off-by: Claudiu Beznea Tested-by: Tudor Ambarus Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi index 6281590150c8..919000f467e6 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi @@ -34,12 +34,44 @@ pinctrl-0 = <&pinctrl_qspi1_default>; flash@0 { + #address-cells = <1>; + #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <80000000>; spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; m25p,fast-read; + + at91bootstrap@00000000 { + label = "at91bootstrap"; + reg = <0x00000000 0x00040000>; + }; + + bootloader@00040000 { + label = "bootloader"; + reg = <0x00040000 0x000c0000>; + }; + + bootloaderenvred@00100000 { + label = "bootloader env redundant"; + reg = <0x00100000 0x00040000>; + }; + + bootloaderenv@00140000 { + label = "bootloader env"; + reg = <0x00140000 0x00040000>; + }; + + dtb@00180000 { + label = "device tree"; + reg = <0x00180000 0x00080000>; + }; + + kernel@00200000 { + label = "kernel"; + reg = <0x00200000 0x00600000>; + }; }; }; From patchwork Fri Apr 3 06:12:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 11471865 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 E2F3E15AB for ; Fri, 3 Apr 2020 06:13:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9B33720737 for ; Fri, 3 Apr 2020 06:13:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oNYZGFGv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="RvGJRhF9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="EvVpRUmi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9B33720737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c+VIwjT61RMo1vzZXCb1NOIKEjaFkTEb6/Bk0yCef00=; b=oNYZGFGvGyH2Oy BDEl3iyBWmVf6Y/M4rR63temnJkpLEf6rIGo0hBRXw2q29vVOcqHOKfeSPr8B1yc3q2NU9h0STuVM iKPWU2ooH9daIPrLk1PdH699r+Jdh1LCSlCP6Fl1Q1RTeOCqVWe7VQU3fsFbxPr+7lmEeIS/2/4uF oUAkxUw8PB6XiQDwZdhQnd9xZN4sxrYbdaD4T+M7Fndcz2Oi9Aw6H7p6COXRK7uJTw86UjeESARtg N2PxgTL4XxebQirnHPWoBunkrj1CWKnn48T02XtakMMERWKBedbbGq4B3tlyGC9+sfnaApnqLGwd/ 9dUGLkgnLuhWE/EqE3tQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFa5-00082b-IK; Fri, 03 Apr 2020 06:13:29 +0000 Received: from esa3.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZB-00076M-4p for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2020 06:12:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585894352; x=1617430352; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SfQ9YesmicZNOeYKGPEZI8U4s+yp/yb+G05QhDU5kH4=; b=RvGJRhF9ULTshHvBYvehO0e9rqtmFJvW7y7Q7Ya282Yo1i1XsKuoyPfn TMjg9nXUBmpdL3FJY25EZRbfi7qG5vlHeaNvryCukRcataL7FupzfmMAl xBBAQmumXWWKESYhbACJnS8vIVE+i7vkbU18+HwyuX1yoaHDAcMtmhqmr pckZyP/WZhEC1jQ7pTcVHNRj+gq8fwYdH5rTyvY3GYgvLvtWd9yDnx9E+ hyA0v9HLEcCbdLJpF92tcGLZfXGqwLNsFiE9jL8jU8q49o6HaJHPJeJUQ rMct885l4lVKacit9jnMD+9aWg+hES3RMB94BT1ZUymH8GKf8L9jfOMwm g==; IronPort-SDR: 4OLut00bgXT+baw2B8lKSDxqYeSsXxRRDTRjcxoOVUSY2oYmxyZ2YMZilJGIjrRhj0I69alYjc lFA/ERfutKpnABRjZBMjTwPIJbz0GTGSKuITsdZbRxaa3WH3SOV77nfd978H7VW7JgtxSE53Jl 9pXcYfsXIuX/waxZWlJ+62eAoYaCzLApqnVWF+3GVGDPQ/46EcH4P8KDth2wBMYz6HJT66r+g8 EcCNtskVWk+OsuSklM0GJAf6FxPz51kBqzghxKPzJqSWwrgrbB9ddsWZxJq02R3wqfWmU1tQWP Kl8= X-IronPort-AV: E=Sophos;i="5.72,338,1580799600"; d="scan'208";a="72178030" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2020 23:12:28 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 23:12:28 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 23:12:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mjaMOW4T4VSh0PjaqXcCw3gU2QgE2CpP3w+hgwWgSIvRAZdnlVWsmlJ8tKQEfOPjMlpCJHOtZTa9I1yuZ1JzZeuYHr3NeXpO6vJ9DiA+vAg6nY+la5mWQe9T5hxgggeAlPHB1vjDjLTNlf6xULDnYmNXxGLjnoGNkpr9sBDu7we1vJkerdV6RTkoWDJx8pg+/hrHtgWuV93YsUc8IRTC1ZAuEmP9Fyo1cmjBwA0qpUpi0U2+TS69/fr7nT9J6egm1NSBYix8yepTMwEup2J7f+bf/Swwa84tYZzkm7+SwIamo0xUZHC3eE8ZDnk5gZKJGSjADTofCmmBjT9tneRmEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z9ehwDFekAFmVp7g0RGtwsrLczGO4tcsUFy/TNHzdDg=; b=U9vW3FU/aFad5SksjhWx87R593/eKfcTSMM3vIhY2ac4VDCO6XPCQAHA7+CzPfyz2Txah7XEJtigsDAZ/WyeVHEGbaK+P7FiiDooa29dacK+QZBrjazFBU7eAZ5TlzlgZ13//mD9niyXHvQECL8JVXMzT3rDSoKZaYg9Mc+d+k3cZRyQOqBsAMmRiKbl8BlUlTEjS3Y5YiL1bpliXFTsmYnng2fx7/Jf9wNFfGK6eeGbqsuQJYFLFzWvgPN4XDNm1C+FPYV/3Jg4j+nKnR6mBEWaCrZqyDLEnkWSjhfLB+jYY+9s7m2uMcogyeczyUMflb4I4A7U9BXdUUSmwFGYgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z9ehwDFekAFmVp7g0RGtwsrLczGO4tcsUFy/TNHzdDg=; b=EvVpRUmibQwM8HCNlz0n7xVaQfFHSB+jdxuiC9qRRKBHC6Of5cssUfZgpHdJIanACy81crnEA6yMSneq6ytl1/UDvYz4uVfTHD3af5GLPXAPlbyvdiMF9tW6Uav4jHXbdl89+0jN3dAnc0ErTXSacaMHklVJqwVD0MKKdfQ9ur4= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 06:12:26 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692%3]) with mapi id 15.20.2856.019; Fri, 3 Apr 2020 06:12:26 +0000 From: To: , , Subject: [PATCH 3/5] ARM: dts: at91: sama5d2_xplained: Add QSPI0 + SPI NOR memory nodes Thread-Topic: [PATCH 3/5] ARM: dts: at91: sama5d2_xplained: Add QSPI0 + SPI NOR memory nodes Thread-Index: AQHWCX7Y4zwUIV8V60yUq/Xkexo5pg== Date: Fri, 3 Apr 2020 06:12:26 +0000 Message-ID: <20200403061222.1277147-3-tudor.ambarus@microchip.com> References: <20200403061222.1277147-1-tudor.ambarus@microchip.com> In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c20a8b4-778c-4d18-b706-08d7d795fb7b x-ms-traffictypediagnostic: BY5PR11MB4183: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4419.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(6512007)(6506007)(478600001)(2906002)(6636002)(2616005)(186003)(6486002)(71200400001)(1076003)(26005)(36756003)(316002)(66946007)(8936002)(86362001)(54906003)(110136005)(66556008)(64756008)(66446008)(8676002)(81166006)(81156014)(4326008)(107886003)(5660300002)(91956017)(76116006)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tlzQk8c5gZGOAiCI2bOsNw5wZ0TMS/Ztdb+naxKLQyoTrLogF3xNAkLU0SOBgCo8I/FnGw3NLdhsr9VypEaeaIuqzCsUZNdKb7ewsQOmfU2Y/7V5/zHTXtCBCdnboi4IB6gCCFF0L60vQ/ATMDbRP8p95B16SAJbofWOr0i8ZeYLj3c1DJDGbZHUGURHMYwFqn8UHZiN5J2S0iy6C9S+hU/QET+3Y3UpQ/DfABEfkOVi6MQU0Eiph71s6IVjanduJYBZo6GJdtvSby+l7PMiuwP8oMJOj0FiYd8sG6qbYzx1CwNMSM+f6IFzvZbjYHiYO6AR1kV+21MQZax4Vp7P6RX9IWosyXrM3gSh9rZ1QfGchbybDtrBV95JVv3eTAqjVTbInzrpl4Jj+Tquh/OW8sEQruVo0GWxQTJhvPSJQZkyQUC92RCUWnAa/xk5rqnP x-ms-exchange-antispam-messagedata: zNfX3eiANRlQD+niqIH/3frgejILM75OsgZcuVJFR37cCf/gYArFadL8/E004djR5K3QhC+f9feXma/9Fzj8+EgAoSXdPyN5JRAOP96BcuMvFyL+X+515OlBZfXP/lehZVXSdKKru8ZzGX0UedHcEA== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4c20a8b4-778c-4d18-b706-08d7d795fb7b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 06:12:26.3583 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +nxWvCaePNKQUOgZEHyI1o7N/BnyVqe4aP1gsstXLAJAMU9+H2N2J27FSpDQP2HURsGvbVg37YGS3+artDAzNEUa3d3w9AOqZ4MAmemwwZU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_231233_222503_16FCE5BB X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [68.232.153.233 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Tudor.Ambarus@microchip.com, Cyrille.Pitchen@microchip.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Cyrille Pitchen This patch enables the QSPI0 controller, configures its pin muxing and declares a jedec,spi-nor memory. sama5d2 Xplained RevB and RevC use the Macronix MX25L25673G flash memory which advertises a maximum frequency of 80MHz for Quad IO Fast Read. Set the spi-max-frequency to 80MHz knowing that actually the QSPI drver will set the SPI bus clock to 166MHz / 3 = 55.3MHz. Signed-off-by: Cyrille Pitchen Tested-by: Tudor Ambarus Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 68 +++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index 055ee53e4773..e0c6cff1a312 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -72,6 +72,58 @@ }; apb { + qspi0: spi@f0020000 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi0_default>; + status = "disabled"; /* conflict with sdmmc1 */ + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <80000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + m25p,fast-read; + + at91bootstrap@00000000 { + label = "at91bootstrap"; + reg = <0x00000000 0x00040000>; + }; + + bootloader@00040000 { + label = "bootloader"; + reg = <0x00040000 0x000c0000>; + }; + + bootloaderenvred@00100000 { + label = "bootloader env redundant"; + reg = <0x00100000 0x00040000>; + }; + + bootloaderenv@00140000 { + label = "bootloader env"; + reg = <0x00140000 0x00040000>; + }; + + dtb@00180000 { + label = "device tree"; + reg = <0x00180000 0x00080000>; + }; + + kernel@00200000 { + label = "kernel"; + reg = <0x00200000 0x00600000>; + }; + + misc@00800000 { + label = "misc"; + reg = <0x00800000 0x00000000>; + }; + }; + }; + spi0: spi@f8000000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi0_default>; @@ -535,6 +587,22 @@ bias-disable; }; + pinctrl_qspi0_default: qspi0_default { + sck_cs { + pinmux = , + ; + bias-disable; + }; + + data { + pinmux = , + , + , + ; + bias-pull-up; + }; + }; + pinctrl_sdmmc0_default: sdmmc0_default { cmd_data { pinmux = , From patchwork Fri Apr 3 06:12:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 11471857 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 6AA4015AB for ; Fri, 3 Apr 2020 06:12:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4679920737 for ; Fri, 3 Apr 2020 06:12:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RIpoba4S"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Ubs+AWOb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="RcHa/5LJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4679920737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qq+KHkjcsdBLQOfhpMGeFvVobluvjUSwqbLSPxoBXbY=; b=RIpoba4SFZhUT2 qkjxTM3Rsi9R3+o2S2xwsm/MepRUJNjZ7uT6v/K6F7HKFebWP2+26P7E1YMVtuT6EKr0Bs5bONiCM EtsUCsXWnVQ0OIBTkIVhy0Qg9X0NCBupnFkjMvepWbOcUCgPg1VYLcCKxmCqgxMPrfZ4wVR+gHAgA wPQvi+F5hSWMR85yslWx4HCR69teynJK2lszUVORTAH0jBLug6+PUud1xyu8aendaaW2w0PP/ewhz 6Gz0FkBEqsj/TJQ09ORZM4R5tPRJImkh6mGMv0zOyKVGqNC3gFRPIJrOQaGb9AgWrfGjffkwVPGnR Caboho9KikMLjooxjx2A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZB-00076N-CD; Fri, 03 Apr 2020 06:12:33 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZ8-00075J-EE for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2020 06:12:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585894350; x=1617430350; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Ael21jjk5g1ef+0DnB2pVtVQGI7nlNU6oa66g82DCrw=; b=Ubs+AWObggELaqNzNE4NMkIKdoY4JyRW4quWPuxOY8lAsEgzDVUKNfb3 rZT0Eli3yV4qnTN18ZrfTjFd/JsLH7i6NxzNHZLTDBZvbo5CgqncsIS9Z kztgjeU3gjyWbnXjJB3a48P8pvvoicmI+Ao6SClwLFOeDi7dkQMvC+/TY 1orU9XCNE4/drLLE4NheGNzWxQFw2Vc5AR+rbMHe7i+pcIMssZfa4yXi5 h/w92KduLm8uhShrRd2k/FZz3fwA6wP8lNVKmZ44ND/SWODFjiemMKm55 KSXdIWSsecWDqu2kDQ88UBGg67i0fpz/4if92DXBBEfqLYxxJN/5CvInj g==; IronPort-SDR: /B8LQJEtdHf7cX8AHNFJsR4gjibO9YjyQVB+c2YDtQBUG+5mmvnltiTZV9Dw+2rPNbIJfTwSw1 32RLbPny3ko6nMI/WfhTlkvN8wPqNVP69oz8GJzL0WgcoO22XTN2/tNIzfsCKfyBK/KfwjGusX YAS6iwReQevzxdGSg0n8FORgD9fbEVlR7iPovwDDSO7XmLxUmmfLljA7wM5lEtJ4uDZL22Fa0n JG/Wgu/7vE3nW8WwpiMTacW8VNJSU6brKVrBFAn3XkUyV/2OsJBYk6kJzYRHwi3GOZNQCILYz+ 9uA= X-IronPort-AV: E=Sophos;i="5.72,338,1580799600"; d="scan'208";a="71316157" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2020 23:12:29 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 23:12:28 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 23:12:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KxKII1/YvchP9UcLXo0U9Xy3Aq9Qmb7KU7OqClll09yrRPnYILU1fORZESAOXGWTJjtuQJq/RMLY1e2p1QxkyX1hIT4noaWgC5o+HeqO9MlDMgmyB3x1rjT2YIdgsmUpcNpq5jp0KhHsORVWv7lI+6i9JEz+dk916ggUZRjRtXmow2gRl9I+YFC5vvr7hSjcC8OhczWUb/KJFmtpEY8WB30laFpA//g7wkY+GWzZ7XwqQGBUDd2FvmmdWHBNUd9Q0nPWHr5+x14LwiQeohWu+NlofP0CwWLSwgM22nCnCNuItX/6uZJhcFof/WlqWADSi3cBLZxyZd+Mw6tTFIlq0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EgIDxnM1yekUWzQXQ0H885GQXH7ra4WL9pNKqDNbNk8=; b=PwH8Q2mVu2NJHRcgb32R4dU8ZCx0LmeDLuJcLbgF3N0sHbHCJreQhR0wiT/TdBod1MCdwbZBgGx/aDu7gyXvxhcHQjnSTfk0L1vSPoKnQlgGWxt28mMeYEWrZd/NhZMZjsZrJvfG4dh4SpPZnrRU2pNEfvBpK35y+L3qJY5BnAbCIyxP/27TIIS4G8tgGZChgnkfrVBkjOfNh0ioxLu+NDudfdpi/mAay7xhJLdqZi7uDFuFnVOU1gXqHGwZuGnv6skVrrR5mDQxoQ/lnTPetVf1kjvCcUisnpKv9ZOyEUryYN0OhARqloKB/6ndUsQfT4+EXpZQwAailQKXjulT1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EgIDxnM1yekUWzQXQ0H885GQXH7ra4WL9pNKqDNbNk8=; b=RcHa/5LJl62qGaNhwKhhSFqMjFEpexLHcmTJPVNbvs/MjjblO1QDnoemyXU7N+3ybwX+mSg8XNrlrEw6XgsXilMSPrwS69AXQzQferDV7cvbAEEMpC7VVE7cVGmNbVwwLFWvkF7Cq8jI+zVnM7tCrlIBwSdrGtfYIJrMB6VYr/c= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 06:12:27 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692%3]) with mapi id 15.20.2856.019; Fri, 3 Apr 2020 06:12:27 +0000 From: To: , , Subject: [PATCH 4/5] ARM: dts: at91: sam9x60ek: Add sdmmc1 node Thread-Topic: [PATCH 4/5] ARM: dts: at91: sam9x60ek: Add sdmmc1 node Thread-Index: AQHWCX7ZcGzkWBrVmUio3lvv2f2mZA== Date: Fri, 3 Apr 2020 06:12:26 +0000 Message-ID: <20200403061222.1277147-4-tudor.ambarus@microchip.com> References: <20200403061222.1277147-1-tudor.ambarus@microchip.com> In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 19f17d14-0cf2-41c4-df41-08d7d795fc20 x-ms-traffictypediagnostic: BY5PR11MB4183: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:431; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4419.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(6512007)(6506007)(478600001)(2906002)(6636002)(2616005)(186003)(6486002)(71200400001)(1076003)(26005)(36756003)(316002)(66946007)(8936002)(4744005)(86362001)(54906003)(110136005)(66556008)(64756008)(66446008)(8676002)(81166006)(81156014)(4326008)(107886003)(5660300002)(91956017)(76116006)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uSdJ9bvrEETDj2zPDG+XqN7fzX89ZUsbBgaVxnGmg5dMKHza2EP8J14dt5ECd78e5XeTX4BUSltdnP9pc5DK3NzMPcjVsH7E/sZyxJHCIjN2gzrLjwh0+zo/Lykow2yIDKcxIueBO0zmzRkuBYk363k6OfyQ28SpcBrE985aZwjRUYbZZYPHCc0XMepZYCIL7IhoS7mzBfcgeJlBE2VU9IBN8GPhO93pKKfZP2CO/xDolau7v4CoY1PRbzh5yqHbOC4mkeTOK2x6ZSD/5d71fXYO0QDE3Hd6/mcHFEVhciJpLIzr7N/ZuO6HpJ4VeWuj9Hp6C2DtBSUnZASWfUaK0SBiw03mysbjLTKrQpIA00ekYxbOwEVt7HsjrLHwN6JLgAX86a4/BkejApSq6nQhLvPvfhROb6skZvCBOOYY6B0+1Fcmn8Dm/D5An6yMjlLH x-ms-exchange-antispam-messagedata: hN3iCdGwJPk2MKEt4WBbDctOlKc2wg5My96DxmCUgsL0FPWXk8anTWaz/p5x/2ug7QG6+K/jThk97gxnvu15jaKS4206Uki4Jw4lpZ6f7AfDJLdqgsE22mvXOMaNgCFA3SURNLK2wkfJfs+8TL+3Sg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 19f17d14-0cf2-41c4-df41-08d7d795fc20 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 06:12:26.8700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BrXkCteY3KAfWICkmvrFXJdVFrZ/BPlgC6PC8UZLON9hfagENbR7lj7PV0jpzlfm7yY2sOIyonBNyQQWUQUozw4CW5rHB/pHSFVJVn2Bx9E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_231230_544878_3703A93D X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.150.166 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, Tudor.Ambarus@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Tudor Ambarus sdmmc1 is not populated by default on sam9x60ek, but there are cases where it is populated with wilc3000. Add the node, but keep it disabled. Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sam9x60ek.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index 8c3f621efc4b..a5f5718c711a 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -542,6 +542,18 @@ }; }; + sdmmc1 { + pinctrl_sdmmc1_default: sdmmc1 { + atmel,pins = + ; /* PA4 DAT3 periph B with pullup */ + }; + }; + gpio_keys { pinctrl_key_gpio_default: pinctrl_key_gpio { atmel,pins = ; @@ -568,6 +580,15 @@ disable-wp; }; +&sdmmc1 { + bus-width = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdmmc1_default>; + no-1-8-v; + non-removable; + status = "disabled"; /* Conflict with flx4. */ +}; + &qspi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_qspi>; From patchwork Fri Apr 3 06:12:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 11471861 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 9AE5E159A for ; Fri, 3 Apr 2020 06:13:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5AC2C20737 for ; Fri, 3 Apr 2020 06:13:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i7awOStC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="rEJG/rWJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="Cs05agOm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5AC2C20737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TB7ZU8I90FXjfDBZSslRF0qhAtetWoBSvptfk+1hP0g=; b=i7awOStClaLlCC GRG3/VM9YBpKtL4ncErzwAs3EvV23YiTay80QXx4Ap4svzXQ+ygjw6LTOtyiVPBSxF1f/vEk11zqz NaPnvl9BMjr+8y7bn+f5ek7/qMqm8nExvOpUsEjlQUtzRcRHkS3WB3PQjppJ+2yc4WaTUDC7qrKqu bQZfNgqivekAx6qyqoJQND6pRsOb+NLIm7uQK3jNtLp384YfEgQtWj/UUTSZ3NqJrDWcKU0WKKMsP OI+C15Tk090D1Kk006WOw9U7REFXkPA+c6NDhxW6C4g1jPL9HMFbsZNJp4NmlFL5OfHtO74VLYRWy c5x/WIgyXpb9qlBrthPw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZb-0007XD-2b; Fri, 03 Apr 2020 06:12:59 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKFZ9-00075J-Pf for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2020 06:12:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1585894352; x=1617430352; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=fNnQvjyw1TE1h8Lsg4ys6eq8cOcNnmmkGQuk25MT1Xk=; b=rEJG/rWJ1sFHptcTwOZu6VOfnFJTB9jByz0WXopm+BexXoUwjyu7ZCXI 0zR9nWo89kAZB2ZTU3quwCGVxJ7L9DCs3p1/uu2/ZBdWvrxn4b6F7wWz9 y+Zb33MJDBLH482nVsSH3GwSC38t1lhT3RTAIku3Aswz/LVrFVDekK7yL vOybLGZkgcbs+fwHkutqjnInjghHIV2S5YGLqy5pkOOCQTjTCvJRseqX+ IN7oMmJOQwI0hnxN07qnZ7m6JhH0EvUEGTu5V88H0hk5+kzFLfpocSrp+ Tl0DDe8KodRp10JFoG9aagSIwavxJ2u/wXP354hDPvBh/Z1n6YLhDtpep g==; IronPort-SDR: qFfHUNChj6kl6JlzGb7RrRD8mbIPAdzErcIuCCI4WuLvMFw3TRiCpwt+hp4JQv+wTaT3IH+7sy u2HmGQ8QgpuSZURrHxrN7Q/6V7K9FPeR8CYOKkv40FEu5swB6x2k2Aiqc3H2fn5Zq55/fjwgXR meM5pxBugLR5Lm86gL3SrhwV1B5Dj8YJynsIaO4PR4LVOteVC1hturwxyG1P7vgOzxJNAux6Af bXRW2JnlzVcXgurkhWhZKL5rBbkmbHRn4DcRqnuhZPvEgQaBW55wI1+dNqemqisSKormVf46Ox ikQ= X-IronPort-AV: E=Sophos;i="5.72,338,1580799600"; d="scan'208";a="71316160" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2020 23:12:30 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 23:12:29 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 23:12:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k/XjjRDbprXkd7l5QRg09VgdGFCYi8sBiDC0rri8w7dJl/Gg/mKMYyusdHbEB+D/TFS4nT/5mwBOWv3LSZK6IteoH7feDM6m72/KwFKJ3CTfWHoYHy/qf9x6HRK1QyfllT+STN+LUWh5ugkJUbv7ltbQtg2Qfn3XF7NUfxTiMfvLtU9j0wui0otaLz94TsGLGgcDpeEJFs/vSsL5PnUo0EHFISlIrU9Ic5AeXLyfVQj9dEUGds/9KSGhwtLCViGDLB7yABZxZADOUmSqt3oVXQQubzTpniOhtCWsA/GLTw1MGjMcCEBEkKgLROnc3iq4fyFX2V+i0altSt7SyDCZhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=erPspkDGNUBAlW8s3Mn+FTmXPWYPkAZq8tR7QgIssII=; b=inuzxaMxopUg8FMelTvNgwD+2yaj5Xj3PtAz31YUwtaNbGz4wSD3VbeVIp/4bP6jKQ0rnAk7516HkAmN9vlao++u7e8QoadC6ziSNXPJLU/rIA84yY4Jam2vZajINWuqTl5Dl3OkSmBTRf0kqand8X4t0/st58g4YUhz7KknhKoXeN3n8CzsLYeF7NdoiYCwty5FB/+3tn1GIWQWC1Ay6JEMvVeKFlPTWvYXDKY1EQuEW2YQvEIDLhaCAnrXiKeAjvE/evOgEmoUaqaAOduRYdF8NPF0c/xbZwp2noe2srT6AYU5CvtF2CF9PBS4LxC+wJNinChUAlOfo++rMyIuSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=erPspkDGNUBAlW8s3Mn+FTmXPWYPkAZq8tR7QgIssII=; b=Cs05agOmohnLh6b4gD3adbKM3AaDuITY/lUzp6DPkrevxUDyLh/oSlmFli9YD5qz5GUhJ7M0e1Kpn9l7QLZ0yMWbSsDUle+faRAspgcruJDGBo+sGhvbnEM94oY/94j7mLtOShMOTTC4paxLFRulY7wornDbV9RE+DT3tImnSX0= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 06:12:28 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::e918:9196:b47e:9692%3]) with mapi id 15.20.2856.019; Fri, 3 Apr 2020 06:12:28 +0000 From: To: , , Subject: [PATCH 5/5] ARM: dts: at91: at91-sama5d27_som1: Enable eeprom device Thread-Topic: [PATCH 5/5] ARM: dts: at91: at91-sama5d27_som1: Enable eeprom device Thread-Index: AQHWCX7ZEkLCBK86+EmFjdsQPC+j9w== Date: Fri, 3 Apr 2020 06:12:27 +0000 Message-ID: <20200403061222.1277147-5-tudor.ambarus@microchip.com> References: <20200403061222.1277147-1-tudor.ambarus@microchip.com> In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c65513a2-78fa-4cb6-b63f-08d7d795fc78 x-ms-traffictypediagnostic: BY5PR11MB4183: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4419.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(366004)(6512007)(6506007)(478600001)(2906002)(6636002)(2616005)(186003)(6486002)(71200400001)(1076003)(26005)(36756003)(316002)(66946007)(8936002)(86362001)(54906003)(110136005)(66556008)(64756008)(66446008)(8676002)(81166006)(81156014)(4326008)(107886003)(5660300002)(91956017)(76116006)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2nS1i3Ce2cyjtiTAONomtjQrQKv0TOgOhiNhD+UEU05GJM4JtttkOm27TtjJZgwiRD2FhCrHQC4G4gBRYCk6hUdmIu7E+sLLC8IzZjksDHEPnfiij0aNtS7E1mkWSm7KZOEUneFRs6ixuczFHdJ8+4yQViW9sQTVw9RFE4YaIrlLI1HL1NLZXG628LxpWhjnD5v5K0CE3M52r891F/gKq7AyoduNkTcxuJfL/dLd7o2ywhz2X4BptWEQv+6VnnWl/CWF2ptgBKFby0XWnipu/zBIz3krcg8f6f8kkCcWMSLkvw/Bjxsom5oqpZ+ki9JgJ5L+wex8zyWitPVN3Zc5Mtq+WVCJF1ggo+MR+0MVNmosPvGccC3GTMcJXTt/ySFbaX2f4voOg4hIsaUEFUGnCbPeO1Z2HF7lRZsnE7ZgWPdXimi1u4owACjiVKgqMe3G x-ms-exchange-antispam-messagedata: mR8HssJwAWf33jCi/CL1IVzuh5fTH26mWSz4/y3VU4Ss6nhQQJ74KkYxcXwOl5S4ryQLMhtEl1HNXRPLZWvBoLsDothXfMnWrDxFiAXxKqxUACbAZ8V5YkvvPTzXENoPVse97tVx8uWv5p6K7fQLRg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c65513a2-78fa-4cb6-b63f-08d7d795fc78 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 06:12:27.4487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SvEnQbKXYuqa6pXVdPW+QBF1ZZSA+dBHObN3qdOjZGuxyF5GY/o8HI4rrNQ75udOg4vd/f/r56dwJHE3syO2y6zWViOTpsnTuqaLuAXfHEY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_231231_854896_27765549 X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.150.166 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, Tudor.Ambarus@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Ludovic Desroches There is an EEPROM on at91-sama5d27_som1 connected to i2c0. i2c0 node has to be moved from at91-sama5d27_som1_ek to at91-sama5d27_som1. Enable the i2c EEPROM found on at91-sama5d27_som1. Add an alias for the i2c node. Signed-off-by: Ludovic Desroches Tested-by: Tudor Ambarus Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 22 +++++++++++++++++++++ arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 14 ------------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi index 919000f467e6..b1f994c0ae79 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi @@ -13,6 +13,10 @@ model = "Atmel SAMA5D27 SoM1"; compatible = "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; + aliases { + i2c0 = &i2c0; + }; + clocks { slow_xtal { clock-frequency = <32768>; @@ -89,7 +93,25 @@ }; }; + i2c0: i2c@f8028000 { + dmas = <0>, <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c0_default>; + status = "okay"; + + at24@50 { + compatible = "24c02"; + reg = <0x50>; + pagesize = <8>; + }; + }; + pinctrl@fc038000 { + pinctrl_i2c0_default: i2c0_default { + pinmux = , + ; + bias-disable; + }; pinctrl_qspi1_default: qspi1_default { sck_cs { diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts index 535627c6045b..b0853bf7901c 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts @@ -20,7 +20,6 @@ serial0 = &uart1; /* DBGU */ serial1 = &uart4; /* mikro BUS 1 */ serial2 = &uart2; /* mikro BUS 2 */ - i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2; }; @@ -116,13 +115,6 @@ status = "okay"; }; - i2c0: i2c@f8028000 { - dmas = <0>, <0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c0_default>; - status = "okay"; - }; - pwm0: pwm@f802c000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>; @@ -289,12 +281,6 @@ bias-disable; }; - pinctrl_i2c0_default: i2c0_default { - pinmux = , - ; - bias-disable; - }; - pinctrl_i2c1_default: i2c1_default { pinmux = , ;