hihope-rzg2-ex.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. aliases {
  9. ethernet0 = &avb;
  10. };
  11. chosen {
  12. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  13. };
  14. };
  15. &avb {
  16. pinctrl-0 = <&avb_pins>;
  17. pinctrl-names = "default";
  18. phy-handle = <&phy0>;
  19. tx-internal-delay-ps = <2000>;
  20. rx-internal-delay-ps = <1800>;
  21. status = "okay";
  22. phy0: ethernet-phy@0 {
  23. compatible = "ethernet-phy-id001c.c915",
  24. "ethernet-phy-ieee802.3-c22";
  25. reg = <0>;
  26. interrupt-parent = <&gpio2>;
  27. interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  28. reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
  29. };
  30. };
  31. &can0 {
  32. pinctrl-0 = <&can0_pins>;
  33. pinctrl-names = "default";
  34. status = "okay";
  35. };
  36. &can1 {
  37. pinctrl-0 = <&can1_pins>;
  38. pinctrl-names = "default";
  39. status = "okay";
  40. };
  41. &pciec0 {
  42. status = "okay";
  43. };
  44. &pfc {
  45. pinctrl-0 = <&scif_clk_pins>;
  46. pinctrl-names = "default";
  47. avb_pins: avb {
  48. mux {
  49. groups = "avb_link", "avb_mdio", "avb_mii";
  50. function = "avb";
  51. };
  52. pins_mdio {
  53. groups = "avb_mdio";
  54. drive-strength = <24>;
  55. };
  56. pins_mii_tx {
  57. pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
  58. "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
  59. drive-strength = <12>;
  60. };
  61. };
  62. can0_pins: can0 {
  63. groups = "can0_data_a";
  64. function = "can0";
  65. };
  66. can1_pins: can1 {
  67. groups = "can1_data";
  68. function = "can1";
  69. };
  70. pwm0_pins: pwm0 {
  71. groups = "pwm0";
  72. function = "pwm0";
  73. };
  74. };
  75. &pwm0 {
  76. pinctrl-0 = <&pwm0_pins>;
  77. pinctrl-names = "default";
  78. status = "okay";
  79. };