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. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pmx_usb_power_enable: pmx-usb-power-enable {
  17. marvell,pins = "mpp29";
  18. marvell,function = "gpio";
  19. };
  20. pmx_led_green: pmx-led-green {
  21. marvell,pins = "mpp46";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_orange: pmx-led-orange {
  25. marvell,pins = "mpp47";
  26. marvell,function = "gpio";
  27. };
  28. };
  29. serial@12000 {
  30. status = "ok";
  31. };
  32. };
  33. gpio-leds {
  34. compatible = "gpio-leds";
  35. pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
  36. pinctrl-names = "default";
  37. health {
  38. label = "status:green:health";
  39. gpios = <&gpio1 14 1>;
  40. linux,default-trigger = "default-on";
  41. };
  42. fault {
  43. label = "status:orange:fault";
  44. gpios = <&gpio1 15 1>;
  45. };
  46. };
  47. regulators {
  48. compatible = "simple-bus";
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. pinctrl-0 = <&pmx_usb_power_enable>;
  52. pinctrl-names = "default";
  53. usb_power: regulator@1 {
  54. compatible = "regulator-fixed";
  55. reg = <1>;
  56. regulator-name = "USB Power";
  57. regulator-min-microvolt = <5000000>;
  58. regulator-max-microvolt = <5000000>;
  59. enable-active-high;
  60. regulator-always-on;
  61. regulator-boot-on;
  62. gpio = <&gpio0 29 0>;
  63. };
  64. };
  65. };
  66. &nand {
  67. status = "okay";
  68. partition@0 {
  69. label = "u-boot";
  70. reg = <0x0000000 0x100000>;
  71. read-only;
  72. };
  73. partition@100000 {
  74. label = "uImage";
  75. reg = <0x0100000 0x400000>;
  76. };
  77. partition@500000 {
  78. label = "data";
  79. reg = <0x0500000 0xfb00000>;
  80. };
  81. };
  82. &mdio {
  83. status = "okay";
  84. ethphy0: ethernet-phy@0 {
  85. device_type = "ethernet-phy";
  86. compatible = "marvell,88e1116";
  87. reg = <0>;
  88. };
  89. };
  90. &eth0 {
  91. status = "okay";
  92. ethernet0-port@0 {
  93. phy-handle = <&ethphy0>;
  94. };
  95. };