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>
owl
Jonas Gorski 2017-07-31 11:08:20 +02:00
parent 5c69047aaf
commit a3384088a2
10 changed files with 224 additions and 0 deletions

View File

@ -7,6 +7,8 @@
pflash = &pflash;
gpio0 = &gpio0;
gpio1 = &gpio1;
serial0 = &uart0;
serial1 = &uart1;
spi0 = &lsspi;
};
@ -93,6 +95,32 @@
#gpio-cells = <2>;
};
uart0: serial@fff8c100 {
compatible = "brcm,bcm6345-uart";
reg = <0xfff8c100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <2>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@fff8c120 {
compatible = "brcm,bcm6345-uart";
reg = <0xfff8c120 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <3>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
lsspi: spi@fff8c800 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -5,6 +5,7 @@
aliases {
pinctrl = &pinctrl;
serial0 = &uart0;
spi1 = &hsspi;
};
@ -166,6 +167,19 @@
};
};
uart0: serial@10000100 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <28>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
leds: led-controller@10000200 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -5,6 +5,8 @@
aliases {
pinctrl = &pinctrl;
serial0 = &uart0;
serial1 = &uart1;
spi0 = &lsspi;
spi1 = &hsspi;
};
@ -193,6 +195,32 @@
};
};
uart0: serial@10000180 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000180 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <5>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@100001a0 {
compatible = "brcm,bcm6345-uart";
reg = <0x100001a0 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <34>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
lsspi: spi@10000800 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -5,6 +5,8 @@
aliases {
pinctrl = &pinctrl;
serial0 = &uart0;
serial1 = &uart1;
spi1 = &hsspi;
};
@ -151,6 +153,32 @@
};
};
uart0: serial@10000100 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <28>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@10000120 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000120 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <39>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
leds: led-controller@10000800 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -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>;

View File

@ -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>;

View File

@ -6,6 +6,7 @@
aliases {
pflash = &pflash;
pinctrl = &pinctrl;
serial0 = &uart0;
spi0 = &lsspi;
};
@ -126,6 +127,19 @@
};
};
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>;

View File

@ -6,6 +6,8 @@
aliases {
pflash = &pflash;
pinctrl = &pinctrl;
serial0 = &uart0;
serial1 = &uart1;
spi0 = &lsspi;
};
@ -163,6 +165,32 @@
status = "disabled";
};
uart0: serial@fffe0100 {
compatible = "brcm,bcm6345-uart";
reg = <0xfffe0100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <2>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@fffe0120 {
compatible = "brcm,bcm6345-uart";
reg = <0xfffe0120 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <3>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
lsspi: spi@fffe0800 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -5,6 +5,8 @@
aliases {
pinctrl = &pinctrl;
serial0 = &uart0;
serial1 = &uart1;
spi0 = &lsspi;
spi1 = &hsspi;
};
@ -237,6 +239,32 @@
};
};
uart0: serial@10000100 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <3>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@10000120 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000120 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <4>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
lsspi: spi@10000800 {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -6,6 +6,8 @@
aliases {
pflash = &pflash;
pinctrl = &pinctrl;
serial0 = &uart0;
serial1 = &uart1;
spi0 = &lsspi;
};
@ -270,6 +272,32 @@
status = "disabled";
};
uart0: serial@10000100 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000100 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <2>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
uart1: serial@10000120 {
compatible = "brcm,bcm6345-uart";
reg = <0x10000120 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <3>;
/* clocks = <&periph_clk>; */
/* clock-names = "refclk"; */
status = "disabled";
};
lsspi: spi@10000800 {
#address-cells = <1>;
#size-cells = <0>;