1*83d290c5STom Rini// SPDX-License-Identifier: GPL-2.0+
2400df309SMarek Vasut/*
3400df309SMarek Vasut * Copyright (C) 2016 Marek Vasut <marex@denx.de>
4400df309SMarek Vasut */
5400df309SMarek Vasut
6400df309SMarek Vasut/dts-v1/;
7400df309SMarek Vasut#include "ar934x.dtsi"
8400df309SMarek Vasut
9400df309SMarek Vasut/ {
10400df309SMarek Vasut	model = "TP-Link WDR4300 Board";
11400df309SMarek Vasut	compatible = "tplink,wdr4300", "qca,ar934x";
12400df309SMarek Vasut
13400df309SMarek Vasut	aliases {
14400df309SMarek Vasut		serial0 = &uart0;
15400df309SMarek Vasut		spi0 = &spi0;
16400df309SMarek Vasut	};
17400df309SMarek Vasut
18400df309SMarek Vasut	chosen {
19400df309SMarek Vasut		stdout-path = "serial0:115200n8";
20400df309SMarek Vasut	};
21400df309SMarek Vasut};
22400df309SMarek Vasut
23400df309SMarek Vasut&ehci0 {
24400df309SMarek Vasut	status = "okay";
25400df309SMarek Vasut};
26400df309SMarek Vasut
27400df309SMarek Vasut&gmac0 {
28400df309SMarek Vasut	phy-mode = "rgmii";
29400df309SMarek Vasut	status = "okay";
30400df309SMarek Vasut};
31400df309SMarek Vasut
32400df309SMarek Vasut&spi0 {
33400df309SMarek Vasut	spi-max-frequency = <25000000>;
34400df309SMarek Vasut	status = "okay";
35400df309SMarek Vasut	spi-flash@0 {
36400df309SMarek Vasut		#address-cells = <1>;
37400df309SMarek Vasut		#size-cells = <1>;
38400df309SMarek Vasut		compatible = "spi-flash";
39400df309SMarek Vasut		memory-map = <0x1e000000 0x00800000>;
40400df309SMarek Vasut		spi-max-frequency = <25000000>;
41400df309SMarek Vasut		reg = <0>;
42400df309SMarek Vasut	};
43400df309SMarek Vasut};
44400df309SMarek Vasut
45400df309SMarek Vasut&uart0 {
46400df309SMarek Vasut	clock-frequency = <40000000>;
47400df309SMarek Vasut	status = "okay";
48400df309SMarek Vasut};
49400df309SMarek Vasut
50400df309SMarek Vasut&xtal {
51400df309SMarek Vasut	clock-frequency = <40000000>;
52400df309SMarek Vasut};
53