1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree File for TMPV7708 RM main board
4 *
5 * (C) Copyright 2020, Toshiba Corporation.
6 * (C) Copyright 2020, Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
7 */
8
9/dts-v1/;
10
11#include "tmpv7708.dtsi"
12
13/ {
14	model = "Toshiba TMPV7708 RM main board";
15	compatible = "toshiba,tmpv7708-rm-mbrc", "toshiba,tmpv7708";
16
17	aliases {
18		serial0 = &uart0;
19		serial1 = &uart1;
20	};
21
22	chosen {
23		stdout-path = "serial0:115200n8";
24	};
25
26	/* 768MB memory */
27	memory@80000000 {
28		device_type = "memory";
29		reg = <0x0 0x80000000 0x0 0x30000000>;
30	};
31};
32
33&uart0 {
34	status = "okay";
35};
36
37&uart1 {
38	status = "okay";
39};
40
41&piether {
42	status = "okay";
43	phy-handle = <&phy0>;
44	phy-mode = "rgmii-id";
45
46	mdio0 {
47		#address-cells = <1>;
48		#size-cells = <0>;
49		compatible = "snps,dwmac-mdio";
50		phy0: ethernet-phy@1 {
51			device_type = "ethernet-phy";
52			reg = <0x1>;
53		};
54	};
55};
56
57&wdt {
58	status = "okay";
59};
60
61&gpio {
62	status = "okay";
63};
64
65&pwm_mux {
66	groups = "pwm0_gpio16_grp", "pwm1_gpio17_grp", "pwm2_gpio18_grp", "pwm3_gpio19_grp";
67};
68
69&pwm {
70	status = "okay";
71};
72
73&pcie {
74	status = "okay";
75};
76