[PATCH V3 4/4] ARM: bcm2835: add bcm2835-aux-uart support to default DT

kernel at martin.sperl.org kernel at martin.sperl.org
Sun Jan 17 04:15:31 PST 2016


From: Martin Sperl <kernel at martin.sperl.org>

Add bcm2835-aux-uart support to the default device tree.

Signed-off-by: Martin Sperl <kernel at martin.sperl.org>

Note that this requires the aux-clock patches to be applied first
and it may also conflict with the still pending merge of the
rename of bcm2835.dtsi.
---
 arch/arm/boot/dts/bcm2835.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index b37a088..bfd42ae 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -149,6 +149,13 @@
 			status = "disabled";
 		};
 
+		uart1: serial at 7e215040 {
+		       compatible = "brcm,bcm2835-aux-uart";
+		       reg = <0x7e215040 0x40>;
+		       interrupts = <1 29>;
+		       clocks = <&aux BCM2835_AUX_CLOCK_UART>;
+		};
+
 		sdhci: sdhci at 7e300000 {
 			compatible = "brcm,bcm2835-sdhci";
 			reg = <0x7e300000 0x100>;
-- 
1.7.10.4




More information about the linux-rpi-kernel mailing list