kirkwood-goflexhome.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6281.dtsi"
  4. / {
  5. model = "Seagate GoFlex Home";
  6. compatible = "seagate,goflexhome", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. aliases {
  8. led-boot = &led_health;
  9. led-failsafe = &led_fault;
  10. led-running = &led_health;
  11. led-upgrade = &led_fault;
  12. };
  13. memory@0 {
  14. device_type = "memory";
  15. reg = <0x00000000 0x8000000>;
  16. };
  17. chosen {
  18. bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
  19. stdout-path = &uart0;
  20. };
  21. ocp@f1000000 {
  22. pinctrl: pin-controller@10000 {
  23. pmx_usb_power_enable: pmx-usb-power-enable {
  24. marvell,pins = "mpp29";
  25. marvell,function = "gpio";
  26. };
  27. pmx_led_white: pmx-led-white {
  28. marvell,pins = "mpp40";
  29. marvell,function = "gpio";
  30. };
  31. pmx_led_green: pmx-led_green {
  32. marvell,pins = "mpp46";
  33. marvell,function = "gpio";
  34. };
  35. pmx_led_orange: pmx-led-orange {
  36. marvell,pins = "mpp47";
  37. marvell,function = "gpio";
  38. };
  39. };
  40. serial@12000 {
  41. status = "okay";
  42. };
  43. sata@80000 {
  44. status = "okay";
  45. nr-ports = <2>;
  46. };
  47. };
  48. gpio-leds {
  49. compatible = "gpio-leds";
  50. led_health: health {
  51. label = "status:green:health";
  52. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
  53. default-state = "on";
  54. };
  55. led_fault: fault {
  56. label = "status:orange:fault";
  57. gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
  58. };
  59. misc {
  60. label = "status:white:misc";
  61. gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
  62. linux,default-trigger = "disk-activity";
  63. };
  64. };
  65. regulators {
  66. compatible = "simple-bus";
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. pinctrl-0 = <&pmx_usb_power_enable>;
  70. pinctrl-names = "default";
  71. usb_power: regulator@1 {
  72. compatible = "regulator-fixed";
  73. reg = <1>;
  74. regulator-name = "USB Power";
  75. regulator-min-microvolt = <5000000>;
  76. regulator-max-microvolt = <5000000>;
  77. enable-active-high;
  78. regulator-always-on;
  79. regulator-boot-on;
  80. gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
  81. };
  82. };
  83. };
  84. &nand {
  85. status = "okay";
  86. chip-delay = <40>;
  87. partition@0 {
  88. label = "u-boot";
  89. reg = <0x0000000 0x0100000>;
  90. read-only;
  91. };
  92. partition@100000 {
  93. label = "ubi";
  94. reg = <0x0100000 0xff00000>;
  95. };
  96. };
  97. &mdio {
  98. status = "okay";
  99. ethphy0: ethernet-phy@0 {
  100. reg = <0>;
  101. };
  102. };
  103. &eth0 {
  104. status = "okay";
  105. ethernet0-port@0 {
  106. phy-handle = <&ethphy0>;
  107. };
  108. };