aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/bcm6345.dtsi
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-07-31 11:08:20 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-16 12:57:05 +0100
commita3384088a212cb1458746624f016f93ff98135f3 (patch)
tree73f6f91f612b8eea612bd53c17e2b575152a6903 /target/linux/brcm63xx/dts/bcm6345.dtsi
parent5c69047aaf4f8d705cb09cbcf67747c04adef6a1 (diff)
downloadupstream-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/bcm6345.dtsi')
-rw-r--r--target/linux/brcm63xx/dts/bcm6345.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm6345.dtsi b/target/linux/brcm63xx/dts/bcm6345.dtsi
index b16c132cea..7d5f79be35 100644
--- a/target/linux/brcm63xx/dts/bcm6345.dtsi
+++ b/target/linux/brcm63xx/dts/bcm6345.dtsi
@@ -5,6 +5,7 @@
aliases {
pflash = &pflash;
+ serial0 = &uart0;
gpio0 = &gpio0;
};
@@ -67,6 +68,19 @@
interrupts = <3>, <4>, <5>, <6>;
};
+ uart0: serial@fffe0300 {
+ compatible = "brcm,bcm6345-uart";
+ reg = <0xfffe0300 0x18>;
+
+ interrupt-parent = <&periph_intc>;
+ interrupts = <2>;
+
+ /* clocks = <&periph_clk>; */
+ /* clock-names = "refclk"; */
+
+ status = "disabled";
+ };
+
gpio0: gpio-controller@fffe0404 {
compatible = "brcm,bcm6345-gpio";
reg = <0xfffe0404 4>, <0xfffe0408 4>;