kirkwood-dockstar.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6281.dtsi"
  4. / {
  5. model = "Seagate FreeAgent Dockstar";
  6. compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x8000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
  13. stdout-path = &uart0;
  14. };
  15. ocp@f1000000 {
  16. pinctrl: pin-controller@10000 {
  17. pmx_usb_power_enable: pmx-usb-power-enable {
  18. marvell,pins = "mpp29";
  19. marvell,function = "gpio";
  20. };
  21. pmx_led_green: pmx-led-green {
  22. marvell,pins = "mpp46";
  23. marvell,function = "gpio";
  24. };
  25. pmx_led_orange: pmx-led-orange {
  26. marvell,pins = "mpp47";
  27. marvell,function = "gpio";
  28. };
  29. };
  30. serial@12000 {
  31. status = "ok";
  32. };
  33. };
  34. gpio-leds {
  35. compatible = "gpio-leds";
  36. pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
  37. pinctrl-names = "default";
  38. health {
  39. label = "status:green:health";
  40. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
  41. default-state = "keep";
  42. };
  43. fault {
  44. label = "status:orange:fault";
  45. gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
  46. };
  47. };
  48. regulators {
  49. compatible = "simple-bus";
  50. #address-cells = <1>;
  51. #size-cells = <0>;
  52. pinctrl-0 = <&pmx_usb_power_enable>;
  53. pinctrl-names = "default";
  54. usb_power: regulator@1 {
  55. compatible = "regulator-fixed";
  56. reg = <1>;
  57. regulator-name = "USB Power";
  58. regulator-min-microvolt = <5000000>;
  59. regulator-max-microvolt = <5000000>;
  60. enable-active-high;
  61. regulator-always-on;
  62. regulator-boot-on;
  63. gpio = <&gpio0 29 0>;
  64. };
  65. };
  66. };
  67. &nand {
  68. status = "okay";
  69. partition@0 {
  70. label = "u-boot";
  71. reg = <0x0000000 0x100000>;
  72. read-only;
  73. };
  74. partition@100000 {
  75. label = "uImage";
  76. reg = <0x0100000 0x400000>;
  77. };
  78. partition@500000 {
  79. label = "data";
  80. reg = <0x0500000 0xfb00000>;
  81. };
  82. };
  83. &mdio {
  84. status = "okay";
  85. ethphy0: ethernet-phy@0 {
  86. compatible = "marvell,88e1116";
  87. reg = <0>;
  88. };
  89. };
  90. &eth0 {
  91. status = "okay";
  92. ethernet0-port@0 {
  93. phy-handle = <&ethphy0>;
  94. };
  95. };