bcm47081-asus-rt-n18u.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Broadcom BCM470X / BCM5301X ARM platform code.
  4. * DTS for Asus RT-N18U
  5. *
  6. * Copyright (C) 2014 Rafał Miłecki <[email protected]>
  7. */
  8. /dts-v1/;
  9. #include "bcm47081.dtsi"
  10. #include "bcm5301x-nand-cs0-bch8.dtsi"
  11. / {
  12. compatible = "asus,rt-n18u", "brcm,bcm47081", "brcm,bcm4708";
  13. model = "Asus RT-N18U (BCM47081)";
  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. power {
  25. label = "bcm53xx:blue:power";
  26. gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
  27. linux,default-trigger = "default-on";
  28. };
  29. usb2 {
  30. label = "bcm53xx:blue:usb2";
  31. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  32. };
  33. wan {
  34. label = "bcm53xx:blue:wan";
  35. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  36. linux,default-trigger = "default-on";
  37. };
  38. lan {
  39. label = "bcm53xx:blue:lan";
  40. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  41. linux,default-trigger = "default-on";
  42. };
  43. usb3 {
  44. label = "bcm53xx:blue:usb3";
  45. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  46. };
  47. };
  48. gpio-keys {
  49. compatible = "gpio-keys";
  50. button-restart {
  51. label = "Reset";
  52. linux,code = <KEY_RESTART>;
  53. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  54. };
  55. button-wps {
  56. label = "WPS";
  57. linux,code = <KEY_WPS_BUTTON>;
  58. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  59. };
  60. };
  61. };
  62. &usb3_phy {
  63. status = "okay";
  64. };