ar1004g.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ASMAX AR 1004g";
  6. compatible = "asmax,ar1004g", "brcm,bcm6348";
  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 33 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. power_green {
  26. label = "AR1004G:green:power";
  27. gpios = <&pinctrl 0 1>;
  28. default-state = "on";
  29. };
  30. inet_green {
  31. label = "AR1004G:green:inet";
  32. gpios = <&pinctrl 3 1>;
  33. };
  34. power_red {
  35. label = "AR1004G:red:power";
  36. gpios = <&pinctrl 6 1>;
  37. };
  38. };
  39. };
  40. &pflash {
  41. status = "ok";
  42. linux,part-probe = "bcm63xxpart";
  43. partitions {
  44. compatible = "fixed-partitions";
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. cfe@0 {
  48. label = "CFE";
  49. reg = <0x000000 0x010000>;
  50. read-only;
  51. };
  52. linux@10000 {
  53. label = "linux";
  54. reg = <0x010000 0x3e0000>;
  55. compatible = "brcm,bcm963xx-imagetag";
  56. };
  57. nvram@3f0000 {
  58. label = "nvram";
  59. reg = <0x3f0000 0x010000>;
  60. };
  61. };
  62. };
  63. &pinctrl {
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&pinctrl_ext_mii &pinctrl_pci>;
  66. };
  67. &uart0 {
  68. status = "ok";
  69. };