p1010rdb.dtsi 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // SPDX-License-Identifier: GPL-2.0+ OR X11
  2. /*
  3. * P1010RDB Device Tree Source
  4. *
  5. * Copyright 2020 NXP
  6. */
  7. / {
  8. aliases {
  9. spi0 = &espi0;
  10. };
  11. };
  12. &soc {
  13. mdio@24000 {
  14. phy0: ethernet-phy@0 {
  15. reg = <0x1>;
  16. };
  17. phy1: ethernet-phy@1 {
  18. reg = <0x0>;
  19. };
  20. phy2: ethernet-phy@2 {
  21. reg = <0x2>;
  22. };
  23. tbi-phy@3 {
  24. device_type = "tbi-phy";
  25. reg = <0x3>;
  26. };
  27. };
  28. mdio@25000 {
  29. tbi0: tbi-phy@11 {
  30. reg = <0x11>;
  31. device_type = "tbi-phy";
  32. };
  33. };
  34. mdio@26000 {
  35. tbi1: tbi-phy@11 {
  36. reg = <0x11>;
  37. device_type = "tbi-phy";
  38. };
  39. };
  40. enet0: ethernet@b0000 {
  41. phy-handle = <&phy0>;
  42. phy-connection-type = "rgmii-id";
  43. };
  44. enet1: ethernet@b1000 {
  45. phy-handle = <&phy1>;
  46. tbi-handle = <&tbi0>;
  47. phy-connection-type = "sgmii";
  48. };
  49. enet2: ethernet@b2000 {
  50. phy-handle = <&phy2>;
  51. tbi-handle = <&tbi1>;
  52. phy-connection-type = "sgmii";
  53. };
  54. i2c@3000 {
  55. rtc@68 {
  56. compatible = "pericom,pt7c4338";
  57. reg = <0x68>;
  58. };
  59. };
  60. spi@7000 {
  61. status = "okay";
  62. flash@0 {
  63. compatible = "jedec,spi-nor";
  64. #address-cells = <1>;
  65. #size-cells = <1>;
  66. reg = <0>;
  67. spi-max-frequency = <10000000>; /* input clock */
  68. };
  69. };
  70. };