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