brcm63xx: add uart nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6345.dtsi
index b16c132cea33d4b99891450616665f7b21446957..7d5f79be3512c23ba04d69ff303c2b5b4a55ac54 100644 (file)
@@ -5,6 +5,7 @@
 
        aliases {
                pflash = &pflash;
+               serial0 = &uart0;
                gpio0 = &gpio0;
        };
 
                        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>;