qcom-ipq8064-ap148.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. #include "qcom-ipq8064-v1.0.dtsi"
  2. / {
  3. model = "Qualcomm Technologies, Inc. IPQ8064/AP-148";
  4. compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
  5. memory@0 {
  6. reg = <0x42000000 0x1e000000>;
  7. device_type = "memory";
  8. };
  9. reserved-memory {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. ranges;
  13. rsvd@41200000 {
  14. reg = <0x41200000 0x300000>;
  15. no-map;
  16. };
  17. };
  18. aliases {
  19. mdio-gpio0 = &mdio0;
  20. };
  21. };
  22. &adm_dma {
  23. status = "okay";
  24. };
  25. &flash {
  26. partitions {
  27. compatible = "qcom,smem-part";
  28. };
  29. };
  30. &hs_phy_0 {
  31. status = "okay";
  32. };
  33. &ss_phy_0 {
  34. status = "okay";
  35. };
  36. &usb3_0 {
  37. status = "okay";
  38. };
  39. &hs_phy_1 {
  40. status = "okay";
  41. };
  42. &ss_phy_1 {
  43. status = "okay";
  44. };
  45. &usb3_1 {
  46. status = "okay";
  47. };
  48. &pcie0 {
  49. status = "okay";
  50. };
  51. &pcie1 {
  52. status = "okay";
  53. max-link-speed = <1>;
  54. };
  55. &nand {
  56. status = "okay";
  57. nand@0 {
  58. reg = <0>;
  59. compatible = "qcom,nandcs";
  60. nand-ecc-strength = <4>;
  61. nand-bus-width = <8>;
  62. nand-ecc-step-size = <512>;
  63. partitions {
  64. compatible = "qcom,smem-part";
  65. };
  66. };
  67. };
  68. &mdio0 {
  69. status = "okay";
  70. pinctrl-0 = <&mdio0_pins>;
  71. pinctrl-names = "default";
  72. phy0: ethernet-phy@0 {
  73. reg = <0>;
  74. qca,ar8327-initvals = <
  75. 0x00004 0x7600000 /* PAD0_MODE */
  76. 0x00008 0x1000000 /* PAD5_MODE */
  77. 0x0000c 0x80 /* PAD6_MODE */
  78. 0x000e4 0x6a545 /* MAC_POWER_SEL */
  79. 0x000e0 0xc74164de /* SGMII_CTRL */
  80. 0x0007c 0x4e /* PORT0_STATUS */
  81. 0x00094 0x4e /* PORT6_STATUS */
  82. >;
  83. };
  84. phy4: ethernet-phy@4 {
  85. reg = <4>;
  86. };
  87. };
  88. &gmac1 {
  89. status = "okay";
  90. phy-mode = "rgmii";
  91. qcom,id = <1>;
  92. pinctrl-0 = <&rgmii2_pins>;
  93. pinctrl-names = "default";
  94. fixed-link {
  95. speed = <1000>;
  96. full-duplex;
  97. };
  98. };
  99. &gmac2 {
  100. status = "okay";
  101. phy-mode = "sgmii";
  102. qcom,id = <2>;
  103. fixed-link {
  104. speed = <1000>;
  105. full-duplex;
  106. };
  107. };