blob: a934a588ff586ad17e4eb16be63c99a87b6c82cd [file] [log] [blame]
Wills Wang6a7b52b2016-03-16 16:59:59 +08001/*
2 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7/dts-v1/;
8#include "ar933x.dtsi"
9
10/ {
11 model = "AP121 Reference Board";
12 compatible = "qca,ap121", "qca,ar933x";
13
14 aliases {
15 spi0 = &spi0;
16 serial0 = &uart0;
17 };
18
19 chosen {
20 stdout-path = "serial0:115200n8";
21 };
22};
23
24&xtal {
25 clock-frequency = <25000000>;
26};
27
28&uart0 {
29 status = "okay";
30};
31
32&spi0 {
33 spi-max-frequency = <25000000>;
34 status = "okay";
35 spi-flash@0 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 compatible = "spi-flash";
39 memory-map = <0x9f000000 0x00800000>;
40 spi-max-frequency = <25000000>;
41 reg = <0>;
42 };
43};
Wills Wang04583c62016-05-30 22:54:51 +080044
45&gmac0 {
46 phy-mode = "rmii";
47 status = "okay";
48};