ARM: BCM5301X: Enable UART on Netgear R8000

It was tested by LEDE users, all we need is to adjust clock frequency.
While we're at it create a separated DTS include file to share code with
other BCM4709 devices easier.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Rafał Miłecki 2016-09-21 22:58:33 +02:00 committed by Florian Fainelli
parent 54b902a4cd
commit fa87b008da
5 changed files with 19 additions and 4 deletions

View File

@ -9,7 +9,7 @@
/dts-v1/;
#include "bcm4708.dtsi"
#include "bcm4709.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"
/ {

View File

@ -9,7 +9,7 @@
/dts-v1/;
#include "bcm4708.dtsi"
#include "bcm4709.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"
/ {

View File

@ -9,7 +9,7 @@
/dts-v1/;
#include "bcm4708.dtsi"
#include "bcm4709.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"
/ {

View File

@ -9,7 +9,7 @@
/dts-v1/;
#include "bcm4708.dtsi"
#include "bcm4709.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"
/ {
@ -107,6 +107,10 @@
};
};
&uart0 {
status = "okay";
};
&usb2 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};

View File

@ -0,0 +1,11 @@
/*
* Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
*
* Licensed under the ISC license.
*/
#include "bcm4708.dtsi"
&uart0 {
clock-frequency = <125000000>;
};