bcm4709-asus-rt-ac87u.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Broadcom BCM470X / BCM5301X ARM platform code.
  4. * DTS for Asus RT-AC87U
  5. *
  6. * Copyright (C) 2015 Rafał Miłecki <[email protected]>
  7. */
  8. /dts-v1/;
  9. #include "bcm4709.dtsi"
  10. #include "bcm5301x-nand-cs0-bch8.dtsi"
  11. / {
  12. compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708";
  13. model = "Asus RT-AC87U";
  14. chosen {
  15. bootargs = "console=ttyS0,115200";
  16. };
  17. memory@0 {
  18. device_type = "memory";
  19. reg = <0x00000000 0x08000000>,
  20. <0x88000000 0x08000000>;
  21. };
  22. leds {
  23. compatible = "gpio-leds";
  24. wps {
  25. label = "bcm53xx:blue:wps";
  26. gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  27. };
  28. power {
  29. label = "bcm53xx:blue:power";
  30. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  31. linux,default-trigger = "default-on";
  32. };
  33. wan {
  34. label = "bcm53xx:red:wan";
  35. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  36. };
  37. };
  38. gpio-keys {
  39. compatible = "gpio-keys";
  40. button-wps {
  41. label = "WPS";
  42. linux,code = <KEY_WPS_BUTTON>;
  43. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  44. };
  45. button-restart {
  46. label = "Reset";
  47. linux,code = <KEY_RESTART>;
  48. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  49. };
  50. };
  51. };
  52. &usb3_phy {
  53. status = "okay";
  54. };
  55. &nandcs {
  56. partitions {
  57. compatible = "fixed-partitions";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. boot@0 {
  61. label = "boot";
  62. reg = <0x00000000 0x00080000>;
  63. read-only;
  64. };
  65. nvram@80000 {
  66. label = "nvram";
  67. reg = <0x00080000 0x00180000>;
  68. };
  69. firmware@200000 {
  70. label = "firmware";
  71. reg = <0x00200000 0x07cc0000>;
  72. compatible = "brcm,trx";
  73. };
  74. asus@7ec0000 {
  75. label = "asus";
  76. reg = <0x07ec0000 0x00140000>;
  77. read-only;
  78. };
  79. };
  80. };