Stefan Roese | b02f76a | 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 | b02f76a | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 25 | stdout-path = &uart2; |
| 26 | }; |
| 27 | }; |
| 28 | |
Weijie Gao | cff0b04 | 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 | b02f76a | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 38 | &uart2 { |
| 39 | status = "okay"; |
Stefan Roese | b02f76a | 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 | ffd4c7c | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 49 | compatible = "jedec,spi-nor"; |
Stefan Roese | b02f76a | 2018-08-16 15:27:30 +0200 | [diff] [blame] | 50 | spi-max-frequency = <25000000>; |
| 51 | reg = <0>; |
| 52 | }; |
| 53 | }; |
Weijie Gao | cff0b04 | 2019-09-25 17:45:36 +0800 | [diff] [blame] | 54 | |
| 55 | ð { |
Weijie Gao | 4e2ccca | 2019-09-25 17:45:41 +0800 | [diff] [blame] | 56 | pinctrl-names = "default"; |
| 57 | pinctrl-0 = <&ephy_iot_mode>; |
Weijie Gao | cff0b04 | 2019-09-25 17:45:36 +0800 | [diff] [blame] | 58 | mediatek,poll-link-phy = <0>; |
| 59 | }; |