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:
parent
54b902a4cd
commit
fa87b008da
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "bcm4708.dtsi"
|
#include "bcm4709.dtsi"
|
||||||
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "bcm4708.dtsi"
|
#include "bcm4709.dtsi"
|
||||||
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "bcm4708.dtsi"
|
#include "bcm4709.dtsi"
|
||||||
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "bcm4708.dtsi"
|
#include "bcm4709.dtsi"
|
||||||
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -107,6 +107,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uart0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&usb2 {
|
&usb2 {
|
||||||
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
11
arch/arm/boot/dts/bcm4709.dtsi
Normal file
11
arch/arm/boot/dts/bcm4709.dtsi
Normal 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>;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user