mpfs-polarberry.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /* Copyright (c) 2020-2022 Microchip Technology Inc */
  3. /dts-v1/;
  4. #include "mpfs.dtsi"
  5. #include "mpfs-polarberry-fabric.dtsi"
  6. /* Clock frequency (in Hz) of the rtcclk */
  7. #define MTIMER_FREQ 1000000
  8. / {
  9. model = "Sundance PolarBerry";
  10. compatible = "sundance,polarberry", "microchip,mpfs";
  11. aliases {
  12. ethernet0 = &mac1;
  13. serial0 = &mmuart0;
  14. };
  15. chosen {
  16. stdout-path = "serial0:115200n8";
  17. };
  18. cpus {
  19. timebase-frequency = <MTIMER_FREQ>;
  20. };
  21. ddrc_cache_lo: memory@80000000 {
  22. device_type = "memory";
  23. reg = <0x0 0x80000000 0x0 0x2e000000>;
  24. };
  25. ddrc_cache_hi: memory@1000000000 {
  26. device_type = "memory";
  27. reg = <0x10 0x00000000 0x0 0xC0000000>;
  28. };
  29. };
  30. /*
  31. * phy0 is connected to mac0, but the port itself is on the (optional) carrier
  32. * board.
  33. */
  34. &mac0 {
  35. phy-mode = "sgmii";
  36. phy-handle = <&phy0>;
  37. status = "disabled";
  38. };
  39. &mac1 {
  40. phy-mode = "sgmii";
  41. phy-handle = <&phy1>;
  42. status = "okay";
  43. phy1: ethernet-phy@5 {
  44. reg = <5>;
  45. };
  46. phy0: ethernet-phy@4 {
  47. reg = <4>;
  48. };
  49. };
  50. &mbox {
  51. status = "okay";
  52. };
  53. &mmc {
  54. bus-width = <4>;
  55. disable-wp;
  56. cap-sd-highspeed;
  57. cap-mmc-highspeed;
  58. mmc-ddr-1_8v;
  59. mmc-hs200-1_8v;
  60. sd-uhs-sdr12;
  61. sd-uhs-sdr25;
  62. sd-uhs-sdr50;
  63. sd-uhs-sdr104;
  64. status = "okay";
  65. };
  66. &mmuart0 {
  67. status = "okay";
  68. };
  69. &refclk {
  70. clock-frequency = <125000000>;
  71. };
  72. &rtc {
  73. status = "okay";
  74. };
  75. &syscontroller {
  76. status = "okay";
  77. };