blob: 7745012d4b82b122b48ac2dcefd3001a78f3f3ed [file] [log] [blame]
Biju Das32568ee2021-01-17 16:30:11 +00001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the RZ/G2[HMN] HiHope sub board common parts
4 *
5 * Copyright (C) 2021 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 reg = <0>;
27 interrupt-parent = <&gpio2>;
28 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
29 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
30 };
31};
32
33&can0 {
34 pinctrl-0 = <&can0_pins>;
35 pinctrl-names = "default";
36 status = "okay";
37};
38
39&can1 {
40 pinctrl-0 = <&can1_pins>;
41 pinctrl-names = "default";
42 status = "okay";
43};
44
45&pciec0 {
46 status = "okay";
47};
48
49&pfc {
50 pinctrl-0 = <&scif_clk_pins>;
51 pinctrl-names = "default";
52
53 avb_pins: avb {
54 mux {
55 groups = "avb_link", "avb_mdio", "avb_mii";
56 function = "avb";
57 };
58
59 pins_mdio {
60 groups = "avb_mdio";
61 drive-strength = <24>;
62 };
63
64 pins_mii_tx {
65 pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
66 "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
67 drive-strength = <12>;
68 };
69 };
70
71 can0_pins: can0 {
72 groups = "can0_data_a";
73 function = "can0";
74 };
75
76 can1_pins: can1 {
77 groups = "can1_data";
78 function = "can1";
79 };
80
81 pwm0_pins: pwm0 {
82 groups = "pwm0";
83 function = "pwm0";
84 };
85};
86
87&pwm0 {
88 pinctrl-0 = <&pwm0_pins>;
89 pinctrl-names = "default";
90
91 status = "okay";
92};