1*400df309SMarek Vasut/*
2*400df309SMarek Vasut * Copyright (C) 2016 Marek Vasut <marex@denx.de>
3*400df309SMarek Vasut *
4*400df309SMarek Vasut * SPDX-License-Identifier: GPL-2.0+
5*400df309SMarek Vasut */
6*400df309SMarek Vasut
7*400df309SMarek Vasut/dts-v1/;
8*400df309SMarek Vasut#include "ar934x.dtsi"
9*400df309SMarek Vasut
10*400df309SMarek Vasut/ {
11*400df309SMarek Vasut	model = "TP-Link WDR4300 Board";
12*400df309SMarek Vasut	compatible = "tplink,wdr4300", "qca,ar934x";
13*400df309SMarek Vasut
14*400df309SMarek Vasut	aliases {
15*400df309SMarek Vasut		serial0 = &uart0;
16*400df309SMarek Vasut		spi0 = &spi0;
17*400df309SMarek Vasut	};
18*400df309SMarek Vasut
19*400df309SMarek Vasut	chosen {
20*400df309SMarek Vasut		stdout-path = "serial0:115200n8";
21*400df309SMarek Vasut	};
22*400df309SMarek Vasut};
23*400df309SMarek Vasut
24*400df309SMarek Vasut&ehci0 {
25*400df309SMarek Vasut	status = "okay";
26*400df309SMarek Vasut};
27*400df309SMarek Vasut
28*400df309SMarek Vasut&gmac0 {
29*400df309SMarek Vasut	phy-mode = "rgmii";
30*400df309SMarek Vasut	status = "okay";
31*400df309SMarek Vasut};
32*400df309SMarek Vasut
33*400df309SMarek Vasut&spi0 {
34*400df309SMarek Vasut	spi-max-frequency = <25000000>;
35*400df309SMarek Vasut	status = "okay";
36*400df309SMarek Vasut	spi-flash@0 {
37*400df309SMarek Vasut		#address-cells = <1>;
38*400df309SMarek Vasut		#size-cells = <1>;
39*400df309SMarek Vasut		compatible = "spi-flash";
40*400df309SMarek Vasut		memory-map = <0x1e000000 0x00800000>;
41*400df309SMarek Vasut		spi-max-frequency = <25000000>;
42*400df309SMarek Vasut		reg = <0>;
43*400df309SMarek Vasut	};
44*400df309SMarek Vasut};
45*400df309SMarek Vasut
46*400df309SMarek Vasut&uart0 {
47*400df309SMarek Vasut	clock-frequency = <40000000>;
48*400df309SMarek Vasut	status = "okay";
49*400df309SMarek Vasut};
50*400df309SMarek Vasut
51*400df309SMarek Vasut&xtal {
52*400df309SMarek Vasut	clock-frequency = <40000000>;
53*400df309SMarek Vasut};
54