blob: 1722290c731a529afa3832c4fcdf5970cbcc189c [file] [log] [blame]
Rosy Song61290fb2019-03-16 09:24:44 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018 Rosy Song <rosysong@rosinson.com>
4 */
5
6/dts-v1/;
7#include "qca956x.dtsi"
8
9/ {
10 model = "AP152 Reference Board";
11 compatible = "qca,ap152", "qca,qca956x";
12
13 aliases {
14 spi0 = &spi0;
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21};
22
23&gmac0 {
24 phy-mode = "sgmii";
25 status = "okay";
26};
27
28&xtal {
29 clock-frequency = <25000000>;
30};
31
32&uart0 {
33 clock-frequency = <25000000>;
34 status = "okay";
35};
36
37&spi0 {
38 spi-max-frequency = <25000000>;
39 status = "okay";
40 spi-flash@0 {
41 #address-cells = <1>;
42 #size-cells = <1>;
43 compatible = "spi-flash";
44 memory-map = <0x9f000000 0x01000000>;
45 spi-max-frequency = <25000000>;
46 reg = <0>;
47 };
48};