bcm53xx: early support for Netgear R8000
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch
index b088c9b..bd8120d 100644 (file)
@@ -128,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>;
++              };
++      };
+ };