kirkwood-cloudbox.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. stdout-path = &uart0;
  14. };
  15. ocp@f1000000 {
  16. pinctrl: pin-controller@10000 {
  17. pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
  18. marvell,pins = "mpp15";
  19. marvell,function = "sata0";
  20. };
  21. };
  22. serial@12000 {
  23. status = "okay";
  24. };
  25. sata@80000 {
  26. pinctrl-0 = <&pmx_cloudbox_sata0>;
  27. pinctrl-names = "default";
  28. status = "okay";
  29. nr-ports = <1>;
  30. };
  31. spi@10600 {
  32. status = "okay";
  33. flash@0 {
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
  37. reg = <0>;
  38. spi-max-frequency = <20000000>;
  39. mode = <0>;
  40. partition@0 {
  41. reg = <0x0 0x80000>;
  42. label = "u-boot";
  43. };
  44. };
  45. };
  46. };
  47. gpio_keys {
  48. compatible = "gpio-keys";
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. power {
  52. label = "Power push button";
  53. linux,code = <KEY_POWER>;
  54. gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
  55. };
  56. };
  57. gpio-leds {
  58. compatible = "gpio-leds";
  59. red-fail {
  60. label = "cloudbox:red:fail";
  61. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
  62. };
  63. blue-sata {
  64. label = "cloudbox:blue:sata";
  65. gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
  66. };
  67. };
  68. gpio_poweroff {
  69. compatible = "gpio-poweroff";
  70. gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  71. };
  72. };
  73. &mdio {
  74. status = "okay";
  75. ethphy0: ethernet-phy@0 {
  76. reg = <0>;
  77. };
  78. };
  79. &eth0 {
  80. status = "okay";
  81. ethernet0-port@0 {
  82. phy-handle = <&ethphy0>;
  83. };
  84. };