kirkwood-db.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. stdout-path = &uart0;
  23. };
  24. ocp@f1000000 {
  25. pin-controller@10000 {
  26. pmx_sdio_gpios: pmx-sdio-gpios {
  27. marvell,pins = "mpp37", "mpp38";
  28. marvell,function = "gpio";
  29. };
  30. };
  31. serial@12000 {
  32. status = "okay";
  33. };
  34. sata@80000 {
  35. nr-ports = <2>;
  36. status = "okay";
  37. };
  38. ehci@50000 {
  39. status = "okay";
  40. };
  41. mvsdio@90000 {
  42. pinctrl-0 = <&pmx_sdio_gpios>;
  43. pinctrl-names = "default";
  44. wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  45. cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  46. status = "okay";
  47. };
  48. };
  49. };
  50. &nand {
  51. chip-delay = <25>;
  52. status = "okay";
  53. partition@0 {
  54. label = "uboot";
  55. reg = <0x0 0x100000>;
  56. };
  57. partition@100000 {
  58. label = "uImage";
  59. reg = <0x100000 0x400000>;
  60. };
  61. partition@500000 {
  62. label = "root";
  63. reg = <0x500000 0x1fb00000>;
  64. };
  65. };
  66. &mdio {
  67. status = "okay";
  68. ethphy0: ethernet-phy@8 {
  69. reg = <8>;
  70. };
  71. };
  72. &eth0 {
  73. status = "okay";
  74. ethernet0-port@0 {
  75. phy-handle = <&ethphy0>;
  76. };
  77. };