From patchwork Sat Dec 21 07:54:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 948 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 4B9DF3F08E for ; Sat, 21 Dec 2019 08:55:21 +0100 (CET) Received: by mail-pg1-f200.google.com with SMTP id o21sf6568115pgm.11 for ; Fri, 20 Dec 2019 23:55:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576914920; cv=pass; d=google.com; s=arc-20160816; b=BIll9j+tLxXZkzpwzo7OY5pWBga6d1ly+4PmgCUnulVl7HT8ChYXRBwMZLusdwZH5s MlnhUQf+aGSpA4hanw/uFvhBEOGM28sjZECx+MAJZ3foTaGZFW8rv3GkV7B+8e7Bgq6t yc3ibFjTjVTfR68W/aIwbZpgQYc/t6qGz5SxkvTC8admaRb5E4X+/I25GvOLc+mVljkP YENoDeegAYCZmK/0xlNY6Y+e195c+7mwLVxWKXE9XkBDbEebJSm9id9UiFXAnKsMGhUq EcXlbNnYZ77AmtmeX22H2mOcUVt4HVj7+InIyN+KyegmXizvKgc5hZ7LfVb2L/bxVaOm lo/A== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=AKTTl0sNrhWvYjUq2zEaMZAnTL1uMzzvZ8GsQ1N8e7g=; b=RWzn6rgcxAf1PDzf2QUGp5NicleEfTGLenAls/3wkBtuN/L0XGOSBWHB/OgTQ0cjpK 3LeNdVR3GlgqV/K+WWWMemQKAbTWMf2XLFYfIZTwbQRngIsINI3A0ExC2vhQr2XWWHVS 2eOm0B6f9/FsX79r2iabGXIq+RvgXubdUo5vnEWHMsgpFm15J+vTaw0xfqlfgUrWqiOF ANaew9OoekpDCt9EKzaJ7VjX07d13uaSg8uRnlJ0so1lp10Zp5XdIXOEjpBpjFjNfkHo /VFm7hMvNdZP2/i93W+1wpz+f7KCk2XGTDrDGspmkuGXM66K66q5vvJL5Vk+ba3WIRvT FbeQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SQJ3pma0; 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=AKTTl0sNrhWvYjUq2zEaMZAnTL1uMzzvZ8GsQ1N8e7g=; b=gZPzQeM3TrjOrGd8OxQxpUnFbcYOhBinGbLddqryCy78jlWVw8KOTBsDa4i/1X6HvB o2c4XayoPS//CUS555DtbFIeOSl+OfhX6j2MucCNfZ5NTqo5ARJSGWuX3ETtbIZJV7uJ jh74PASj1cyKwIrXLMQpqCLsBjlyjxC/WfiVo= 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:in-reply-to :references: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=AKTTl0sNrhWvYjUq2zEaMZAnTL1uMzzvZ8GsQ1N8e7g=; b=P32X1HfaZT6q14MmYIbPUs6j9QohA5GtdON+B6LFTTpWPuo7DuE03pAjq+Qeg680N4 /W0kObdTFGytAVD6qDHOvXx52jCdTnSJ4+NaIpDNLHLlDI5nNhwoEaQpMfzePb4xM89w zfxC8zVINr7VBc/CCLmU4bT1IZXFpwkJkhlKGejJkB5Q83MQtT/gdqKg5L2FHOt8S1BO JV4IQqbL0HVZFc9/M5WU5T82g2TWWfZmLuyM2tZQzfMqXkNwbMq4kg8UMfOaHsyOAAj2 fQTOTKlgRTsvv21WW/gmanZH7PLg/lb2AfqrpRUFbOHPlY/EK7J7xewu4oFAcVycYKHG nD/w== X-Gm-Message-State: APjAAAV676ZTPzg3baAljRmbb3SzO/30AIO7UXn6n2rBfFtOR3+Fv/XJ 7zEPxIk46Ns4ppt4Z3Ut1nMWCeft X-Google-Smtp-Source: APXvYqwFFWCQDjQ7kI6C6n0sw2cfVDcufI+2/zW00foKromxC5HjdgdhYPogtEbUYKVnupXr1QteVg== X-Received: by 2002:a63:e0c:: with SMTP id d12mr18696065pgl.3.1576914920037; Fri, 20 Dec 2019 23:55:20 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:c244:: with SMTP id l4ls34623pgg.2.gmail; Fri, 20 Dec 2019 23:55:19 -0800 (PST) X-Received: by 2002:a63:a84a:: with SMTP id i10mr19124342pgp.6.1576914919510; Fri, 20 Dec 2019 23:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576914919; cv=none; d=google.com; s=arc-20160816; b=VhwVBiXBG4FzpU2GJ2QyqFvzegf2pzZX+JvFLT2I32Jddhjf/Nr/5bUECeUBImOUrS ftb2wSoIn04CfLUqf+HCsiv+9TKnu++xgp8iX1mJp0kdQcUeGSGDb85C7FFAA0fbdyMb Wo/zviSYPcthwN5OsRtXVnKGrgVkRqr+6QJ4NQASRPjIpO1oPQsFtJA7x4VOwI0CyK/b zzg9utTkIjmENwH0uS+P6sm7zhDJGqxfzk1rLMWkLAR/EwbWfTabC6jZ4F0CxqVLHqw8 UAWHOKMKCnPtp20Jk2mgE21FfE3i9o4uX3j8eokeCDlzBnqKUZqbCmmU6JItDwqEW7bz II4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ACNZQw9K81BypFIzBx5+GIgdZYxnDvmql6PQXJKzzj4=; b=z3W6y242lQYbSg9//9u4YxGrqLERPjPIIWGC7RNJLaZmptgyeFHOMrNAGKbAXvpjVk 7/KqGGQy6Ze7KLMfWLEll11um/2m4qNRw87n9a55ORdnxbkOxABEsptZ8U8Hxa4Zo3sS +w309nR5zvvP/cfXyU80f8WnspmwuE3PiOlh0His+xYyjXEkmH2dSAW5DP3KkX3sCaz4 rToO/bjwJxJNpIJ2MdH7+Zh+XOfQEVC9NJloMJw0KHWOHiEh3MLIK0Y6mD2+wImpMjOv 2X2+8w0G/o6Tq03V4MRY7c6VYAr8eLF//EQBmM+9Aa+vfv/E+4uAywfHhdBma+rvCCYm mULg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SQJ3pma0; 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 g22sor13178365pgl.73.2019.12.20.23.55.19 for (Google Transport Security); Fri, 20 Dec 2019 23:55:19 -0800 (PST) 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:a65:56c9:: with SMTP id w9mr18701357pgs.296.1576914919229; Fri, 20 Dec 2019 23:55:19 -0800 (PST) Received: from localhost.localdomain ([49.206.202.177]) by smtp.gmail.com with ESMTPSA id i9sm15551018pfk.24.2019.12.20.23.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 23:55:18 -0800 (PST) From: Jagan Teki To: Simon Glass , Kever Yang , Philipp Tomsich Cc: u-boot@lists.denx.de, linux-amarula , linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 10/11] rockpro-rk3399: Enable SPI Flash Date: Sat, 21 Dec 2019 13:24:39 +0530 Message-Id: <20191221075440.6944-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191221075440.6944-1-jagan@amarulasolutions.com> References: <20191221075440.6944-1-jagan@amarulasolutions.com> 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=SQJ3pma0; 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: , Enable winbond SPI flash for ROC-PC-RK3399 board. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 ++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi b/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi index 4648513ea9..deaa3efd39 100644 --- a/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +++ b/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi @@ -6,6 +6,10 @@ #include "rk3399-u-boot.dtsi" #include "rk3399-sdram-lpddr4-100.dtsi" / { + aliases { + spi0 = &spi1; + }; + chosen { u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci; }; diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index 49e27c91cb..6a50ec7dbc 100644 --- a/configs/rockpro64-rk3399_defconfig +++ b/configs/rockpro64-rk3399_defconfig @@ -46,6 +46,8 @@ CONFIG_RAM_RK3399_LPDDR4=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_SPI_FLASH_GIGADEVICE=y +CONFIG_ROCKCHIP_SPI=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y