bcm6328-comtrend-ar-5387un.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend AR-5387un";
  6. compatible = "comtrend,ar-5387un", "brcm,bcm6328";
  7. chosen {
  8. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. reset {
  17. label = "reset";
  18. gpios = <&pinctrl 23 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. inet_red {
  26. label = "AR-5387un:red:inet";
  27. gpios = <&pinctrl 1 0>;
  28. };
  29. power_red {
  30. label = "AR-5387un:red:power";
  31. gpios = <&pinctrl 4 0>;
  32. };
  33. inet_green {
  34. label = "AR-5387un:green:inet";
  35. gpios = <&pinctrl 7 0>;
  36. };
  37. power_green {
  38. label = "AR-5387un:green:power";
  39. gpios = <&pinctrl 8 0>;
  40. default-state = "on";
  41. };
  42. dsl_green {
  43. label = "AR-5387un:green:dsl";
  44. gpios = <&pinctrl 11 1>;
  45. };
  46. };
  47. };
  48. &hsspi {
  49. status = "ok";
  50. flash@0 {
  51. compatible = "jedec,spi-nor";
  52. spi-max-frequency = <16666667>;
  53. spi-tx-bus-width = <2>;
  54. spi-rx-bus-width = <2>;
  55. reg = <0>;
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. partitions {
  59. compatible = "fixed-partitions";
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. cfe@0 {
  63. reg = <0x000000 0x010000>;
  64. label = "cfe";
  65. read-only;
  66. };
  67. linux@10000 {
  68. reg = <0x010000 0xfe0000>;
  69. label = "linux";
  70. compatible = "brcm,bcm963xx-imagetag";
  71. };
  72. nvram@ff0000 {
  73. reg = <0xff0000 0x010000>;
  74. label = "nvram";
  75. };
  76. };
  77. };
  78. };
  79. &uart0 {
  80. status = "ok";
  81. };