ar7241.dtsi 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "ar724x.dtsi"
  3. / {
  4. usb_phy: usb-phy {
  5. compatible = "qca,ar7200-usb-phy";
  6. reset-names = "usb-phy", "usb-suspend-override";
  7. resets = <&rst 4>, <&rst 3>;
  8. #phy-cells = <0>;
  9. status = "disabled";
  10. };
  11. };
  12. &gpio {
  13. ngpios = <20>;
  14. };
  15. &ahb {
  16. usb: usb@1b000000 {
  17. compatible = "generic-ehci";
  18. reg = <0x1b000000 0x1000>;
  19. interrupts = <3>;
  20. resets = <&rst 5>;
  21. reset-names = "usb-host";
  22. has-transaction-translator;
  23. caps-offset = <0x100>;
  24. phy-names = "usb-phy";
  25. phys = <&usb_phy>;
  26. status = "disabled";
  27. };
  28. };
  29. &eth0 {
  30. compatible = "qca,ar7241-eth", "syscon";
  31. pll-data = <0x00110000 0x00001099 0x00991099>;
  32. resets = <&rst 9>;
  33. reset-names = "mac";
  34. phy-mode = "mii";
  35. phy-handle = <&swphy4>;
  36. };
  37. &mdio1 {
  38. status = "okay";
  39. resets = <&rst 23>;
  40. reset-names = "mdio";
  41. builtin-switch;
  42. builtin_switch: switch0@1f {
  43. compatible = "qca,ar8216-builtin";
  44. reg = <0x1f>;
  45. resets = <&rst 8>;
  46. reset-names = "switch";
  47. mdio-bus {
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. swphy4: ethernet-phy@4 {
  51. reg = <4>;
  52. phy-mode = "mii";
  53. };
  54. };
  55. };
  56. };
  57. &eth1 {
  58. compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
  59. pll-data = <0x00110000 0x00001099 0x00991099>;
  60. resets = <&rst 13>;
  61. reset-names = "mac";
  62. phy-mode = "gmii";
  63. fixed-link {
  64. speed = <1000>;
  65. full-duplex;
  66. };
  67. };