blob: 2bcad6d201be1f6ffc87a166f239998aa05d3294 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Marek Vasut400df302016-05-06 20:10:41 +02002/*
3 * Copyright (C) 2016 Marek Vasut <marex@denx.de>
Marek Vasut400df302016-05-06 20:10:41 +02004 */
5
6/dts-v1/;
7#include "ar934x.dtsi"
8
9/ {
10 model = "TP-Link WDR4300 Board";
11 compatible = "tplink,wdr4300", "qca,ar934x";
12
13 aliases {
14 serial0 = &uart0;
15 spi0 = &spi0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21};
22
23&ehci0 {
24 status = "okay";
25};
26
27&gmac0 {
28 phy-mode = "rgmii";
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>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000038 compatible = "jedec,spi-nor";
Marek Vasut400df302016-05-06 20:10:41 +020039 memory-map = <0x1e000000 0x00800000>;
40 spi-max-frequency = <25000000>;
41 reg = <0>;
42 };
43};
44
45&uart0 {
46 clock-frequency = <40000000>;
47 status = "okay";
48};
49
50&xtal {
51 clock-frequency = <40000000>;
52};