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 29dae01d7999d903b72b723718382c3234c3a612..66cb6ab8a8656699fda732fed2e539ac41e21970 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 7c4505157e4e88e551c94adfb1192b37d7ec01c1..a902c1bd57b45f79a2c448c3b978e8a6c4c021f4 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 94c7dd0138d8526a3ab3824353b79b3d4f118ab8..1b4b3e6178732565655d6009683e46b214f60a68 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 7a79aed26c2b642c60288eb2be8381ba50c8bac0..d08b6bab7a7fa62b2c2910bf3123c2c1167b5aa0 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 1811acfed80ed43f4afb8d34d5cc8734b4463481..3d1c068351ff7356cae087d489c540151008f9a6 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 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>;
index b6dafeeae3c677dd5f7aacd871bcc7bfc7c9223b..f3e17be53364a0567500fcdf97352ad83f5ea392 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 8feb3dd61ec36b7606b8681ab83d789c2cf82b20..a78cdef37378224866328802e3919bccc45797b5 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 076fc6a3ad5cd4fc3cc6d8ef44a742876ed298d0..2ff5c52ad7e353fab9d203325d783510724bfe2c 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 3efe76c6c76e42db9346d89eea52b5c1e2b45ca5..b834f9ef0f8bf58d582be95fc8b952f0ec26c5f8 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>;