diff --git a/arch/mips/dts/qemu-malta.dts b/arch/mips/dts/qemu-malta.dts index b6b69c4..67fe591 100644 --- a/arch/mips/dts/qemu-malta.dts +++ b/arch/mips/dts/qemu-malta.dts @@ -25,6 +25,14 @@ clock-frequency = <1843200>; }; + uart2: serial@bf000900 { + compatible = "ns16550a"; + reg = <0xbf000900 0x40>; + reg-shift = <3>; + /* no matter for emulated port */ + clock-frequency = <1843200>; + }; + nor0: flash@be000000 { #address-cells = <1>; #size-cells = <1>; diff --git a/arch/mips/mach-malta/include/mach/hardware.h b/arch/mips/mach-malta/include/mach/hardware.h index 9345a67..ba28cb8 100644 --- a/arch/mips/mach-malta/include/mach/hardware.h +++ b/arch/mips/mach-malta/include/mach/hardware.h @@ -20,6 +20,9 @@ #define MALTA_PIIX4_UART0 0xb80003f8 +#define MALTA_CBUS_UART 0xbf000900 +#define MALTA_CBUS_UART_SHIFT 3 + /* * Reset register. */