xref: /openbmc/u-boot/arch/arm/dts/mt7629-rfb.dts (revision cbd2fba1)
1/*
2 * Copyright (C) 2018 MediaTek Inc.
3 * Author: Ryder Lee <ryder.lee@mediatek.com>
4 *
5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 */
7
8/dts-v1/;
9#include "mt7629.dtsi"
10
11/ {
12	model = "MediaTek MT7629 RFB";
13	compatible = "mediatek,mt7629-rfb", "mediatek,mt7629";
14
15	aliases {
16		spi0 = &qspi;
17	};
18
19	chosen {
20		stdout-path = &uart0;
21		tick-timer = &timer0;
22	};
23};
24
25&pinctrl {
26	qspi_pins: qspi-pins {
27		mux {
28			function = "flash";
29			groups = "spi_nor";
30		};
31	};
32
33	uart0_pins: uart0-default {
34		mux {
35			function = "uart";
36			groups = "uart0_txd_rxd";
37		};
38	};
39
40	watchdog_pins: watchdog-default {
41		mux {
42			function = "watchdog";
43			groups = "watchdog";
44		};
45	};
46};
47
48&qspi {
49	pinctrl-names = "default";
50	pinctrl-0 = <&qspi_pins>;
51	status = "okay";
52
53	spi-flash@0{
54		compatible = "spi-flash";
55		reg = <0>;
56		u-boot,dm-pre-reloc;
57	};
58};
59
60&uart0 {
61	pinctrl-names = "default";
62	pinctrl-0 = <&uart0_pins>;
63	status = "okay";
64};
65
66&watchdog {
67	pinctrl-names = "default";
68	pinctrl-0 = <&watchdog_pins>;
69	status = "okay";
70};
71