bcm47081-asus-rt-n18u.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 <zajec5@gmail.com>
  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 {
  18. reg = <0x00000000 0x08000000
  19. 0x88000000 0x08000000>;
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. power {
  24. label = "bcm53xx:blue:power";
  25. gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
  26. linux,default-trigger = "default-on";
  27. };
  28. usb2 {
  29. label = "bcm53xx:blue:usb2";
  30. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  31. };
  32. wan {
  33. label = "bcm53xx:blue:wan";
  34. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  35. linux,default-trigger = "default-on";
  36. };
  37. lan {
  38. label = "bcm53xx:blue:lan";
  39. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  40. linux,default-trigger = "default-on";
  41. };
  42. usb3 {
  43. label = "bcm53xx:blue:usb3";
  44. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  45. };
  46. };
  47. gpio-keys {
  48. compatible = "gpio-keys";
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. restart {
  52. label = "Reset";
  53. linux,code = <KEY_RESTART>;
  54. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  55. };
  56. wps {
  57. label = "WPS";
  58. linux,code = <KEY_WPS_BUTTON>;
  59. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  60. };
  61. };
  62. };
  63. &usb3_phy {
  64. status = "okay";
  65. };