xref: /openbmc/u-boot/arch/mips/dts/ap121.dts (revision be059e88)
1/*
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};
44
45&gmac0 {
46	phy-mode = "rmii";
47	status = "okay";
48};
49