From a3384088a212cb1458746624f016f93ff98135f3 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 31 Jul 2017 11:08:20 +0200 Subject: brcm63xx: add uart nodes Now that we can register uarts through device-tree, add them to the dtsi files. Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/dts/bcm6338.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'target/linux/brcm63xx/dts/bcm6338.dtsi') diff --git a/target/linux/brcm63xx/dts/bcm6338.dtsi b/target/linux/brcm63xx/dts/bcm6338.dtsi index 1811acfed8..3d1c068351 100644 --- a/target/linux/brcm63xx/dts/bcm6338.dtsi +++ b/target/linux/brcm63xx/dts/bcm6338.dtsi @@ -6,6 +6,7 @@ aliases { pflash = &pflash; gpio0 = &gpio0; + serial0 = &uart0; spi0 = &lsspi; }; @@ -79,6 +80,19 @@ ngpios = <8>; }; + uart0: serial@fffe0300 { + compatible = "brcm,bcm6345-uart"; + reg = <0xfffe0300 0x18>; + + interrupt-parent = <&periph_intc>; + interrupts = <2>; + + /* clocks = <&periph_clk>; */ + /* clock-names = "refclk"; */ + + status = "disabled"; + }; + lsspi: spi@fffe0c00 { #address-cells = <1>; #size-cells = <0>; -- cgit v1.2.3