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