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	clocks = <&uart_clk>;
36	clock-names = "apb_pclk";
37};
38
39&uart1 {
40	status = "okay";
41	clocks = <&uart_clk>;
42	clock-names = "apb_pclk";
43};
44
45&piether {
46	status = "okay";
47	phy-handle = <&phy0>;
48	phy-mode = "rgmii-id";
49	clocks = <&clk300mhz>, <&clk125mhz>;
50	clock-names = "stmmaceth", "phy_ref_clk";
51
52	mdio0 {
53		#address-cells = <1>;
54		#size-cells = <0>;
55		compatible = "snps,dwmac-mdio";
56		phy0: ethernet-phy@1 {
57			device_type = "ethernet-phy";
58			reg = <0x1>;
59		};
60	};
61};
62
63&wdt {
64	status = "okay";
65	clocks = <&wdt_clk>;
66};
67
68&gpio {
69	status = "okay";
70};
71
72&pwm_mux {
73	groups = "pwm0_gpio16_grp", "pwm1_gpio17_grp", "pwm2_gpio18_grp", "pwm3_gpio19_grp";
74};
75
76&pwm {
77	status = "okay";
78};
79