From patchwork Mon May 6 12:04:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 163400 Delivered-To: patch@linaro.org Received: by 2002:a92:3d95:0:0:0:0:0 with SMTP id k21csp1761895ilf; Mon, 6 May 2019 05:05:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz66BQJ0h6a4dna8O9PfzewksnYoua1Ac8B6Mu8L1T0ztVnmaIXhF6I68UBLGRLhQIuRG5g X-Received: by 2002:a65:60d7:: with SMTP id r23mr29995329pgv.223.1557144332657; Mon, 06 May 2019 05:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557144332; cv=none; d=google.com; s=arc-20160816; b=AkOWc0REfoniKm0yD6c/uUqmhRoRQen8M1x81mbMdFjwsYyJzNF5pjWbEKxEME+Skz h7oW0iJ28c4gxxIczDC63NDoyBrnK9x036uvBYRK+Jj9hKIeW2a1X2Vvg3on+lwM4NRU ksjL005GhamGn1MbxFZjdoABw/hho6DZS0VoFFP4kWAeOKH2Fkh+ICzjvff5SvWR9XKG m3tj9H6ads2kVsdyPnm15O2no+xa2I9ypy3zuXbWT/PYZqM49W97ngUFOkuXYV7OMYY2 f7qjBKVNbOJk8EShUql9xiK0UhTjtUgtR5ObejoQXt7QRiDd9ycG7zzIixxf1LRR/J+a 1bNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=OlDYrQagoRRgIUanTTiaH0xI7ydpH4Phsvkhb6Hldvk=; b=vzihclGL2NSoeFTn+oNMj9h9uBxg5dFi62vX3I5H/i3xhBsYbfU/SrRjBqjh9A8R78 GsihvORL+rEYTVZfovLvi62L3epQaQKpqreHDAbrQ17LaA90Ov441/pWOa1IafAHbsXR HsbxdX6CBTo7Yvj777SMTjyoqYlvE+7lVBoRreJLQ4bqSHWZA1QD5nQPtDFH22HLRkNF 5sCki9JF7yW30jC91tW3dVULdtzLEVLqY+AhtPcNsVIoCnHO7IvX+L/+5jg+skusITxX 34+L0AW+Go4uKQBAhj8B4fe3hunJPQ4DKQTSZ9XuZGmEjc7bsEtLWczNO5ZzF8duof9p w/Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QZmNCGD8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s199si14835005pfs.90.2019.05.06.05.05.32; Mon, 06 May 2019 05:05:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QZmNCGD8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726162AbfEFMFb (ORCPT + 30 others); Mon, 6 May 2019 08:05:31 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33685 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbfEFMFa (ORCPT ); Mon, 6 May 2019 08:05:30 -0400 Received: by mail-pl1-f196.google.com with SMTP id y3so6284019plp.0 for ; Mon, 06 May 2019 05:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OlDYrQagoRRgIUanTTiaH0xI7ydpH4Phsvkhb6Hldvk=; b=QZmNCGD8utu44MaRa3SN0Q0GcNmFA99KuHhZxTOd2VZMnVKc59yjcdQ/pRtA57LPED tnD9fTyyuHB439p746gDr0wxz8EYTiLTZyxVPqEqRVXl0aJttq/xKBHLPNGsJI94+UTw oRNDEWKsskTZyOpdFjppaLtL/JmS/Suj2k7T9nGi1PBfbDv3eKtg7vQ9JLDXK8qwmFxn tlC5BvDMHGqYwksGbUV9PT6PFNgD3ag1yScw2DFJHR+QLPcEgaj/9/PZ9r3gugaKhoi6 j7jgIZJPDbotWYsn3ZwlWCyxp2A96hsPxfVvqg0zGFR0QFOTc77kRJb/TL5X7ASQDUl+ eRpw== 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; bh=OlDYrQagoRRgIUanTTiaH0xI7ydpH4Phsvkhb6Hldvk=; b=Syt/qYKaV5IehZMFZs91lAagVODBOQOfgLT6k+NHvWLwPbM2x+wZtu7P7i3SvKsJSV q7w80XTNNJ2y0Igu+5QuTqHUyUmCaSxWZ8gjUVbN3bGAdWGHkh4ZxYwwP4wRGJPmCVBb TthZdwT57UoBi+EePm+dJDt7HXUyeyYwM6Pvr28dBIsRUIw4/FMQznWuAxklpV4xYa3q ltgHyluXNStJtOQs1cRUoEFhqtJlFylTABUuonw+pqvAN6xSAsR4rTLFu0RWt13na/Qp 8sE+neVTOPjwhE7+kspEq3OYfiojOD5GIB6lqWJb4IMgFrs8toUJdMiPpgkAKKwOBkEt kNoA== X-Gm-Message-State: APjAAAXJF0dOHVOlWXcq9Tnou3HbEr6XFVVrBJoUQ1AjPo8gUrSg7+c4 hKgXES2nIrEyAQuyQbALIFxM X-Received: by 2002:a17:902:183:: with SMTP id b3mr31792924plb.267.1557144330073; Mon, 06 May 2019 05:05:30 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:611b:55a4:e119:3b84:2d86:5b07]) by smtp.gmail.com with ESMTPSA id q17sm26482318pfi.185.2019.05.06.05.05.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 05:05:29 -0700 (PDT) From: Manivannan Sadhasivam To: heiko@sntech.de Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, ezequiel@collabora.com, tom@vamrs.com, dev@vamrs.com, Manivannan Sadhasivam Subject: [PATCH 2/2] arm64: dts: rockchip: Enable SPI1 on Ficus Date: Mon, 6 May 2019 17:34:58 +0530 Message-Id: <20190506120458.25842-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190506120458.25842-1-manivannan.sadhasivam@linaro.org> References: <20190506120458.25842-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable SPI1 exposed on both Low and High speed expansion connectors of Ficus. SPI1 has 3 different chip selects wired as below: CS0 - Serial Flash (unpopulated) CS1 - Low Speed expansion CS2 - High Speed expansion Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/rockchip/rk3399-ficus.dts | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts index 027d428917b8..9baa378fc770 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts @@ -146,6 +146,12 @@ }; }; +&spi1 { + /* On both Low speed and High speed expansion */ + cs-gpios = <0>, <&gpio4 6 0>, <&gpio4 7 0>; + status = "okay"; +}; + &usbdrd_dwc3_0 { dr_mode = "host"; };