rbt-832.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * rbt-832.dts - Device Tree file for Tigal RBT-832
  3. *
  4. * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
  5. *
  6. * Licensed under GPLv2
  7. */
  8. /dts-v1/;
  9. #include "mcs8140.dtsi"
  10. / {
  11. model = "Tigal RBT-832";
  12. compatible = "tigal,rbt-832", "moschip,mcs8140", "moschip,mcs814x";
  13. chosen {
  14. bootargs = "mem=32M console=ttyS0,115200 earlyprintk";
  15. };
  16. ahb {
  17. vci {
  18. eth0: ethernet@40084000 {
  19. nuport-mac,link-activity = <0x01>;
  20. phy = <&phy0>;
  21. phy-mode = "mii";
  22. phy0: ethernet-phy@0 {
  23. reg = <1>;
  24. };
  25. };
  26. adc {
  27. sdram: memory@0,0 {
  28. reg = <0 0 0x2000000>;
  29. };
  30. nor: flash@7,0 {
  31. partition@0 {
  32. label = "ArmBoot";
  33. reg = <0 0x40000>;
  34. };
  35. partition@30000 {
  36. label = "Enviroment";
  37. reg = <0x40000 0x20000>;
  38. };
  39. partition@50000 {
  40. label = "bZimage";
  41. reg = <0x60000 0x1a0000>;
  42. };
  43. partition@150000 {
  44. label = "UserFS";
  45. reg = <0x200000 0x600000>;
  46. };
  47. };
  48. };
  49. leds {
  50. compatible = "gpio-leds";
  51. ethernet {
  52. label = "rbt-832:red:ethernet";
  53. gpios = <&gpio 0 0>; // gpio 0 active high
  54. };
  55. usb0 {
  56. label = "rbt-832:red:usb0";
  57. gpios = <&gpio 4 0>; // gpio 4 active high
  58. };
  59. usb1 {
  60. label = "rbt-832:red:usb1";
  61. gpios = <&gpio 3 0>; // gpio 3 active high
  62. };
  63. usb2 {
  64. label = "rbt-832:red:usb2";
  65. gpios = <&gpio 2 0>; // gpio 2 active high
  66. };
  67. usb3 {
  68. label = "rbt-832:red:usb3";
  69. gpios = <&gpio 1 0>; // gpio 1 active high
  70. };
  71. };
  72. };
  73. };
  74. };