ar-5381u.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 = "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. partitions {
  51. compatible = "fixed-partitions";
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. cfe@0 {
  55. reg = <0x000000 0x010000>;
  56. label = "cfe";
  57. read-only;
  58. };
  59. linux@10000 {
  60. reg = <0x010000 0xfe0000>;
  61. label = "linux";
  62. compatible = "brcm,bcm963xx-imagetag";
  63. };
  64. nvram@ff0000 {
  65. reg = <0xff0000 0x010000>;
  66. label = "nvram";
  67. };
  68. };
  69. };
  70. };
  71. &uart0 {
  72. status = "ok";
  73. };