From patchwork Mon Jul 27 09:50:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 6871761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D6A1DC05AC for ; Mon, 27 Jul 2015 10:00:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F30EC2066C for ; Mon, 27 Jul 2015 10:00:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16C2220620 for ; Mon, 27 Jul 2015 10:00:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJfAp-0003sj-R5; Mon, 27 Jul 2015 09:58:19 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJf3a-0003Kk-0B for linux-arm-kernel@lists.infradead.org; Mon, 27 Jul 2015 09:50:52 +0000 Received: by wibxm9 with SMTP id xm9so108359694wib.1 for ; Mon, 27 Jul 2015 02:50:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=gixn94vFkP7eiBQEOo8aTVrP1sFULWLmiBxfng1TlW4=; b=j4QAXjLuQF63pSP8d1aYJtbGah7rpbICbuxoZog2Ng7h/5S4E+/F2sb1a9LU8w9LnO BiL5QodVkVJ3IgypzGHftGkw7F1T27Kv3o9EAEXXv5h+5wAxEiaTxXeZyibdW6cnHw0y MQHZEaqnN4fkKprDvUGaGdYWKfMwAV23xJQjBd+3EZ1Kd/qHNiFvEcsx7Ol1RlUDTNAn ckEVdEOk1UhnbqEGxhjBHGotf0Eay+Z1PLOpp+3TNAz047ENiMdRmKpeiqXuRL0TFQPW Z8bVwluhlzYVLTv1at7rys/U9DilAC2rzQ24fu+ChJwo1v1zjTXxsjiZztaXBik9ojHq pRpQ== X-Gm-Message-State: ALoCoQk3xw2Wg1Q4bJ6r0aOUgCTh4c1sdH9hdyoGy2icmL+uk4eODBrrld84gnMDxtXnUi3zbZ56 X-Received: by 10.194.91.232 with SMTP id ch8mr50364726wjb.19.1437990628390; Mon, 27 Jul 2015 02:50:28 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id ma15sm12647409wic.20.2015.07.27.02.50.27 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 27 Jul 2015 02:50:27 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM64: zynqmp: Enable spi flashes on ep108 Date: Mon, 27 Jul 2015 11:50:26 +0200 Message-Id: <1ab9d1360f86aec30fcecf49ac0b52b10766f3fc.1437990621.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.3.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150727_025050_669997_2D541D7F X-CRM114-Status: GOOD ( 10.30 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, monstr@monstr.eu, Pawel Moll , Arnd Bergmann , Ian Campbell , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , Suneel Garapati , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable spi flashes on ep108. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts index 47debdcbefbf..279a992ce70e 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts @@ -81,6 +81,40 @@ status = "okay"; }; +&spi0 { + status = "okay"; + num-cs = <1>; + spi0_flash0: spi0_flash0@0 { + compatible = "m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <50000000>; + reg = <0>; + + spi0_flash0@00000000 { + label = "spi0_flash0"; + reg = <0x0 0x100000>; + }; + }; +}; + +&spi1 { + status = "okay"; + num-cs = <1>; + spi1_flash0: spi1_flash0@0 { + compatible = "m25p80"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <50000000>; + reg = <0>; + + spi1_flash0@00000000 { + label = "spi1_flash0"; + reg = <0x0 0x100000>; + }; + }; +}; + &uart0 { status = "okay"; };