Received: by 10.223.164.202 with SMTP id h10csp1542032wrb; Mon, 27 Nov 2017 04:17:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMbp9W6Xr9M4SOtZIvj154t2UW9ZGwWKg+E17xImXK5yEp2ONYVUNm4GQvWB8sG9BiNMX1vO X-Received: by 10.98.20.74 with SMTP id 71mr20070327pfu.77.1511785043179; Mon, 27 Nov 2017 04:17:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511785043; cv=none; d=google.com; s=arc-20160816; b=LLh+SgquqhO96asKTIbUoPs8cAKAF0YcWfL7bWWwAkBPpc7yjLnjgaH3mni+rzi5D/ LRE3vp+/MhLRHabpPbtdDzUU6oxqVWhK9Jdko/NPjY8nZmimOxSMELUJ7JzJL9CvoCg6 RyKGb+vgmmWTuacpniE/Ut5DS2IpUO+NmRKGWOz7uYXMMiaDlMDPdWdLqI470LXo528T v8mjRCeG48Bc1Q4UETs0WawZaQEDICmdq0fyq4dI9y+LWt9NnN854cKLnOwkk7Nd0Sz1 LH3USZWFsEKykJXAhDy4oUwrY9G++fmNPYgCa3ie+h+oh+Dp9Tq7qGvhnz0++WgIAMjT LY0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=JwsH9PcJb9ZcbNUzMH4wC+W2pmZLgFyGL+JYMtBM1bw=; b=QAtyCudOgoZRBC2I3bVcSq5B4Qj8w5HKk1TFtrGk+axa/hyguSH59Dko77gKuqQfbu +773skKdOV9NDgvjBtBC+ts0Aq52O3R8IhyASZgbMqImHia1lpHt/jb256M4KfxCuMfd ANZhQ0/Rm7qg8jZz1mvbASQqKg+bR1snZxg07i9NdrBO8VCDBqETp4XuhBWsYRKqMoi6 x9/dG597GKlJt3DSWNpj58zoOnUCjOYxzoLx+azUbiQ5bq7YgsnuWaYzuQC9Tpqfhnzw IVVTJH1Dhd8702V1aX5ucFSLQC4HOliUzGK8myxtvxX35Au0wDL6XcijGgUo/EWjV/cv jD+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si13019392pld.176.2017.11.27.04.17.11; Mon, 27 Nov 2017 04:17:23 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752074AbdK0MO7 (ORCPT + 77 others); Mon, 27 Nov 2017 07:14:59 -0500 Received: from olimex.com ([184.105.72.32]:46687 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbdK0MO6 (ORCPT ); Mon, 27 Nov 2017 07:14:58 -0500 X-Greylist: delayed 606 seconds by postgrey-1.27 at vger.kernel.org; Mon, 27 Nov 2017 07:14:58 EST Received: from localhost.localdomain ([195.238.85.143]) by olimex.com with ESMTPSA (ECDHE-RSA-AES128-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AES(128):Mac=SHA256) (SMTP-AUTH username stefan@olimex.com, mechanism PLAIN) for ; Mon, 27 Nov 2017 04:04:50 -0800 From: Stefan Mavrodiev To: Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linux-sunxi@googlegroups.com, Stefan Mavrodiev Subject: [PATCH 1/1] ARM: dts: sunxi: Update dts for A20-OLinuXino boards Date: Mon, 27 Nov 2017 14:03:51 +0200 Message-Id: <1511784231-6485-1-git-send-email-stefan@olimex.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There will be option with 16MB flash for the following boards: * A20-OLinuXino-MICRO Rev.K * A20-OLinuXino-LIME Rev.J * A20-OLinuXino-LIME2 Rev.J * A20-SOM-EVB Rev.E The used flash chip is Winbond W25Q128FV, which is connected to SPI0 port. Since this is optional feature, spi0 node is dissabled by default. Also this option is incompatible with NAND flash, so they shouldn't be enabled at the same time. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 14 ++++++++++++++ arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 14 ++++++++++++++ arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 14 ++++++++++++++ arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 14 ++++++++++++++ 4 files changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts index 64c8ef9..98b7697 100644 --- a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts @@ -291,6 +291,20 @@ status = "okay"; }; +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins_b>,<&spi0_cs0_pins_b>; + status = "disabled"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "winbond,w25q128","jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &spi1 { pinctrl-names = "default"; pinctrl-0 = <&spi1_pins_a>, diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts index edf9c3c..354af5d 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts @@ -218,6 +218,20 @@ status = "okay"; }; +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins_b>,<&spi0_cs0_pins_b>; + status = "disabled"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "winbond,w25q128","jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index ba25018..6fcdd6e 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -268,6 +268,20 @@ status = "okay"; }; +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins_b>,<&spi0_cs0_pins_b>; + status = "disabled"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "winbond,w25q128","jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index dffbaa2..db85895 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts @@ -331,6 +331,20 @@ status = "okay"; }; +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins_b>,<&spi0_cs0_pins_b>; + status = "disabled"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "winbond,w25q128","jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &spi1 { pinctrl-names = "default"; pinctrl-0 = <&spi1_pins_a>, -- 2.7.4 From 1585354748657647133@xxx Tue Nov 28 23:35:06 +0000 2017 X-GM-THRID: 1585284190444099978 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread