]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: edison: Add the rest of UARTs present on board
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 28 Feb 2019 08:10:07 +0000 (10:10 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 10 Mar 2019 00:17:00 +0000 (08:17 +0800)
Intel Edison has three UART ports, i.e.
 port 0 - Bluetooth
 port 1 - auxiliary, available for general purpose use
 port 2 - debugging, usually console output is here

Enable all of them for future use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/edison.dts

index c3a7ae467b0b3a62687c0c4b6c09dfe9eff0f670..e8564bbb8a92efca5679d48bbb2261886b1274c5 100644 (file)
@@ -17,6 +17,8 @@
        compatible = "intel,edison";
 
        aliases {
+               serial0 = &serial0;
+               serial1 = &serial1;
                serial2 = &serial2;
        };
 
                          0x01000000 0x0 0x2000 0x2000 0 0xe000>;
        };
 
+       serial0: serial@ff010080 {
+               compatible = "intel,mid-uart";
+               reg = <0xff010080 0x100>;
+               reg-shift = <0>;
+               clock-frequency = <29491200>;
+               current-speed = <115200>;
+       };
+
+       serial1: serial@ff010100 {
+               compatible = "intel,mid-uart";
+               reg = <0xff010100 0x100>;
+               reg-shift = <0>;
+               clock-frequency = <29491200>;
+               current-speed = <115200>;
+       };
+
        serial2: serial@ff010180 {
                compatible = "intel,mid-uart";
                reg = <0xff010180 0x100>;