ar7242.dtsi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. &mdio0 {
  30. resets = <&rst 22>;
  31. reset-names = "mdio";
  32. };
  33. &eth0 {
  34. compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
  35. pll-data = <0x16000000 0x00000101 0x00001616>;
  36. pll-reg = <0x4 0x2c 17>;
  37. pll-handle = <&pll>;
  38. resets = <&rst 9>;
  39. reset-names = "mac";
  40. };
  41. &mdio1 {
  42. resets = <&rst 23>;
  43. reset-names = "mdio";
  44. builtin-switch;
  45. builtin_switch: switch0@1f {
  46. compatible = "qca,ar8216-builtin";
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. reg = <0x1f>;
  50. resets = <&rst 8>;
  51. reset-names = "switch";
  52. };
  53. };
  54. &eth1 {
  55. compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
  56. resets = <&rst 13>;
  57. reset-names = "mac";
  58. phy-mode = "gmii";
  59. fixed-link {
  60. speed = <1000>;
  61. full-duplex;
  62. };
  63. };