xref: /linux/arch/arm64/boot/dts/renesas/r8a77980-condor.dts (revision 7a9706d25fe4707ee35be543f3e7ae01183ae86d)
1b9edbce9SSergei Shtylyov// SPDX-License-Identifier: GPL-2.0
2b9edbce9SSergei Shtylyov/*
3b9edbce9SSergei Shtylyov * Device Tree Source for the Condor board
4b9edbce9SSergei Shtylyov *
5b9edbce9SSergei Shtylyov * Copyright (C) 2018 Renesas Electronics Corp.
6b9edbce9SSergei Shtylyov * Copyright (C) 2018 Cogent Embedded, Inc.
7b9edbce9SSergei Shtylyov */
8b9edbce9SSergei Shtylyov
9b9edbce9SSergei Shtylyov/dts-v1/;
10b9edbce9SSergei Shtylyov#include "r8a77980.dtsi"
11b9edbce9SSergei Shtylyov
12b9edbce9SSergei Shtylyov/ {
13b9edbce9SSergei Shtylyov	model = "Renesas Condor board based on r8a77980";
14b9edbce9SSergei Shtylyov	compatible = "renesas,condor", "renesas,r8a77980";
15b9edbce9SSergei Shtylyov
16b9edbce9SSergei Shtylyov	aliases {
17b9edbce9SSergei Shtylyov		serial0 = &scif0;
188091788fSSergei Shtylyov		ethernet0 = &avb;
19b9edbce9SSergei Shtylyov	};
20b9edbce9SSergei Shtylyov
21b9edbce9SSergei Shtylyov	chosen {
22b9edbce9SSergei Shtylyov		stdout-path = "serial0:115200n8";
23b9edbce9SSergei Shtylyov	};
24b9edbce9SSergei Shtylyov
25b9edbce9SSergei Shtylyov	memory@48000000 {
26b9edbce9SSergei Shtylyov		device_type = "memory";
27b9edbce9SSergei Shtylyov		/* first 128MB is reserved for secure area. */
28b9edbce9SSergei Shtylyov		reg = <0 0x48000000 0 0x78000000>;
29b9edbce9SSergei Shtylyov	};
30cc922244SSergei Shtylyov
31cc922244SSergei Shtylyov	d3_3v: regulator-0 {
32cc922244SSergei Shtylyov		compatible = "regulator-fixed";
33cc922244SSergei Shtylyov		regulator-name = "D3.3V";
34cc922244SSergei Shtylyov		regulator-min-microvolt = <3300000>;
35cc922244SSergei Shtylyov		regulator-max-microvolt = <3300000>;
36cc922244SSergei Shtylyov		regulator-boot-on;
37cc922244SSergei Shtylyov		regulator-always-on;
38cc922244SSergei Shtylyov	};
39cc922244SSergei Shtylyov
40cc922244SSergei Shtylyov	vddq_vin01: regulator-1 {
41cc922244SSergei Shtylyov		compatible = "regulator-fixed";
42cc922244SSergei Shtylyov		regulator-name = "VDDQ_VIN01";
43cc922244SSergei Shtylyov		regulator-min-microvolt = <1800000>;
44cc922244SSergei Shtylyov		regulator-max-microvolt = <1800000>;
45cc922244SSergei Shtylyov		regulator-boot-on;
46cc922244SSergei Shtylyov		regulator-always-on;
47cc922244SSergei Shtylyov	};
48b9edbce9SSergei Shtylyov};
49b9edbce9SSergei Shtylyov
508091788fSSergei Shtylyov&avb {
5155cda281SSergei Shtylyov	pinctrl-0 = <&avb_pins>;
5255cda281SSergei Shtylyov	pinctrl-names = "default";
5355cda281SSergei Shtylyov
548091788fSSergei Shtylyov	phy-mode = "rgmii-id";
558091788fSSergei Shtylyov	phy-handle = <&phy0>;
568091788fSSergei Shtylyov	renesas,no-ether-link;
578091788fSSergei Shtylyov	status = "okay";
588091788fSSergei Shtylyov
598091788fSSergei Shtylyov	phy0: ethernet-phy@0 {
608091788fSSergei Shtylyov		rxc-skew-ps = <1500>;
618091788fSSergei Shtylyov		reg = <0>;
628091788fSSergei Shtylyov	};
638091788fSSergei Shtylyov};
648091788fSSergei Shtylyov
65*7a9706d2SSergei Shtylyov&canfd {
66*7a9706d2SSergei Shtylyov	pinctrl-0 = <&canfd0_pins>;
67*7a9706d2SSergei Shtylyov	pinctrl-names = "default";
68*7a9706d2SSergei Shtylyov	status = "okay";
69*7a9706d2SSergei Shtylyov
70*7a9706d2SSergei Shtylyov	channel0 {
71*7a9706d2SSergei Shtylyov		status = "okay";
72*7a9706d2SSergei Shtylyov	};
73*7a9706d2SSergei Shtylyov};
74*7a9706d2SSergei Shtylyov
75b9edbce9SSergei Shtylyov&extal_clk {
76b9edbce9SSergei Shtylyov	clock-frequency = <16666666>;
77b9edbce9SSergei Shtylyov};
78b9edbce9SSergei Shtylyov
79b9edbce9SSergei Shtylyov&extalr_clk {
80b9edbce9SSergei Shtylyov	clock-frequency = <32768>;
81b9edbce9SSergei Shtylyov};
82b9edbce9SSergei Shtylyov
83cc922244SSergei Shtylyov&mmc0 {
84cc922244SSergei Shtylyov	pinctrl-0 = <&mmc_pins>;
85cc922244SSergei Shtylyov	pinctrl-1 = <&mmc_pins_uhs>;
86cc922244SSergei Shtylyov	pinctrl-names = "default", "state_uhs";
87cc922244SSergei Shtylyov
88cc922244SSergei Shtylyov	vmmc-supply = <&d3_3v>;
89cc922244SSergei Shtylyov	vqmmc-supply = <&vddq_vin01>;
90cc922244SSergei Shtylyov	mmc-hs200-1_8v;
91cc922244SSergei Shtylyov	bus-width = <8>;
92cc922244SSergei Shtylyov	non-removable;
93cc922244SSergei Shtylyov	status = "okay";
94cc922244SSergei Shtylyov};
95cc922244SSergei Shtylyov
96a824e63cSSergei Shtylyov&pfc {
9755cda281SSergei Shtylyov	avb_pins: avb {
9855cda281SSergei Shtylyov		groups = "avb_mdio", "avb_rgmii";
9955cda281SSergei Shtylyov		function = "avb";
10055cda281SSergei Shtylyov	};
10155cda281SSergei Shtylyov
102*7a9706d2SSergei Shtylyov	canfd0_pins: canfd0 {
103*7a9706d2SSergei Shtylyov		groups = "canfd0_data_a";
104*7a9706d2SSergei Shtylyov		function = "canfd0";
105*7a9706d2SSergei Shtylyov	};
106*7a9706d2SSergei Shtylyov
107cc922244SSergei Shtylyov	mmc_pins: mmc {
108cc922244SSergei Shtylyov		groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
109cc922244SSergei Shtylyov		function = "mmc";
110cc922244SSergei Shtylyov		power-source = <3300>;
111cc922244SSergei Shtylyov	};
112cc922244SSergei Shtylyov
113cc922244SSergei Shtylyov	mmc_pins_uhs: mmc_uhs {
114cc922244SSergei Shtylyov		groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
115cc922244SSergei Shtylyov		function = "mmc";
116cc922244SSergei Shtylyov		power-source = <1800>;
117cc922244SSergei Shtylyov	};
118cc922244SSergei Shtylyov
119a824e63cSSergei Shtylyov	scif0_pins: scif0 {
120a824e63cSSergei Shtylyov		groups = "scif0_data";
121a824e63cSSergei Shtylyov		function = "scif0";
122a824e63cSSergei Shtylyov	};
123a824e63cSSergei Shtylyov
124a824e63cSSergei Shtylyov	scif_clk_pins: scif_clk {
125a824e63cSSergei Shtylyov		groups = "scif_clk_b";
126a824e63cSSergei Shtylyov		function = "scif_clk";
127a824e63cSSergei Shtylyov	};
128a824e63cSSergei Shtylyov};
129a824e63cSSergei Shtylyov
130b9edbce9SSergei Shtylyov&scif0 {
131a824e63cSSergei Shtylyov	pinctrl-0 = <&scif0_pins>, <&scif_clk_pins>;
132a824e63cSSergei Shtylyov	pinctrl-names = "default";
133a824e63cSSergei Shtylyov
134b9edbce9SSergei Shtylyov	status = "okay";
135b9edbce9SSergei Shtylyov};
136b9edbce9SSergei Shtylyov
137b9edbce9SSergei Shtylyov&scif_clk {
138b9edbce9SSergei Shtylyov	clock-frequency = <14745600>;
139b9edbce9SSergei Shtylyov};
140