mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
qca: ipq40xx: Adding dts support
Change-Id: Iae0cc3bf8f26c12123a3ff4316924230b762fe7c Signed-off-by: Akila N <akilan@codeaurora.org>
This commit is contained in:
parent
bbe6202f7c
commit
5e8042b958
2 changed files with 56 additions and 0 deletions
24
arch/arm/dts/ipq40xx-dk01.dts
Normal file
24
arch/arm/dts/ipq40xx-dk01.dts
Normal 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";
|
||||
};
|
||||
};
|
||||
|
||||
32
arch/arm/dts/ipq40xx-dk01.dtsi
Normal file
32
arch/arm/dts/ipq40xx-dk01.dtsi
Normal 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>;
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Add table
Reference in a new issue