qca: ipq40xx: Adding dts support

Change-Id: Iae0cc3bf8f26c12123a3ff4316924230b762fe7c
Signed-off-by: Akila N <akilan@codeaurora.org>
This commit is contained in:
Akila N 2016-03-16 16:01:27 +05:30
parent bbe6202f7c
commit 5e8042b958
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2016, 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 "ipq40xx-dk01.dtsi"
/ {
model ="QCA, IPQ40xx-DK01";
compatible = "qca,ipq40xx", "qca,ipq40xx-dk01";
aliases {
console = "/serial@78af000";
};
};

View file

@ -0,0 +1,32 @@
/*
* Copyright (c) 2016, 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.
*/
#include "skeleton.dtsi"
/ {
serial@78af000 {
compatible = "qca,ipq-uartdm";
reg = <0x78af000 0x200>;
bit_rate = <0xff>;
id = <2>;
};
timer {
gcnt_base = <0x4a1000>;
gcnt_cntcv_lo = <0x4a2000>;
gcnt_cntcv_hi = <0x4a2004>;
gpt_freq_hz = <48000000>;
timer_load_val = <0x00FFFFFF 0xFFFFFFFF>;
};
};