ipq6018: enable serial console support for emulation

Change-Id: I96bef704b2717a832a728c537f5693fbbf4ea658
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
Antony Arun T 2018-10-03 15:42:01 +05:30
parent 51ac77307a
commit b07bc61647
3 changed files with 33 additions and 1 deletions

View file

@ -58,6 +58,7 @@ dtb-$(CONFIG_ARCH_IPQ40xx) += ipq40xx-dk01-c1.dtb \
ipq40xx-dk06-c1.dtb
dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01.dtb \
ipq6018-emulation.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rk3288-firefly.dtb \

View file

@ -16,7 +16,7 @@
/ {
model ="QCA, IPQ6018-CP01";
compatible = "qca,ipq6018", "qca,ipq6018-cp01";
machid = <0x08010000>;
machid = <0x08010001>;
aliases {
console = "/serial@78B3000";

View file

@ -0,0 +1,31 @@
/*
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
#include "ipq6018-soc.dtsi"
/ {
model ="QCA, IPQ6018-EMULATION";
compatible = "qca,ipq6018", "qca,ipq6018-emulation";
machid = <0x08010000>;
aliases {
console = "/serial@78af000";
};
serial@78af000 {
compatible = "qca,ipq-uartdm";
reg = <0x78af000 0x200>;
id = <2>;
bit_rate = <0xff>;
status = "ok";
};
};