bcm6348-comtrend-ct-5365.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend CT-5365";
  6. compatible = "comtrend,ct-5365", "brcm,bcm6348";
  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 33 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wlan {
  23. label = "wlan";
  24. gpios = <&pinctrl 34 1>;
  25. linux,code = <KEY_WLAN>;
  26. debounce-interval = <60>;
  27. };
  28. wps {
  29. label = "wps";
  30. gpios = <&pinctrl 35 1>;
  31. linux,code = <KEY_WPS_BUTTON>;
  32. debounce-interval = <60>;
  33. };
  34. };
  35. leds {
  36. compatible = "gpio-leds";
  37. power_green {
  38. label = "96348A-122:green:power";
  39. gpios = <&pinctrl 0 1>;
  40. default-state = "on";
  41. };
  42. alarm_red {
  43. label = "96348A-122:red:alarm";
  44. gpios = <&pinctrl 2 1>;
  45. };
  46. wps_green {
  47. label = "96348A-122:green:wps";
  48. gpios = <&pinctrl 6 1>;
  49. };
  50. };
  51. };
  52. &pflash {
  53. status = "ok";
  54. partitions {
  55. compatible = "fixed-partitions";
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. cfe@0 {
  59. label = "CFE";
  60. reg = <0x000000 0x010000>;
  61. read-only;
  62. };
  63. linux@10000 {
  64. label = "linux";
  65. reg = <0x010000 0x3e0000>;
  66. compatible = "brcm,bcm963xx-imagetag";
  67. };
  68. nvram@3f0000 {
  69. label = "nvram";
  70. reg = <0x3f0000 0x010000>;
  71. };
  72. };
  73. };
  74. &pinctrl {
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
  77. };
  78. &uart0 {
  79. status = "ok";
  80. };