bcm947189acdbmr.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Copyright (C) 2017 Broadcom
  3. * Author: Florian Fainelli <[email protected]>
  4. *
  5. * Licensed under the ISC license.
  6. */
  7. /dts-v1/;
  8. #include "bcm53573.dtsi"
  9. / {
  10. compatible = "brcm,bcm947189acdbmr", "brcm,bcm47189", "brcm,bcm53573";
  11. model = "Broadcom BCM947189ACDBMR";
  12. chosen {
  13. bootargs = "console=ttyS0,115200 earlycon";
  14. };
  15. memory@0 {
  16. device_type = "memory";
  17. reg = <0x00000000 0x08000000>;
  18. };
  19. leds {
  20. compatible = "gpio-leds";
  21. wps {
  22. label = "bcm53xx:blue:wps";
  23. gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
  24. };
  25. 5ghz {
  26. label = "bcm53xx:blue:5ghz";
  27. gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
  28. };
  29. 2ghz {
  30. label = "bcm53xx:blue:2ghz";
  31. gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
  32. };
  33. };
  34. gpio-keys {
  35. compatible = "gpio-keys";
  36. button-restart {
  37. label = "Reset";
  38. linux,code = <KEY_RESTART>;
  39. gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
  40. };
  41. button-wps {
  42. label = "WPS";
  43. linux,code = <KEY_WPS_BUTTON>;
  44. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  45. };
  46. };
  47. spi {
  48. compatible = "spi-gpio";
  49. num-chipselects = <1>;
  50. sck-gpios = <&chipcommon 21 0>;
  51. miso-gpios = <&chipcommon 22 0>;
  52. mosi-gpios = <&chipcommon 23 0>;
  53. cs-gpios = <&chipcommon 24 0>;
  54. #address-cells = <1>;
  55. #size-cells = <0>;
  56. /* External BCM6802 MoCA chip is connected */
  57. };
  58. };
  59. &pcie0 {
  60. ranges = <0x00000000 0 0 0 0 0x00100000>;
  61. #address-cells = <3>;
  62. #size-cells = <2>;
  63. bridge@0,0,0 {
  64. reg = <0x0000 0 0 0 0>;
  65. ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
  66. #address-cells = <3>;
  67. #size-cells = <2>;
  68. wifi@0,1,0 {
  69. reg = <0x0000 0 0 0 0>;
  70. ranges = <0x00000000 0 0 0 0x00100000>;
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. };
  74. };
  75. };
  76. &usb2 {
  77. vcc-gpio = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
  78. };