ocelot_pcb123.dts 780 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /* Copyright (c) 2017 Microsemi Corporation */
  3. /dts-v1/;
  4. #include "ocelot.dtsi"
  5. / {
  6. compatible = "mscc,ocelot-pcb123", "mscc,ocelot";
  7. chosen {
  8. stdout-path = "serial0:115200n8";
  9. };
  10. memory@0 {
  11. device_type = "memory";
  12. reg = <0x0 0x0e000000>;
  13. };
  14. };
  15. &uart0 {
  16. status = "okay";
  17. };
  18. &uart2 {
  19. status = "okay";
  20. };
  21. &spi {
  22. status = "okay";
  23. flash@0 {
  24. compatible = "macronix,mx25l25635f", "jedec,spi-nor";
  25. spi-max-frequency = <20000000>;
  26. reg = <0>;
  27. };
  28. };
  29. &i2c {
  30. clock-frequency = <100000>;
  31. i2c-sda-hold-time-ns = <300>;
  32. status = "okay";
  33. };
  34. &mdio0 {
  35. status = "okay";
  36. };
  37. &port0 {
  38. phy-handle = <&phy0>;
  39. };
  40. &port1 {
  41. phy-handle = <&phy1>;
  42. };
  43. &port2 {
  44. phy-handle = <&phy2>;
  45. };
  46. &port3 {
  47. phy-handle = <&phy3>;
  48. };