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

Álvaro Fernández Rojas noltari at gmail.com
Sat May 16 06:53:23 EDT 2015


Signed-off-by: Álvaro Fernández Rojas <noltari at 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(-)

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 at 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 at gmail.com>
 +		       0x88000000 0x08000000>;
 +	};
 +
++	axi at 18000000 {
++		nand at 28000 {
++			reg = <0x00028000 0x1000>;
++			#address-cells = <1>;
++			#size-cells = <1>;
++			linux,part-probe = "bcm47xxpart";
++
++			partition at 0 {
++				label = "boot";
++				reg = <0x00000000 0x00080000>;
++				read-only;
++			};
++
++			partition at 80000 {
++				label = "nvram";
++				reg = <0x00080000 0x00180000>;
++			};
++
++			partition at 280000 {
++				label = "firmware";
++				reg = <0x00200000 0x07cc0000>;
++			};
++
++			partition at 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 at 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 {
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list