kirkwood-rd88f6281.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*
  2. * Marvell RD88F6181 Common Board descrition
  3. *
  4. * Andrew Lunn <andrew@lunn.ch>
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. *
  10. * This file contains the definitions that are common between the two
  11. * variants of the Marvell Kirkwood Development Board.
  12. */
  13. #include "kirkwood.dtsi"
  14. #include "kirkwood-6281.dtsi"
  15. / {
  16. memory {
  17. device_type = "memory";
  18. reg = <0x00000000 0x20000000>;
  19. };
  20. chosen {
  21. bootargs = "console=ttyS0,115200n8";
  22. stdout-path = &uart0;
  23. };
  24. mbus {
  25. pcie-controller {
  26. status = "okay";
  27. pcie@1,0 {
  28. status = "okay";
  29. };
  30. };
  31. };
  32. ocp@f1000000 {
  33. pinctrl: pin-controller@10000 {
  34. pinctrl-names = "default";
  35. pmx_sdio_cd: pmx-sdio-cd {
  36. marvell,pins = "mpp28";
  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. mvsdio@90000 {
  48. pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
  49. pinctrl-names = "default";
  50. status = "okay";
  51. cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
  52. /* No WP GPIO */
  53. };
  54. };
  55. dsa@0 {
  56. compatible = "marvell,dsa";
  57. #address-cells = <2>;
  58. #size-cells = <0>;
  59. dsa,ethernet = <&eth0port>;
  60. dsa,mii-bus = <&mdio>;
  61. switch@0 {
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. port@0 {
  65. reg = <0>;
  66. label = "lan1";
  67. };
  68. port@1 {
  69. reg = <1>;
  70. label = "lan2";
  71. };
  72. port@2 {
  73. reg = <2>;
  74. label = "lan3";
  75. };
  76. port@3 {
  77. reg = <3>;
  78. label = "lan4";
  79. };
  80. port@5 {
  81. reg = <5>;
  82. label = "cpu";
  83. };
  84. };
  85. };
  86. };
  87. &nand {
  88. status = "okay";
  89. partition@0 {
  90. label = "u-boot";
  91. reg = <0x0000000 0x100000>;
  92. read-only;
  93. };
  94. partition@100000 {
  95. label = "uImage";
  96. reg = <0x0100000 0x200000>;
  97. };
  98. partition@300000 {
  99. label = "rootfs";
  100. reg = <0x0300000 0x500000>;
  101. };
  102. };
  103. &mdio {
  104. status = "okay";
  105. };
  106. &eth0 {
  107. status = "okay";
  108. ethernet0-port@0 {
  109. speed = <1000>;
  110. duplex = <1>;
  111. };
  112. };