xref: /linux/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi (revision 56fb34d86e875dbb0d3e6a81c5d3d035db373031)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the RZ/G2[MN] HiHope sub board common parts
4 *
5 * Copyright (C) 2019 Renesas Electronics Corp.
6 */
7
8/ {
9	aliases {
10		ethernet0 = &avb;
11	};
12
13	chosen {
14		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
15	};
16};
17
18&avb {
19	pinctrl-0 = <&avb_pins>;
20	pinctrl-names = "default";
21	phy-handle = <&phy0>;
22	phy-mode = "rgmii-txid";
23	status = "okay";
24
25	phy0: ethernet-phy@0 {
26		rxc-skew-ps = <1500>;
27		reg = <0>;
28		interrupt-parent = <&gpio2>;
29		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
30		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
31	};
32};
33
34&can0 {
35	pinctrl-0 = <&can0_pins>;
36	pinctrl-names = "default";
37	status = "okay";
38};
39
40&can1 {
41	pinctrl-0 = <&can1_pins>;
42	pinctrl-names = "default";
43	status = "okay";
44};
45
46&pciec0 {
47	status = "okay";
48};
49
50&pciec1 {
51	status = "okay";
52};
53
54&pfc {
55	pinctrl-0 = <&scif_clk_pins>;
56	pinctrl-names = "default";
57
58	avb_pins: avb {
59		mux {
60			groups = "avb_link", "avb_mdio", "avb_mii";
61			function = "avb";
62		};
63
64		pins_mdio {
65			groups = "avb_mdio";
66			drive-strength = <24>;
67		};
68
69		pins_mii_tx {
70			pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
71			       "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
72			drive-strength = <12>;
73		};
74	};
75
76	can0_pins: can0 {
77		groups = "can0_data_a";
78		function = "can0";
79	};
80
81	can1_pins: can1 {
82		groups = "can1_data";
83		function = "can1";
84	};
85};
86