bcm53xx: early support for Netgear R8000
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.14 / 351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch
index 225a4ec..f185592 100644 (file)
@@ -73,8 +73,46 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  
 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
-@@ -91,6 +91,16 @@
-               };
+@@ -24,6 +24,16 @@
+                      0x88000000 0x08000000>;
+       };
++      chipcommonA {
++              uart0: serial@0300 {
++                      status = "okay";
++              };
++
++              uart1: serial@0400 {
++                      status = "okay";
++              };
++      };
++
+       spi {
+               compatible = "spi-gpio";
+               num-chipselects = <1>;
+--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
++++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
+@@ -23,6 +23,16 @@
+               reg = <0x00000000 0x08000000>;
+       };
++      chipcommonA {
++              uart0: serial@0300 {
++                      status = "okay";
++              };
++
++              uart1: serial@0400 {
++                      status = "okay";
++              };
++      };
++
+       axi@18000000 {
+               nand@28000 {
+                       reg = <0x00028000 0x1000>;
+--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
++++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
+@@ -24,6 +24,16 @@
+                      0x88000000 0x08000000>;
        };
  
 +      chipcommonA {
@@ -90,3 +128,22 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
        gpio-keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
+--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
++++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
+@@ -23,4 +23,16 @@
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
+       };
++
++      chipcommonA {
++              uart0: serial@0300 {
++                      status = "okay";
++                      clock-frequency = <130000000>;
++              };
++
++              uart1: serial@0400 {
++                      status = "okay";
++                      clock-frequency = <130000000>;
++              };
++      };
+ };