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 = "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 35 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 36 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. gpio-leds {
  30. compatible = "gpio-leds";
  31. power_green {
  32. label = "P870HW-51a:green:power";
  33. gpios = <&pinctrl 0 0>;
  34. default-state = "on";
  35. };
  36. dsl_green {
  37. label = "P870HW-51a:green:dsl";
  38. gpios = <&pinctrl 2 1>;
  39. };
  40. inet_green {
  41. label = "P870HW-51a:green:inet";
  42. gpios = <&pinctrl 22 1>;
  43. };
  44. wps_orange {
  45. label = "P870HW-51a:orange:wps";
  46. gpios = <&pinctrl 24 1>;
  47. };
  48. inet_red {
  49. label = "P870HW-51a:red:inet";
  50. gpios = <&pinctrl 33 1>;
  51. };
  52. };
  53. };
  54. &pflash {
  55. status = "ok";
  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. };