Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2018 Stefan Roese <sr@denx.de> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "mt7628a.dtsi" |
| 9 | |
| 10 | / { |
| 11 | compatible = "seeed,linkit-smart-7688", "ralink,mt7628a-soc"; |
| 12 | model = "LinkIt-Smart-7688"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart2; |
| 16 | spi0 = &spi0; |
| 17 | }; |
| 18 | |
| 19 | memory@0 { |
| 20 | device_type = "memory"; |
| 21 | reg = <0x0 0x08000000>; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 25 | stdout-path = &uart2; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &uart2 { |
| 30 | status = "okay"; |
| 31 | clock-frequency = <40000000>; |
| 32 | }; |
| 33 | |
| 34 | &spi0 { |
| 35 | status = "okay"; |
| 36 | num-cs = <2>; |
| 37 | |
| 38 | spi-flash@0 { |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 41 | compatible = "jedec,spi-nor"; |
Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 42 | spi-max-frequency = <25000000>; |
| 43 | reg = <0>; |
| 44 | }; |
| 45 | }; |