diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-07-31 11:08:20 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-12-16 12:57:05 +0100 |
commit | a3384088a212cb1458746624f016f93ff98135f3 (patch) | |
tree | 73f6f91f612b8eea612bd53c17e2b575152a6903 /target/linux/brcm63xx/dts/bcm6338.dtsi | |
parent | 5c69047aaf4f8d705cb09cbcf67747c04adef6a1 (diff) | |
download | upstream-a3384088a212cb1458746624f016f93ff98135f3.tar.gz upstream-a3384088a212cb1458746624f016f93ff98135f3.tar.bz2 upstream-a3384088a212cb1458746624f016f93ff98135f3.zip |
brcm63xx: add uart nodes
Now that we can register uarts through device-tree, add them to the dtsi
files.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm6338.dtsi')
-rw-r--r-- | target/linux/brcm63xx/dts/bcm6338.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
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>; |