Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | 400df30 | 2016-05-06 20:10:41 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Marek Vasut <marex@denx.de> |
Marek Vasut | 400df30 | 2016-05-06 20:10:41 +0200 | [diff] [blame] | 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>; |
Neil Armstrong | ffd4c7c | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 38 | compatible = "jedec,spi-nor"; |
Marek Vasut | 400df30 | 2016-05-06 20:10:41 +0200 | [diff] [blame] | 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 | }; |