dts: ipq6018: Enable support for cp01

Change-Id: If849c9b741de0763726831b5818a9e7f5f9815c4
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
Antony Arun T 2019-03-08 11:03:18 +05:30
parent 3210ceb503
commit 57f9843498
3 changed files with 16 additions and 13 deletions

View file

@ -61,7 +61,7 @@ dtb-$(CONFIG_ARCH_IPQ40xx) += ipq40xx-dk01-c1.dtb \
ipq40xx-dk01-s1.dtb \
ipq40xx-dk06-c1.dtb
dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01.dtb \
dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01-c1.dtb \
ipq6018-emulation.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += \

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2019, 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
@ -14,12 +14,15 @@
/dts-v1/;
#include "ipq6018-soc.dtsi"
/ {
model ="QCA, IPQ6018-CP01";
compatible = "qca,ipq6018", "qca,ipq6018-cp01";
machid = <0x08010001>;
model ="QCA, IPQ6018-CP01-C1";
compatible = "qca,ipq6018", "qca,ipq6018-cp01-c1";
machid = <0x8030000>;
config_name = "config@cp01-c1";
aliases {
console = "/serial@78B3000";
console = "/serial@78B1000";
pci0 = "/pci@20000000";
usb0 = "/xhci@8a00000";
usb1 = "/xhci@7000000";
};
};

View file

@ -16,22 +16,22 @@
/ {
serial@78B3000 {
serial@78B1000 {
compatible = "qca,ipq-uartdm";
reg = <0x78B3000 0x200>;
reg = <0x78B1000 0x200>;
id = <4>;
bit_rate = <0xee>;
serial_gpio {
gpio1 {
gpio = <23>;
func = <2>;
gpio = <44>;
func = <1>;
pull = <GPIO_NO_PULL>;
oe = <GPIO_OE_ENABLE>;
};
gpio2 {
gpio = <24>;
func = <2>;
gpio = <45>;
func = <1>;
pull = <GPIO_NO_PULL>;
oe = <GPIO_OE_ENABLE>;
};