diff options
author | Wills Wang <wills.wang@live.com> | 2016-03-16 16:59:59 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-05-21 01:25:50 +0200 |
commit | 6a7b52bc8d30090633d098f9e988276beb7a53d5 (patch) | |
tree | 1aaeb4e17dbba7a2602aabb811048e20225cf94e /arch/mips/dts/ap121.dts | |
parent | b85dc4607268ffc49af642ab702d44c8b5ef3719 (diff) | |
download | u-boot-imx-6a7b52bc8d30090633d098f9e988276beb7a53d5.zip u-boot-imx-6a7b52bc8d30090633d098f9e988276beb7a53d5.tar.gz u-boot-imx-6a7b52bc8d30090633d098f9e988276beb7a53d5.tar.bz2 |
mips: ath79: add AP121 reference board
This patch add board-level code and base DT for AP121.
Signed-off-by: Wills Wang <wills.wang@live.com>
[updated defconfig, enabled CONFIG_USE_PRIVATE_LIBGCC=y]
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/dts/ap121.dts')
-rw-r--r-- | arch/mips/dts/ap121.dts | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/mips/dts/ap121.dts b/arch/mips/dts/ap121.dts new file mode 100644 index 0000000..e31f601 --- /dev/null +++ b/arch/mips/dts/ap121.dts @@ -0,0 +1,43 @@ +/* + * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/dts-v1/; +#include "ar933x.dtsi" + +/ { + model = "AP121 Reference Board"; + compatible = "qca,ap121", "qca,ar933x"; + + aliases { + spi0 = &spi0; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&xtal { + clock-frequency = <25000000>; +}; + +&uart0 { + status = "okay"; +}; + +&spi0 { + spi-max-frequency = <25000000>; + status = "okay"; + spi-flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + memory-map = <0x9f000000 0x00800000>; + spi-max-frequency = <25000000>; + reg = <0>; + }; +}; |