bcm53xx: add OpenWrt specific stuff for Netgear R7000
authorRafał Miłecki <zajec5@gmail.com>
Wed, 26 Aug 2015 15:21:07 +0000 (15:21 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 26 Aug 2015 15:21:07 +0000 (15:21 +0000)
This adds DT things that couldn't be upstreamed yet.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46731

target/linux/bcm53xx/patches-3.18/303-ARM-BCM5310X-Enable-earlyprintk-on-tested-devices.patch
target/linux/bcm53xx/patches-3.18/306-ARM-BCM5301X-Specify-RAM-on-devices-by-including-HIG.patch
target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch
target/linux/bcm53xx/patches-4.1/082-ARM-BCM5301X-Add-DT-for-Netgear-R7000.patch
target/linux/bcm53xx/patches-4.1/301-ARM-BCM5301X-Add-SPROM.patch
target/linux/bcm53xx/patches-4.1/303-ARM-BCM5310X-Enable-earlyprintk-on-tested-devices.patch
target/linux/bcm53xx/patches-4.1/306-ARM-BCM5301X-Specify-RAM-on-devices-by-including-HIG.patch
target/linux/bcm53xx/patches-4.1/351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch

index 9b562ce..86025c1 100644 (file)
@@ -145,4 +145,15 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +              bootargs = "console=ttyS0,115200 earlyprintk";
        };
  
+       memory {
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -17,7 +17,7 @@
+       model = "Netgear R7000";
+       chosen {
+-              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
+       };
        memory {
index 5a63601..c5e6d32 100644 (file)
@@ -158,4 +158,16 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +                     0x88000000 0x08000000>;
        };
  
+       leds {
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -21,7 +21,8 @@
+       };
+       memory {
+-              reg = <0x00000000 0x08000000>;
++              reg = <0x00000000 0x08000000
++                     0x88000000 0x08000000>;
+       };
        leds {
index 2c17e88..5fe4288 100644 (file)
@@ -101,3 +101,11 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      status = "okay";
 +      clock-frequency = <125000000>;
 +};
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -104,4 +104,5 @@
+ &uart0 {
+       status = "okay";
++      clock-frequency = <125000000>;
+ };
index 044fb80..02856d0 100644 (file)
@@ -9,7 +9,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 ---
 --- a/arch/arm/boot/dts/Makefile
 +++ b/arch/arm/boot/dts/Makefile
-@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
+@@ -68,6 +68,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
        bcm47081-buffalo-wzr-900dhp.dtb \
        bcm4709-asus-rt-ac87u.dtb \
        bcm4709-buffalo-wxr-1900dhp.dtb \
index c8171ff..9ca76b3 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 
 --- a/arch/arm/boot/dts/bcm5301x.dtsi
 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -98,6 +98,10 @@
+@@ -105,6 +105,10 @@
                };
        };
  
index 9b562ce..86025c1 100644 (file)
@@ -145,4 +145,15 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +              bootargs = "console=ttyS0,115200 earlyprintk";
        };
  
+       memory {
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -17,7 +17,7 @@
+       model = "Netgear R7000";
+       chosen {
+-              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
+       };
        memory {
index 5a63601..c5e6d32 100644 (file)
@@ -158,4 +158,16 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +                     0x88000000 0x08000000>;
        };
  
+       leds {
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -21,7 +21,8 @@
+       };
+       memory {
+-              reg = <0x00000000 0x08000000>;
++              reg = <0x00000000 0x08000000
++                     0x88000000 0x08000000>;
+       };
        leds {
index 2c17e88..5fe4288 100644 (file)
@@ -101,3 +101,11 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      status = "okay";
 +      clock-frequency = <125000000>;
 +};
+--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+@@ -104,4 +104,5 @@
+ &uart0 {
+       status = "okay";
++      clock-frequency = <125000000>;
+ };