kirkwood-cloudbox.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6281.dtsi"
  4. / {
  5. model = "LaCie CloudBox";
  6. compatible = "lacie,cloudbox", "marvell,kirkwood-88f6702", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x10000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
  17. marvell,pins = "mpp15";
  18. marvell,function = "sata0";
  19. };
  20. };
  21. serial@12000 {
  22. pinctrl-0 = <&pmx_uart0>;
  23. pinctrl-names = "default";
  24. clock-frequency = <166666667>;
  25. status = "okay";
  26. };
  27. sata@80000 {
  28. pinctrl-0 = <&pmx_cloudbox_sata0>;
  29. pinctrl-names = "default";
  30. status = "okay";
  31. nr-ports = <1>;
  32. };
  33. spi@10600 {
  34. pinctrl-0 = <&pmx_spi>;
  35. pinctrl-names = "default";
  36. status = "okay";
  37. flash@0 {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. compatible = "mx25l4005a";
  41. reg = <0>;
  42. spi-max-frequency = <20000000>;
  43. mode = <0>;
  44. partition@0 {
  45. reg = <0x0 0x80000>;
  46. label = "u-boot";
  47. };
  48. };
  49. };
  50. };
  51. gpio_keys {
  52. compatible = "gpio-keys";
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. button@1 {
  56. label = "Power push button";
  57. linux,code = <116>;
  58. gpios = <&gpio0 16 1>;
  59. };
  60. };
  61. gpio-leds {
  62. compatible = "gpio-leds";
  63. red-fail {
  64. label = "cloudbox:red:fail";
  65. gpios = <&gpio0 14 0>;
  66. };
  67. blue-sata {
  68. label = "cloudbox:blue:sata";
  69. gpios = <&gpio0 15 0>;
  70. };
  71. };
  72. gpio_poweroff {
  73. compatible = "gpio-poweroff";
  74. gpios = <&gpio0 17 0>;
  75. };
  76. };
  77. &mdio {
  78. status = "okay";
  79. ethphy0: ethernet-phy@0 {
  80. device_type = "ethernet-phy";
  81. reg = <0>;
  82. };
  83. };
  84. &eth0 {
  85. status = "okay";
  86. ethernet0-port@0 {
  87. phy-handle = <&ethphy0>;
  88. };
  89. };