kirkwood-db.dtsi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
  3. *
  4. * Saeed Bishara <saeed@marvell.com>
  5. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. *
  7. * This file is licensed under the terms of the GNU General Public
  8. * License version 2. This program is licensed "as is" without any
  9. * warranty of any kind, whether express or implied.
  10. *
  11. * This file contains the definitions that are common between the 6281
  12. * and 6282 variants of the Marvell Kirkwood Development Board.
  13. */
  14. #include "kirkwood.dtsi"
  15. / {
  16. memory {
  17. device_type = "memory";
  18. reg = <0x00000000 0x20000000>; /* 512 MB */
  19. };
  20. chosen {
  21. bootargs = "console=ttyS0,115200n8 earlyprintk";
  22. };
  23. ocp@f1000000 {
  24. pinctrl@10000 {
  25. pmx_sdio_gpios: pmx-sdio-gpios {
  26. marvell,pins = "mpp37", "mpp38";
  27. marvell,function = "gpio";
  28. };
  29. };
  30. serial@12000 {
  31. pinctrl-0 = <&pmx_uart0>;
  32. pinctrl-names = "default";
  33. clock-frequency = <200000000>;
  34. status = "ok";
  35. };
  36. sata@80000 {
  37. nr-ports = <2>;
  38. status = "okay";
  39. };
  40. ehci@50000 {
  41. status = "okay";
  42. };
  43. mvsdio@90000 {
  44. pinctrl-0 = <&pmx_sdio_gpios>;
  45. pinctrl-names = "default";
  46. wp-gpios = <&gpio1 5 0>;
  47. cd-gpios = <&gpio1 6 0>;
  48. status = "okay";
  49. };
  50. };
  51. };
  52. &nand {
  53. pinctrl-0 = <&pmx_nand>;
  54. pinctrl-names = "default";
  55. chip-delay = <25>;
  56. status = "okay";
  57. partition@0 {
  58. label = "uboot";
  59. reg = <0x0 0x100000>;
  60. };
  61. partition@100000 {
  62. label = "uImage";
  63. reg = <0x100000 0x400000>;
  64. };
  65. partition@500000 {
  66. label = "root";
  67. reg = <0x500000 0x1fb00000>;
  68. };
  69. };
  70. &mdio {
  71. status = "okay";
  72. ethphy0: ethernet-phy@8 {
  73. device_type = "ethernet-phy";
  74. reg = <8>;
  75. };
  76. };
  77. &eth0 {
  78. status = "okay";
  79. ethernet0-port@0 {
  80. phy-handle = <&ethphy0>;
  81. };
  82. };