nb6-ser-r0.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /dts-v1/;
  2. #include "bcm6362.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "SFR neufbox 6 (Sercomm)";
  6. compatible = "sfr,nb6-ser-r0", "brcm,bcm6362";
  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. service {
  18. label = "service";
  19. gpios = <&pinctrl 10 1>;
  20. linux,code = <BTN_0>;
  21. };
  22. wlan {
  23. label = "wlan";
  24. gpios = <&pinctrl 12 1>;
  25. linux,code = <KEY_WLAN>;
  26. };
  27. reset {
  28. label = "reset";
  29. gpios = <&pinctrl 24 1>;
  30. linux,code = <KEY_RESTART>;
  31. };
  32. wps {
  33. label = "wps";
  34. gpios = <&pinctrl 25 1>;
  35. linux,code = <KEY_WPS_BUTTON>;
  36. };
  37. };
  38. switch {
  39. compatible = "realtek,rtl8367";
  40. gpio-sda = <&pinctrl 18 0>;
  41. gpio-sck = <&pinctrl 20 0>;
  42. realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
  43. };
  44. };
  45. &hsspi {
  46. status = "ok";
  47. flash@0 {
  48. compatible = "jedec,spi-nor";
  49. spi-max-frequency = <20000000>;
  50. spi-tx-bus-width = <2>;
  51. spi-rx-bus-width = <2>;
  52. reg = <0>;
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. linux,part-probe = "bcm63xxpart";
  56. partitions {
  57. compatible = "fixed-partitions";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. cfe@0 {
  61. reg = <0x000000 0x010000>;
  62. label = "cfe";
  63. read-only;
  64. };
  65. linux@10000 {
  66. reg = <0x010000 0xfe0000>;
  67. label = "linux";
  68. compatible = "brcm,bcm963xx-imagetag";
  69. };
  70. nvram@ff0000 {
  71. reg = <0xff0000 0x010000>;
  72. label = "nvram";
  73. };
  74. };
  75. };
  76. };
  77. &uart0 {
  78. status = "ok";
  79. };