kirkwood-dockstar.dts 1.8 KB

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