qcom-ipq8064-ea7500-v1.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "qcom-ipq8064-eax500.dtsi"
  3. / {
  4. model = "Linksys EA7500 V1 WiFi Router";
  5. compatible = "linksys,ea7500-v1", "qcom,ipq8064";
  6. memory@0 {
  7. reg = <0x42000000 0xe000000>;
  8. device_type = "memory";
  9. };
  10. aliases {
  11. led-boot = &led_power;
  12. led-failsafe = &led_power;
  13. led-running = &led_power;
  14. led-upgrade = &led_power;
  15. };
  16. chosen {
  17. /* look for root deviceblock nbr in this bootarg */
  18. find-rootblock = "ubi.mtd=";
  19. };
  20. keys {
  21. compatible = "gpio-keys";
  22. pinctrl-0 = <&button_pins>;
  23. pinctrl-names = "default";
  24. reset {
  25. label = "reset";
  26. gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
  27. linux,code = <KEY_RESTART>;
  28. debounce-interval = <60>;
  29. wakeup-source;
  30. };
  31. wps {
  32. label = "wps";
  33. gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
  34. linux,code = <KEY_WPS_BUTTON>;
  35. debounce-interval = <60>;
  36. wakeup-source;
  37. };
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. pinctrl-0 = <&led_pins>;
  42. pinctrl-names = "default";
  43. led_power: power {
  44. label = "white:power";
  45. gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
  46. default-state = "keep";
  47. };
  48. };
  49. };
  50. &qcom_pinmux {
  51. button_pins: button_pins {
  52. mux {
  53. pins = "gpio65", "gpio68";
  54. function = "gpio";
  55. drive-strength = <2>;
  56. bias-pull-up;
  57. };
  58. };
  59. led_pins: led_pins {
  60. mux {
  61. pins = "gpio6";
  62. function = "gpio";
  63. drive-strength = <2>;
  64. bias-pull-up;
  65. };
  66. };
  67. };
  68. &partitions {
  69. partition@5f80000 {
  70. label = "sysdiag";
  71. reg = <0x5f80000 0x100000>;
  72. };
  73. partition@6080000 {
  74. label = "syscfg";
  75. reg = <0x6080000 0x1f80000>;
  76. };
  77. };