kirkwood-cloudbox.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. };