qcom-ipq8064-ea7500-v1.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. };
  29. wps {
  30. label = "wps";
  31. gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
  32. linux,code = <KEY_WPS_BUTTON>;
  33. };
  34. };
  35. leds {
  36. compatible = "gpio-leds";
  37. pinctrl-0 = <&led_pins>;
  38. pinctrl-names = "default";
  39. led_power: power {
  40. label = "white:power";
  41. gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
  42. default-state = "keep";
  43. };
  44. };
  45. };
  46. &qcom_pinmux {
  47. button_pins: button_pins {
  48. mux {
  49. pins = "gpio65", "gpio68";
  50. function = "gpio";
  51. drive-strength = <2>;
  52. bias-pull-up;
  53. };
  54. };
  55. led_pins: led_pins {
  56. mux {
  57. pins = "gpio6";
  58. function = "gpio";
  59. drive-strength = <2>;
  60. bias-pull-up;
  61. };
  62. };
  63. };
  64. &partitions {
  65. partition@5f80000 {
  66. label = "sysdiag";
  67. reg = <0x5f80000 0x100000>;
  68. };
  69. partition@6080000 {
  70. label = "syscfg";
  71. reg = <0x6080000 0x1f80000>;
  72. };
  73. };