kirkwood-dockstar.dts 2.0 KB

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