dsl-2640b-b.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DSL-2640B rev B2";
  6. compatible = "d-link,dsl-2640b-b", "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 7 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. power_green {
  26. label = "D-4P-W:green:power";
  27. gpios = <&pinctrl 0 1>;
  28. default-state = "on";
  29. };
  30. status {
  31. label = "D-4P-W::status";
  32. gpios = <&pinctrl 3 1>;
  33. };
  34. inet_green {
  35. label = "D-4P-W:green:internet";
  36. gpios = <&pinctrl 4 1>;
  37. };
  38. inet_red {
  39. label = "D-4P-W:red:internet";
  40. gpios = <&pinctrl 5 1>;
  41. };
  42. };
  43. };
  44. &pflash {
  45. status = "ok";
  46. partitions {
  47. compatible = "fixed-partitions";
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. cfe@0 {
  51. label = "CFE";
  52. reg = <0x000000 0x010000>;
  53. read-only;
  54. };
  55. linux@10000 {
  56. label = "linux";
  57. reg = <0x010000 0x3e0000>;
  58. compatible = "brcm,bcm963xx-imagetag";
  59. };
  60. nvram@3f0000 {
  61. label = "nvram";
  62. reg = <0x3f0000 0x010000>;
  63. };
  64. };
  65. };
  66. &pinctrl {
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
  69. };
  70. &uart0 {
  71. status = "ok";
  72. };