Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Wills Wang | 8d8d2ed | 2016-03-16 16:59:59 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> |
Wills Wang | 8d8d2ed | 2016-03-16 16:59:59 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "ar933x.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "AP121 Reference Board"; |
| 11 | compatible = "qca,ap121", "qca,ar933x"; |
| 12 | |
| 13 | aliases { |
| 14 | spi0 = &spi0; |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &xtal { |
| 24 | clock-frequency = <25000000>; |
| 25 | }; |
| 26 | |
| 27 | &uart0 { |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
| 31 | &spi0 { |
| 32 | spi-max-frequency = <25000000>; |
| 33 | status = "okay"; |
| 34 | spi-flash@0 { |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <1>; |
| 37 | compatible = "spi-flash"; |
| 38 | memory-map = <0x9f000000 0x00800000>; |
| 39 | spi-max-frequency = <25000000>; |
| 40 | reg = <0>; |
| 41 | }; |
| 42 | }; |
Wills Wang | 56f0219 | 2016-05-30 22:54:51 +0800 | [diff] [blame] | 43 | |
| 44 | &gmac0 { |
| 45 | phy-mode = "rmii"; |
| 46 | status = "okay"; |
| 47 | }; |