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	clocks = <&clk300mhz>, <&clk125mhz>;
46	clock-names = "stmmaceth", "phy_ref_clk";
47
48	mdio0 {
49		#address-cells = <1>;
50		#size-cells = <0>;
51		compatible = "snps,dwmac-mdio";
52		phy0: ethernet-phy@1 {
53			device_type = "ethernet-phy";
54			reg = <0x1>;
55		};
56	};
57};
58
59&wdt {
60	status = "okay";
61	clocks = <&wdt_clk>;
62};
63
64&gpio {
65	status = "okay";
66};
67
68&pwm_mux {
69	groups = "pwm0_gpio16_grp", "pwm1_gpio17_grp", "pwm2_gpio18_grp", "pwm3_gpio19_grp";
70};
71
72&pwm {
73	status = "okay";
74};
75
76&pcie {
77	status = "okay";
78	clocks = <&extclk100mhz>, <&clk600mhz>, <&clk25mhz>;
79	clock-names = "ref", "core", "aux";
80};
81