blob: ee99c3d17c857b639adbafd6f63316e805580231 [file] [log] [blame]
Stefan Roese115802d2018-08-16 15:27:31 +02001// 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 = "gardena,smart-gateway-mt7688", "ralink,mt7628a-soc";
12 model = "Gardena smart-Gateway-MT7688";
13
14 aliases {
15 serial0 = &uart0;
16 spi0 = &spi0;
17 };
18
19 memory@0 {
20 device_type = "memory";
21 reg = <0x0 0x08000000>;
22 };
23
24 chosen {
25 bootargs = "console=ttyS0,57600";
26 stdout-path = &uart0;
27 };
28};
29
30&uart0 {
31 status = "okay";
32 clock-frequency = <40000000>;
33};
34
35&spi0 {
36 status = "okay";
37 num-cs = <2>;
38
39 spi-flash@0 {
40 #address-cells = <1>;
41 #size-cells = <1>;
42 compatible = "spi-flash", "jedec,spi-nor";
43 spi-max-frequency = <40000000>;
44 reg = <0>;
45 };
46
47 spi-nand@1 {
48 #address-cells = <1>;
49 #size-cells = <1>;
50 compatible = "spi-nand";
51 spi-max-frequency = <40000000>;
52 reg = <1>;
53 };
54};