brcm63xx: add uart nodes
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 31 Jul 2017 09:08:20 +0000 (11:08 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 16 Dec 2017 11:57:05 +0000 (12:57 +0100)
Now that we can register uarts through device-tree, add them to the dtsi
files.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
target/linux/brcm63xx/dts/bcm3368.dtsi
target/linux/brcm63xx/dts/bcm6318.dtsi
target/linux/brcm63xx/dts/bcm63268.dtsi
target/linux/brcm63xx/dts/bcm6328.dtsi
target/linux/brcm63xx/dts/bcm6338.dtsi
target/linux/brcm63xx/dts/bcm6345.dtsi
target/linux/brcm63xx/dts/bcm6348.dtsi
target/linux/brcm63xx/dts/bcm6358.dtsi
target/linux/brcm63xx/dts/bcm6362.dtsi
target/linux/brcm63xx/dts/bcm6368.dtsi

index 29dae01..66cb6ab 100644 (file)
@@ -7,6 +7,8 @@
                pflash = &pflash;
                gpio0 = &gpio0;
                gpio1 = &gpio1;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi0 = &lsspi;
        };
 
                        #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>;
index 7c45051..a902c1b 100644 (file)
@@ -5,6 +5,7 @@
 
        aliases {
                pinctrl = &pinctrl;
+               serial0 = &uart0;
                spi1 = &hsspi;
        };
 
                        };
                };
 
+               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>;
index 94c7dd0..1b4b3e6 100644 (file)
@@ -5,6 +5,8 @@
 
        aliases {
                pinctrl = &pinctrl;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi0 = &lsspi;
                spi1 = &hsspi;
        };
                        };
                };
 
+               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>;
index 7a79aed..d08b6ba 100644 (file)
@@ -5,6 +5,8 @@
 
        aliases {
                pinctrl = &pinctrl;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi1 = &hsspi;
        };
 
                        };
                };
 
+               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>;
index 1811acf..3d1c068 100644 (file)
@@ -6,6 +6,7 @@
        aliases {
                pflash = &pflash;
                gpio0 = &gpio0;
+               serial0 = &uart0;
                spi0 = &lsspi;
        };
 
                        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>;
index b16c132..7d5f79b 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>;
index b6dafee..f3e17be 100644 (file)
@@ -6,6 +6,7 @@
        aliases {
                pflash = &pflash;
                pinctrl = &pinctrl;
+               serial0 = &uart0;
                spi0 = &lsspi;
        };
 
                        };
                };
 
+               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>;
index 8feb3dd..a78cdef 100644 (file)
@@ -6,6 +6,8 @@
        aliases {
                pflash = &pflash;
                pinctrl = &pinctrl;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi0 = &lsspi;
        };
 
                        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>;
index 076fc6a..2ff5c52 100644 (file)
@@ -5,6 +5,8 @@
 
        aliases {
                pinctrl = &pinctrl;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi0 = &lsspi;
                spi1 = &hsspi;
        };
                        };
                };
 
+               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>;
index 3efe76c..b834f9e 100644 (file)
@@ -6,6 +6,8 @@
        aliases {
                pflash = &pflash;
                pinctrl = &pinctrl;
+               serial0 = &uart0;
+               serial1 = &uart1;
                spi0 = &lsspi;
        };
 
                        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>;