p870hw-51a-v2.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Zyxel P870HW-51a v2";
  6. compatible = "zyxel,p870hw-51a-v2", "brcm,bcm6368";
  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 35 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 36 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. power_green {
  31. label = "P870HW-51a:green:power";
  32. gpios = <&pinctrl 0 0>;
  33. default-state = "on";
  34. };
  35. dsl_green {
  36. label = "P870HW-51a:green:dsl";
  37. gpios = <&pinctrl 2 1>;
  38. };
  39. inet_green {
  40. label = "P870HW-51a:green:inet";
  41. gpios = <&pinctrl 22 1>;
  42. };
  43. wps_orange {
  44. label = "P870HW-51a:orange:wps";
  45. gpios = <&pinctrl 24 1>;
  46. };
  47. inet_red {
  48. label = "P870HW-51a:red:inet";
  49. gpios = <&pinctrl 33 1>;
  50. };
  51. };
  52. };
  53. &pflash {
  54. status = "ok";
  55. linux,part-probe = "bcm63xxpart";
  56. partitions {
  57. compatible = "fixed-partitions";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. cfe@0 {
  61. label = "CFE";
  62. reg = <0x000000 0x010000>;
  63. read-only;
  64. };
  65. linux@10000 {
  66. label = "linux";
  67. reg = <0x010000 0x3e0000>;
  68. compatible = "brcm,bcm963xx-imagetag";
  69. };
  70. nvram@3f0000 {
  71. label = "nvram";
  72. reg = <0x3f0000 0x010000>;
  73. };
  74. };
  75. };
  76. &pinctrl {
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&pinctrl_pci>;
  79. };
  80. &uart0 {
  81. status = "ok";
  82. };