r8a77990-ebisu.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Device Tree Source for the ebisu board
  4. *
  5. * Copyright (C) 2018 Renesas Electronics Corp.
  6. */
  7. /dts-v1/;
  8. #include "r8a77990.dtsi"
  9. #include <dt-bindings/gpio/gpio.h>
  10. / {
  11. model = "Renesas Ebisu board based on r8a77990";
  12. compatible = "renesas,ebisu", "renesas,r8a77990";
  13. aliases {
  14. serial0 = &scif2;
  15. ethernet0 = &avb;
  16. };
  17. chosen {
  18. bootargs = "ignore_loglevel";
  19. stdout-path = "serial0:115200n8";
  20. };
  21. memory@48000000 {
  22. device_type = "memory";
  23. /* first 128MB is reserved for secure area. */
  24. reg = <0x0 0x48000000 0x0 0x38000000>;
  25. };
  26. };
  27. &avb {
  28. pinctrl-0 = <&avb_pins>;
  29. pinctrl-names = "default";
  30. phy-handle = <&phy0>;
  31. phy-mode = "rgmii-txid";
  32. status = "okay";
  33. phy0: ethernet-phy@0 {
  34. rxc-skew-ps = <1500>;
  35. reg = <0>;
  36. interrupt-parent = <&gpio2>;
  37. interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
  38. reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
  39. };
  40. };
  41. &ehci0 {
  42. status = "okay";
  43. };
  44. &extal_clk {
  45. clock-frequency = <48000000>;
  46. };
  47. &ohci0 {
  48. status = "okay";
  49. };
  50. &pfc {
  51. avb_pins: avb {
  52. mux {
  53. groups = "avb_link", "avb_mii";
  54. function = "avb";
  55. };
  56. };
  57. usb0_pins: usb {
  58. groups = "usb0_b";
  59. function = "usb0";
  60. };
  61. usb30_pins: usb30 {
  62. groups = "usb30";
  63. function = "usb30";
  64. };
  65. };
  66. &rwdt {
  67. timeout-sec = <60>;
  68. status = "okay";
  69. };
  70. &scif2 {
  71. status = "okay";
  72. };
  73. &usb2_phy0 {
  74. pinctrl-0 = <&usb0_pins>;
  75. pinctrl-names = "default";
  76. status = "okay";
  77. };
  78. &xhci0 {
  79. pinctrl-0 = <&usb30_pins>;
  80. pinctrl-names = "default";
  81. status = "okay";
  82. };