1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2016 Marek Vasut <marex@denx.de>
4 */
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>;
38		compatible = "spi-flash";
39		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};
53