Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Wills Wang | 80c8798 | 2016-03-16 17:00:00 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> |
Wills Wang | 80c8798 | 2016-03-16 17:00:00 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "qca953x.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "AP143 Reference Board"; |
| 11 | compatible = "qca,ap143", "qca,qca953x"; |
| 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>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 37 | compatible = "jedec,spi-nor"; |
Wills Wang | 80c8798 | 2016-03-16 17:00:00 +0800 | [diff] [blame] | 38 | memory-map = <0x9f000000 0x00800000>; |
| 39 | spi-max-frequency = <25000000>; |
| 40 | reg = <0>; |
| 41 | }; |
| 42 | }; |
Rosy Song | 7959cb1 | 2019-02-05 17:50:55 +0800 | [diff] [blame] | 43 | |
| 44 | &gmac1 { |
| 45 | status = "okay"; |
| 46 | phy-mode = "rgmii"; |
| 47 | }; |