ar-5381u.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend AR-5381u";
  6. compatible = "comtrend,ar-5381u", "brcm,bcm6328";
  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 23 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. alarm_red {
  26. label = "AR-5381u:red:alarm";
  27. gpios = <&pinctrl 2 1>;
  28. };
  29. inet_green {
  30. label = "AR-5381u:green:inet";
  31. gpios = <&pinctrl 3 1>;
  32. };
  33. power_green {
  34. label = "AR-5381u:green:power";
  35. gpios = <&pinctrl 4 1>;
  36. default-state = "on";
  37. };
  38. };
  39. };
  40. &hsspi {
  41. status = "ok";
  42. flash@0 {
  43. compatible = "jedec,spi-nor";
  44. spi-max-frequency = <16666667>;
  45. spi-tx-bus-width = <2>;
  46. spi-rx-bus-width = <2>;
  47. reg = <0>;
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. linux,part-probe = "bcm63xxpart";
  51. partitions {
  52. compatible = "fixed-partitions";
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. cfe@0 {
  56. reg = <0x000000 0x010000>;
  57. label = "cfe";
  58. read-only;
  59. };
  60. linux@10000 {
  61. reg = <0x010000 0xfe0000>;
  62. label = "linux";
  63. compatible = "brcm,bcm963xx-imagetag";
  64. };
  65. nvram@ff0000 {
  66. reg = <0xff0000 0x010000>;
  67. label = "nvram";
  68. };
  69. };
  70. };
  71. };
  72. &uart0 {
  73. status = "ok";
  74. };