From: Rafał Miłecki Date: Sat, 16 May 2015 11:45:52 +0000 (+0000) Subject: bcm53xx: enable RT-AC87U UART console X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=abed46aacca87540159121eedfcdfe0f843d8dfe;p=openwrt%2Fstaging%2Fmans0n.git bcm53xx: enable RT-AC87U UART console Signed-off-by: Álvaro Fernández Rojas SVN-Revision: 45690 --- diff --git a/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch b/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch index 00e64097f9..205f8df308 100644 --- a/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch +++ b/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch @@ -124,6 +124,27 @@ Signed-off-by: Rafał Miłecki + status = "okay"; + }; + }; ++ + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; +--- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts ++++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts +@@ -24,6 +24,18 @@ + 0x88000000 0x08000000>; + }; + ++ chipcommonA { ++ uart0: serial@0300 { ++ status = "okay"; ++ clock-frequency = <125000000>; ++ }; ++ ++ uart1: serial@0400 { ++ status = "okay"; ++ clock-frequency = <125000000>; ++ }; ++ }; + gpio-keys { compatible = "gpio-keys";