kirkwood-dockstar.dts 1.8 KB

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