From patchwork Sat Oct 26 11:24:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaowei Bao X-Patchwork-Id: 1184634 X-Patchwork-Delegate: priyanka.jain@nxp.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 470fFf0kKPz9sPc for ; Sat, 26 Oct 2019 22:41:26 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C59F6C21E45; Sat, 26 Oct 2019 11:40:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 99648C21E3B; Sat, 26 Oct 2019 11:37:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B1AE7C21EC2; Sat, 26 Oct 2019 11:36:25 +0000 (UTC) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lists.denx.de (Postfix) with ESMTPS id 8D8EFC21DEC for ; Sat, 26 Oct 2019 11:36:23 +0000 (UTC) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 60CDA1A0523; Sat, 26 Oct 2019 13:36:23 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 518091A0533; Sat, 26 Oct 2019 13:36:20 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8F0D0402DA; Sat, 26 Oct 2019 19:36:16 +0800 (SGT) From: Xiaowei Bao To: wd@denx.de, priyanka.jain@nxp.com, Shengzhou.Liu@nxp.com, u-boot@lists.denx.de, patrick.delaunay@st.com Date: Sat, 26 Oct 2019 19:24:54 +0800 Message-Id: <20191026112458.35241-26-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20191026112458.35241-1-xiaowei.bao@nxp.com> References: <20191026112458.35241-1-xiaowei.bao@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Cc: Xiaowei Bao Subject: [U-Boot] [PATCH 25/29] dts: T2080RDB: Add ESPI slave device node X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add ESPI slave node for T2080RDB. Signed-off-by: Xiaowei Bao --- arch/powerpc/dts/t2080rdb.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts index 49c1765..34ec6a7 100644 --- a/arch/powerpc/dts/t2080rdb.dts +++ b/arch/powerpc/dts/t2080rdb.dts @@ -14,4 +14,19 @@ #address-cells = <2>; #size-cells = <2>; interrupt-parent = <&mpic>; + + aliases { + spi0 = &espi0; + }; +}; + +&espi0 { + status = "okay"; + flash@0 { + compatible = "jedec,spi-nor"; /* 16MB */ + #address-cells = <1>; + #size-cells = <1>; + reg = <0>; + spi-max-frequency = <10000000>; /* input clock */ + }; };