1// 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) 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 tx-internal-delay-ps = <2000>; 23 rx-internal-delay-ps = <1800>; 24 status = "okay"; 25 26 phy0: ethernet-phy@0 { 27 compatible = "ethernet-phy-id001c.c915", 28 "ethernet-phy-ieee802.3-c22"; 29 reg = <0>; 30 interrupts-extended = <&gpio2 11 IRQ_TYPE_LEVEL_LOW>; 31 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 32 }; 33}; 34 35&can0 { 36 pinctrl-0 = <&can0_pins>; 37 pinctrl-names = "default"; 38 status = "okay"; 39}; 40 41&can1 { 42 pinctrl-0 = <&can1_pins>; 43 pinctrl-names = "default"; 44 status = "okay"; 45}; 46 47&pciec0 { 48 status = "okay"; 49}; 50 51&pfc { 52 pinctrl-0 = <&scif_clk_pins>; 53 pinctrl-names = "default"; 54 55 avb_pins: avb { 56 mux { 57 groups = "avb_link", "avb_mdio", "avb_mii"; 58 function = "avb"; 59 }; 60 61 pins_mdio { 62 groups = "avb_mdio"; 63 drive-strength = <24>; 64 }; 65 66 pins_mii_tx { 67 pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0", 68 "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3"; 69 drive-strength = <12>; 70 }; 71 }; 72 73 can0_pins: can0 { 74 groups = "can0_data_a"; 75 function = "can0"; 76 }; 77 78 can1_pins: can1 { 79 groups = "can1_data"; 80 function = "can1"; 81 }; 82 83 pwm0_pins: pwm0 { 84 groups = "pwm0"; 85 function = "pwm0"; 86 }; 87}; 88 89&pwm0 { 90 pinctrl-0 = <&pwm0_pins>; 91 pinctrl-names = "default"; 92 93 status = "okay"; 94}; 95