From patchwork Sat May 16 10:53:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 473017 X-Patchwork-Delegate: zajec5@gmail.com 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.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7600D140D17 for ; Sat, 16 May 2015 20:56:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=YW6bE3tE; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id BF19528C053; Sat, 16 May 2015 12:52:51 +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 5F62128BE55 for ; Sat, 16 May 2015 12:52:17 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 16 May 2015 12:52:11 +0200 (CEST) Received: by wgbhc8 with SMTP id hc8so106724864wgb.3 for ; Sat, 16 May 2015 03:53:29 -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 :mime-version:content-type:content-transfer-encoding; bh=N2w6nth8lvFUdSWo/F7YxK9Teg/XJ5WO5G4RAHQY+hU=; b=YW6bE3tEaeg1FC4iuwQuSOJ7pb6IEfDY1W9lPdMHt3pKLyKw2cZq5Yb+2YRQR5X7Lu J8UP3e7hOIcLLpLqdvaFY5VeYTLqOC13mTgxJtU9ZksaRPbWiw58yMhMl4zVt8ijPcK9 GE8w6/nOroJVYnokmZCdNivnsUo/pRGob9oaU0BAPy0XDGlChf8UKLiMP6SSw942kaSK l0E3bPlL0mncUNLwIrLP2nueJAQprubfENVZOekBgmFY0+AEEdZTuliPMSRb1Ub4PtEM sn2VN4TkwvhO5dhI4UikynIws9H4pNEBLaUGv+CxnRSqLMFiptW3SFwpDr05d9sAfXsR VxCw== X-Received: by 10.181.13.144 with SMTP id ey16mr5341364wid.38.1431773609483; Sat, 16 May 2015 03:53:29 -0700 (PDT) Received: from skynet.lan (55.Red-83-42-204.dynamicIP.rima-tde.net. [83.42.204.55]) by mx.google.com with ESMTPSA id y7sm6786785wjw.16.2015.05.16.03.53.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 May 2015 03:53:28 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: openwrt-devel@lists.openwrt.org, zajec5@gmail.com Date: Sat, 16 May 2015 12:53:23 +0200 Message-Id: <1431773604-11788-6-git-send-email-noltari@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431773604-11788-1-git-send-email-noltari@gmail.com> References: <1431773604-11788-1-git-send-email-noltari@gmail.com> MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH 5/6] bcm53xx: add ASUS RT-AC87U partitions 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: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Álvaro Fernández Rojas --- ...322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch | 33 +++++++++++++++++++++- ...01X-Enable-ChipCommon-UART-serial-console.patch | 4 +-- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch b/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch index 582ebba..1cb63ce 100644 --- a/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch +++ b/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch @@ -25,7 +25,7 @@ Signed-off-by: Rafał Miłecki dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb --- /dev/null +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts -@@ -0,0 +1,44 @@ +@@ -0,0 +1,75 @@ +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Asus RT-AC87U @@ -52,6 +52,37 @@ Signed-off-by: Rafał Miłecki + 0x88000000 0x08000000>; + }; + ++ axi@18000000 { ++ nand@28000 { ++ reg = <0x00028000 0x1000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ linux,part-probe = "bcm47xxpart"; ++ ++ partition@0 { ++ label = "boot"; ++ reg = <0x00000000 0x00080000>; ++ read-only; ++ }; ++ ++ partition@80000 { ++ label = "nvram"; ++ reg = <0x00080000 0x00180000>; ++ }; ++ ++ partition@280000 { ++ label = "firmware"; ++ reg = <0x00200000 0x07cc0000>; ++ }; ++ ++ partition@7ec0000 { ++ label = "asus"; ++ reg = <0x07ec0000 0x00140000>; ++ read-only; ++ }; ++ }; ++ }; ++ + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; diff --git a/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch b/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch index 205f8df..a96104b 100644 --- a/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch +++ b/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch @@ -130,8 +130,8 @@ Signed-off-by: Rafał Miłecki #address-cells = <1>; --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts -@@ -24,6 +24,18 @@ - 0x88000000 0x08000000>; +@@ -55,6 +55,18 @@ + }; }; + chipcommonA {