diff mbox

[OpenWrt-Devel,5/6] bcm53xx: add ASUS RT-AC87U partitions

Message ID 1431773604-11788-6-git-send-email-noltari@gmail.com
State Rejected
Delegated to: Rafał Miłecki
Headers show

Commit Message

Álvaro Fernández Rojas May 16, 2015, 10:53 a.m. UTC
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 ...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(-)

Comments

Rafał Miłecki May 18, 2015, 3:10 p.m. UTC | #1
On 16 May 2015 at 12:53, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

With the previous patches nacked/rejected, it doesn't make sense to
apply this one.

I've commited workaround for RT-AC87U just to make it usable with the
upcoming CC release, see:
https://dev.openwrt.org/changeset/45694/

For the long term development we should focus on:
1) Mainline parsers splitters
2) Broadcom's NAND mainlined driver
3) Upstreaming TRX parser
diff mbox

Patch

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 <zajec5@gmail.com>
  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 <zajec5@gmail.com>
 +		       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 <zajec5@gmail.com>
  		#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 {