bcm6361-sfr-neufbox-6-sercomm-r0.dts 1.7 KB

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