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 9b562ce1a926d1e9f8b62d0d1fd79ab60037e7e3..86025c10eb8bc73f5d69b1e54b13c352ba7b7bad 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 5a63601fa123ba481c03212013015ac07877bf19..c5e6d32d5a503a67372f3c5e29d2dc180f28a721 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 2c17e882c5f513e390b35593b5bb7b45680177c2..5fe4288576c88d710d5d694a1faa652dbe524245 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 044fb806072ae1e6fd69a1c44e0c4cb16fbf43d4..02856d0b87ecb65fcf8e02280b175aa1ff609696 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 c8171fffc472b9eacc89ada496c89d58bb55788a..9ca76b3d4c2b59d88a9764f9a1bd4d4b7f4229af 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 9b562ce1a926d1e9f8b62d0d1fd79ab60037e7e3..86025c10eb8bc73f5d69b1e54b13c352ba7b7bad 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 5a63601fa123ba481c03212013015ac07877bf19..c5e6d32d5a503a67372f3c5e29d2dc180f28a721 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 2c17e882c5f513e390b35593b5bb7b45680177c2..5fe4288576c88d710d5d694a1faa652dbe524245 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>;
+ };