Advertisement
juanjosepablos

Untitled

May 3rd, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. #include "bcm6368.dtsi"
  4.  
  5. #include <dt-bindings/input/input.h>
  6.  
  7. / {
  8. model = "Zyxel P870HNU-51b";
  9. compatible = "zyxel,p870hnu-51b", "brcm,bcm6368";
  10.  
  11. chosen {
  12. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  13. stdout-path = "serial0:115200n8";
  14. };
  15.  
  16. keys {
  17. compatible = "gpio-keys-polled";
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. poll-interval = <20>;
  21.  
  22. reset {
  23. label = "reset";
  24. gpios = <&pinctrl 34 1>;
  25. linux,code = <KEY_RESTART>;
  26. debounce-interval = <60>;
  27. };
  28.  
  29. wps {
  30. label = "wps";
  31. gpios = <&pinctrl 35 1>;
  32. linux,code = <KEY_WPS_BUTTON>;
  33. debounce-interval = <60>;
  34. };
  35. };
  36.  
  37. leds {
  38. compatible = "gpio-leds";
  39.  
  40. power_green {
  41. label = "P870HNU-51b:green:power";
  42. gpios = <&pinctrl 2 1>;
  43. default-state = "on";
  44. };
  45. dsl_green {
  46. label = "P870HNU-51b:green:dsl";
  47. gpios = <&pinctrl 23 1>;
  48. };
  49. inet_green {
  50. label = "P870HNU-51b:green:inet";
  51. gpios = <&pinctrl 5 1>;
  52. };
  53. wps_orange {
  54. label = "P870HNU-51b:orange:wps";
  55. gpios = <&pinctrl 24 1>;
  56. };
  57. inet_red {
  58. label = "P870HNU-51b:red:inet";
  59. gpios = <&pinctrl 33 0>;
  60. };
  61. };
  62. };
  63.  
  64. &pflash {
  65. status = "ok";
  66.  
  67. partitions {
  68. compatible = "fixed-partitions";
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71.  
  72. cfe@0 {
  73. label = "CFE";
  74. reg = <0x000000 0x020000>;
  75. read-only;
  76. };
  77.  
  78. linux@20000 {
  79. label = "linux";
  80. reg = <0x020000 0xfe0000>;
  81. compatible = "brcm,bcm963xx-imagetag";
  82. };
  83.  
  84. nvram@fe0000 {
  85. label = "nvram";
  86. reg = <0xfe0000 0x100000>;
  87. };
  88. };
  89. };
  90.  
  91. &pinctrl {
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&pinctrl_pci>;
  94. };
  95.  
  96. &uart0 {
  97. status = "ok";
  98. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement