dsl-2640b-b.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 7 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. };
  23. gpio-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. linux,part-probe = "bcm63xxpart";
  47. partitions {
  48. compatible = "fixed-partitions";
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. cfe@0 {
  52. label = "CFE";
  53. reg = <0x000000 0x010000>;
  54. read-only;
  55. };
  56. linux@10000 {
  57. label = "linux";
  58. reg = <0x010000 0x3e0000>;
  59. compatible = "brcm,bcm963xx-imagetag";
  60. };
  61. nvram@3f0000 {
  62. label = "nvram";
  63. reg = <0x3f0000 0x010000>;
  64. };
  65. };
  66. };
  67. &pinctrl {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
  70. };
  71. &uart0 {
  72. status = "ok";
  73. };