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 | |
developer | e3c4a92 | 2019-09-25 17:45:36 +0800 | [diff] [blame^] | 29 | &pinctrl { |
| 30 | state_default: pin_state { |
| 31 | p0led { |
| 32 | groups = "p0led_a"; |
| 33 | function = "led"; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
| 37 | |
Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 38 | &uart2 { |
| 39 | status = "okay"; |
Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | &spi0 { |
| 43 | status = "okay"; |
| 44 | num-cs = <2>; |
| 45 | |
| 46 | spi-flash@0 { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 49 | compatible = "jedec,spi-nor"; |
Stefan Roese | 2052a93 | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 50 | spi-max-frequency = <25000000>; |
| 51 | reg = <0>; |
| 52 | }; |
| 53 | }; |
developer | e3c4a92 | 2019-09-25 17:45:36 +0800 | [diff] [blame^] | 54 | |
| 55 | ð { |
| 56 | mediatek,poll-link-phy = <0>; |
| 57 | }; |