kirkwood-cloudbox.dts 1.7 KB

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