From patchwork Sun Sep 29 07:42:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 850 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9CB1A3F039 for ; Sun, 29 Sep 2019 09:42:58 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id e15sf6596363pgh.19 for ; Sun, 29 Sep 2019 00:42:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569742976; cv=pass; d=google.com; s=arc-20160816; b=RrZlyCY9DBpaq8OAFNED5R3bsTfFbDVJSkv7ldGPeKSJ70h4I/Ayb5xa4KoiJoUG7U 84MNonBxNttNubR7I1CfMGASuGOla6qWxUs07Qeg7nriYhPQn21KvWczCelUafgZ0QTl 75+btiHBZCxTO1EX7Am4heG9mG9XFXg/EmhZiYUyYyd6tnjq/B3Rz4s8QaCmfN+9M+7G my9UgffJy1NAeC/oEKy2hP27BFNHgdlvw0NpaHaVbDpv9uViA/ECbQrC7OdGLpwB9HXc jzRkbrrvbIfrD+l9SEJJ997PiJdgwtFopniNaFULM2VdVu2J4/rfXND0eSgNDVfRNBA3 6MeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=ar6ltOrYNail/pnitmENtmg+BIEprz+LrCRMMvxhzkU=; b=ZebXK0okY09OgVOtt9X7a1UjtIdWlVnleQlCQBrETvPaHSkjJ4PpdrMkSDrO+ZZS97 Fv17TjNmQroNBHd4Zhbz+dKK6Leg8ovVpaFgVtDvpJnYcuYvwi68a8KqPNvsWhwPz3Pf wyDWlhf/6x9SXsD19V5pdmQZP8DbT2HMGI93iUONvuVIzluF3HryOHmbHVrRBt7KSFuu VQI/tpQvoVNt6ziw4LNtyxbzaY6X2k1BoL4doKK9kLNOPl1IWB8I4XxuBs/ns9MlV5UK bjZphlVgfb+9PsvpWXcOeFPlR6ce+80x73wG9hVD5bOA1FpC5CfE0mMsQH/4vvPkJOxF 76cA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iPrz04N5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=ar6ltOrYNail/pnitmENtmg+BIEprz+LrCRMMvxhzkU=; b=Zo7+zyP1CAoxbZ8ptZlMFHKqaGMiymzy1yG/pRJN1yC+lmH49cgu20A/UjFvYcnYR5 5R0HfmZJzb/7Z8JGYbsLFr3tRUO4g43GvJSkc58pP5rfpcphYSQ6Z4ZnaXNtYJZycvfM /i5B/FuYf18g8qicjDjmw7G5HkZ/7sBlrSIlE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=ar6ltOrYNail/pnitmENtmg+BIEprz+LrCRMMvxhzkU=; b=g/uuvooZueryCwz6KXwF43z+7obAYUxB/mdNPsREbaRn0lTfnhztqvnsq9CNS9HMvG CGtqROSwVK0gXlCn1o71GzS72O4XUigqM4asaVoDdfUaewIGoo7QLgqN1q7CJHGZvrLw OAmdIfzib7eXHmn5/Cvz0oOGfvZkSYoSHo06zTbR82Jw+yj3Gcg0CszYCej/3ONtxWLC 1unHCV0KUIWNRYxF5PTuMlshjDLmQZUduIPptau83mYnz3SdwXvDHiD+ScPNEveykkGd lN2a0+WOMO51op25UEDRmQfy5vaz9flHm9N63/ehLAD0KXE4ODjP4SdBeLYeB2jA2VzV G06A== X-Gm-Message-State: APjAAAWdgBC0nQ8p2v5ddJX9Jc7Zb9Tg+0KWz8hDMO5k1EPQcorgH6D1 BhQQ3Z3DiZkT+065W3dIQMOYAikf X-Google-Smtp-Source: APXvYqyAMPYl/lBbS3mxvSOHCrnPTb5Qas1ekoSNL6f4ajqeG83XmMC49AvqGP3/mFsWXUTPDDfUzA== X-Received: by 2002:a17:90a:3d08:: with SMTP id h8mr20384722pjc.12.1569742976225; Sun, 29 Sep 2019 00:42:56 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9a04:: with SMTP id v4ls1054839plp.11.gmail; Sun, 29 Sep 2019 00:42:55 -0700 (PDT) X-Received: by 2002:a17:902:20b:: with SMTP id 11mr14390669plc.62.1569742975823; Sun, 29 Sep 2019 00:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569742975; cv=none; d=google.com; s=arc-20160816; b=b40+yIsg0UDfjW1HQBO/4KyEaQOWtzXtinEojxv50Yy1566Ujtyph9YsZWcQeeMC4i LRgl6HlFETeWEmYVsSn9nC51XOZpFeB7Osw8+600mV1DriKI/a/86U8dUwCvHlO9+DWj 99TxyVde2RWOMWxItCFjjDi0SAsd+YH4Z/hvtIhDtyThv1uXv9S8L+jFgS9I3KkPRdUb dN1N4GaYpyF12VpXcR9hS793WK7GBaaumgTaOUePr0UcaNWjlJ8/Vut7hs9cp7mgEZnk wZoVawQzZWkduHtJ3GM7Egagy3JzMgB+EbZhMnLJhuCUWcv06StMIcIjsTnyLurSIVxJ fj5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=KLG7LlOUwuC/oo6rtuJhG1HNV8YqR/0OXioDZC49LYw=; b=QU2zgdPeDIdm6o6VVODBbYLwz2yqEQHMrCveKzErckKCEWoY2m92B3DajZBmFYM/6x NVDvxpb5mpxp3nxOMuI/O8OQlyeDgHlaFQ2CBdY/ulKm2JvbZFeZJjNMhKWuAHvtOl41 T/+abnsI3Jzk6c1uC2Oaq+YC2UajtqtpGw4r46owNqLFbqrlLwIjkFURecl+vQrwOmAR tbOLBBhSBtPiKwSEpQXHR+fbm/N6Tub79dPUrUbo7pwwsrsEuHCRgMt5hUkZ6hlxxdpU OIRUANRRZ+zx6r7SSWNmm641RtSykm/F5+Svi+exN4ueo5WwGHnMX09pJMTQ+0rkvAGM YK0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iPrz04N5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x81sor7946106pfc.40.2019.09.29.00.42.54 for (Google Transport Security); Sun, 29 Sep 2019 00:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:ac02:: with SMTP id v2mr14244812pfe.109.1569742974301; Sun, 29 Sep 2019 00:42:54 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id x9sm29548432pje.27.2019.09.29.00.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2019 00:42:53 -0700 (PDT) From: Jagan Teki To: Rick Chen , Paul Walmsley , Palmer Dabbelt , Anup Patel , Atish Patra , Bin Meng Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 0/5] riscv: sifive/fu540: Enable SPI-NOR support Date: Sun, 29 Sep 2019 13:12:34 +0530 Message-Id: <20190929074239.11575-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iPrz04N5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patchset, enable SPI-NOR flash on SiFive hifive-unleashed-a00 board. patch 0001 - 02: support devicetree patch 0003: add is25wp256 chip patch 0004 - 05: enable spi-nor flash All tested in Sifive fuse540 hifive-unleashed-a00 board. Any inputs? Jagan. Jagan Teki (5): riscv: dts: Add hifive-unleashed-a00 dts from Linux sifive: fu540: Enable OF_SEPARATE mtd: spi-nor: ids: Add is25wp256 chip riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi sifive: fu540: Enable spi-nor flash support arch/riscv/dts/Makefile | 1 + arch/riscv/dts/fu540-c000.dtsi | 235 ++++++++++++++++++ .../dts/hifive-unleashed-a00-u-boot.dtsi | 11 + arch/riscv/dts/hifive-unleashed-a00.dts | 88 +++++++ board/sifive/fu540/Kconfig | 3 + configs/sifive_fu540_defconfig | 3 +- doc/board/sifive/fu540.rst | 21 +- drivers/mtd/spi/spi-nor-ids.c | 2 + 8 files changed, 362 insertions(+), 2 deletions(-) create mode 100644 arch/riscv/dts/fu540-c000.dtsi create mode 100644 arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi create mode 100644 arch/riscv/dts/hifive-unleashed-a00.dts