ARM: realview: add FPGA UART4 to PB1176 DTS
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Oct 2014 13:11:31 +0000 (15:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Oct 2014 11:49:12 +0000 (13:49 +0200)
This adds the UART4 found on the FPGA to the PB1176 DTS
file.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/arm-realview-pb1176.dts

index 313a717..ac4c1c8 100644 (file)
@@ -35,6 +35,7 @@
                serial1 = &pb1176_serial1;
                serial2 = &pb1176_serial2;
                serial3 = &pb1176_serial3;
+               serial4 = &fpga_serial;
        };
 
        memory {
                        clock-names = "apb_pclk";
                };
 
+               fpga_serial: serial@10009000 {
+                       compatible = "arm,pl011", "arm,primecell";
+                       reg = <0x10009000 0x1000>;
+                       interrupt-parent = <&intc_fpga1176>;
+                       interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&uartclk>, <&pclk>;
+                       clock-names = "uartclk", "apb_pclk";
+               };
+
                /* This GIC on the board is cascaded off the DevChip GIC */
                intc_fpga1176: interrupt-controller@10040000 {
                        compatible = "arm,arm1176jzf-devchip-gic", "arm,arm11mp-gic";
                        clocks = <&pclk>;
                        clock-names = "apb_pclk";
                };
+
+
        };
 };