bcm4708-netgear-r6250.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * Broadcom BCM470X / BCM5301X arm platform code.
  3. * DTS for Netgear R6250 V1
  4. *
  5. * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
  6. *
  7. * Licensed under the GNU/GPL. See COPYING for details.
  8. */
  9. /dts-v1/;
  10. #include "bcm4708.dtsi"
  11. #include "bcm5301x-nand-cs0-bch8.dtsi"
  12. / {
  13. compatible = "netgear,r6250v1", "brcm,bcm4708";
  14. model = "Netgear R6250 V1 (BCM4708)";
  15. chosen {
  16. bootargs = "console=ttyS0,115200 earlycon";
  17. };
  18. memory {
  19. reg = <0x00000000 0x08000000>;
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. logo {
  24. label = "bcm53xx:white:logo";
  25. gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
  26. linux,default-trigger = "default-on";
  27. };
  28. power0 {
  29. label = "bcm53xx:green:power";
  30. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  31. linux,default-trigger = "default-on";
  32. };
  33. power1 {
  34. label = "bcm53xx:amber:power";
  35. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  36. linux,default-trigger = "default-off";
  37. };
  38. usb {
  39. label = "bcm53xx:blue:usb";
  40. gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
  41. linux,default-trigger = "default-off";
  42. };
  43. wireless {
  44. label = "bcm53xx:blue:wireless";
  45. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  46. linux,default-trigger = "default-off";
  47. };
  48. };
  49. gpio-keys {
  50. compatible = "gpio-keys";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. wps {
  54. label = "WPS";
  55. linux,code = <KEY_WPS_BUTTON>;
  56. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  57. };
  58. rfkill {
  59. label = "WiFi";
  60. linux,code = <KEY_RFKILL>;
  61. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  62. };
  63. restart {
  64. label = "Reset";
  65. linux,code = <KEY_RESTART>;
  66. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  67. };
  68. };
  69. };
  70. &uart0 {
  71. status = "okay";
  72. };
  73. &usb3 {
  74. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  75. };
  76. &spi_nor {
  77. status = "okay";
  78. };