Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the RZ/G2[HMN] HiHope sub board common parts
0004  *
0005  * Copyright (C) 2019 Renesas Electronics Corp.
0006  */
0007 
0008 / {
0009         aliases {
0010                 ethernet0 = &avb;
0011         };
0012 
0013         chosen {
0014                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
0015         };
0016 };
0017 
0018 &avb {
0019         pinctrl-0 = <&avb_pins>;
0020         pinctrl-names = "default";
0021         phy-handle = <&phy0>;
0022         tx-internal-delay-ps = <2000>;
0023         rx-internal-delay-ps = <1800>;
0024         status = "okay";
0025 
0026         phy0: ethernet-phy@0 {
0027                 compatible = "ethernet-phy-id001c.c915",
0028                              "ethernet-phy-ieee802.3-c22";
0029                 reg = <0>;
0030                 interrupt-parent = <&gpio2>;
0031                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
0032                 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
0033         };
0034 };
0035 
0036 &can0 {
0037         pinctrl-0 = <&can0_pins>;
0038         pinctrl-names = "default";
0039         status = "okay";
0040 };
0041 
0042 &can1 {
0043         pinctrl-0 = <&can1_pins>;
0044         pinctrl-names = "default";
0045         status = "okay";
0046 };
0047 
0048 &pciec0 {
0049         status = "okay";
0050 };
0051 
0052 &pfc {
0053         pinctrl-0 = <&scif_clk_pins>;
0054         pinctrl-names = "default";
0055 
0056         avb_pins: avb {
0057                 mux {
0058                         groups = "avb_link", "avb_mdio", "avb_mii";
0059                         function = "avb";
0060                 };
0061 
0062                 pins_mdio {
0063                         groups = "avb_mdio";
0064                         drive-strength = <24>;
0065                 };
0066 
0067                 pins_mii_tx {
0068                         pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
0069                                "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
0070                         drive-strength = <12>;
0071                 };
0072         };
0073 
0074         can0_pins: can0 {
0075                 groups = "can0_data_a";
0076                 function = "can0";
0077         };
0078 
0079         can1_pins: can1 {
0080                 groups = "can1_data";
0081                 function = "can1";
0082         };
0083 
0084         pwm0_pins: pwm0 {
0085                 groups = "pwm0";
0086                 function = "pwm0";
0087         };
0088 };
0089 
0090 &pwm0 {
0091         pinctrl-0 = <&pwm0_pins>;
0092         pinctrl-names = "default";
0093 
0094         status = "okay";
0095 };