From patchwork Sun Oct 11 03:54:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mingyu Li X-Patchwork-Id: 528711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B06421402C2 for ; Sun, 11 Oct 2015 15:01:34 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Q4bLk5P7; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6753A28C7BD; Sun, 11 Oct 2015 05:55:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 22A98283C2A for ; Sun, 11 Oct 2015 05:53:40 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 11 Oct 2015 05:53:23 +0200 (CEST) Received: by pabve7 with SMTP id ve7so64713140pab.2 for ; Sat, 10 Oct 2015 20:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QHwpQoVkvHhQVqKceAxEkC9AOD3vWCxgmzL+1c2niJY=; b=Q4bLk5P7d27X0V6Wg9Q3nd/El5lxQ/Gs6PmSy49uXyA99QS/0spt5UvTYDkTZIe6tv ocrFpzo4mFVyraEexzYM587/Xk8yM5BQzn8XHjMJSDRMOoQL92ycTpBCsIZUppufBM4y gG+g0WX+qCHsJFimQMy2uRWSvklX4FEHtEFsIXZfeN3RnzE+FSjsFS+fEVUurOeJ2FgA 6m4XkhhuO+VufP5Oq3sEbpmiE+tq5ytZPKrN3VHrFC/RA7QrmzYJj7EK8IYybAzf7Ipu t3NEWZe/aogpaqWTsZE5F0c5Yklf3GhzXBQG7BaECpM+S78R7i2GuWG35ZUBnf6kj3rO d9eQ== X-Received: by 10.68.201.168 with SMTP id kb8mr25946795pbc.95.1444535692010; Sat, 10 Oct 2015 20:54:52 -0700 (PDT) Received: from localhost.localdomain (f45hc114.RAS.nctu.edu.tw. [140.113.45.114]) by smtp.gmail.com with ESMTPSA id ux7sm10833184pac.10.2015.10.10.20.54.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Oct 2015 20:54:51 -0700 (PDT) From: Michael Lee To: blogic@openwrt.org Date: Sun, 11 Oct 2015 11:54:34 +0800 Message-Id: <1444535674-3117-8-git-send-email-igvtee@gmail.com> X-Mailer: git-send-email 2.3.6 In-Reply-To: <1444535674-3117-1-git-send-email-igvtee@gmail.com> References: <1444535674-3117-1-git-send-email-igvtee@gmail.com> Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to set mt7621 spi bus number X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Michael Lee --- target/linux/ramips/dts/mt7621.dtsi | 6 +++++- target/linux/ramips/dts/mt7628an.dtsi | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index fd2e100..a4d4614 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -20,6 +20,10 @@ compatible = "mti,cpu-interrupt-controller"; }; + aliases { + spi0 = &spi0; + }; + palmbus@1E000000 { compatible = "palmbus"; reg = <0x1E000000 0x100000>; @@ -84,7 +88,7 @@ no-loopback-test; }; - spi@b00 { + spi0: spi@b00 { status = "okay"; compatible = "ralink,mt7621-spi"; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index 0f59cb7..629157d 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -20,6 +20,10 @@ compatible = "mti,cpu-interrupt-controller"; }; + aliases { + spi0 = &spi0; + }; + palmbus@10000000 { compatible = "palmbus"; reg = <0x10000000 0x200000>; @@ -105,7 +109,7 @@ }; }; - spi@b00 { + spi0: spi@b00 { compatible = "ralink,mt7621-spi"; reg = <0xb00 0x100>;