kirkwood-db.dtsi 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Marvell DB-{88F6281,88F6282}-BP Development Board Setup
  4. *
  5. * Saeed Bishara <[email protected]>
  6. * Thomas Petazzoni <[email protected]>
  7. *
  8. * This file contains the definitions that are common between the 6281
  9. * and 6282 variants of the Marvell Kirkwood Development Board.
  10. */
  11. #include "kirkwood.dtsi"
  12. / {
  13. memory {
  14. device_type = "memory";
  15. reg = <0x00000000 0x20000000>; /* 512 MB */
  16. };
  17. chosen {
  18. bootargs = "console=ttyS0,115200n8 earlyprintk";
  19. stdout-path = &uart0;
  20. };
  21. ocp@f1000000 {
  22. pin-controller@10000 {
  23. pmx_sdio_gpios: pmx-sdio-gpios {
  24. marvell,pins = "mpp37", "mpp38";
  25. marvell,function = "gpio";
  26. };
  27. };
  28. serial@12000 {
  29. status = "okay";
  30. };
  31. sata@80000 {
  32. nr-ports = <2>;
  33. status = "okay";
  34. };
  35. ehci@50000 {
  36. status = "okay";
  37. };
  38. mvsdio@90000 {
  39. pinctrl-0 = <&pmx_sdio_gpios>;
  40. pinctrl-names = "default";
  41. wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  42. cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  43. status = "okay";
  44. };
  45. };
  46. };
  47. &nand {
  48. chip-delay = <25>;
  49. status = "okay";
  50. partition@0 {
  51. label = "uboot";
  52. reg = <0x0 0x100000>;
  53. };
  54. partition@100000 {
  55. label = "uImage";
  56. reg = <0x100000 0x400000>;
  57. };
  58. partition@500000 {
  59. label = "root";
  60. reg = <0x500000 0x1fb00000>;
  61. };
  62. };
  63. &mdio {
  64. status = "okay";
  65. ethphy0: ethernet-phy@8 {
  66. reg = <8>;
  67. };
  68. };
  69. &eth0 {
  70. status = "okay";
  71. ethernet0-port@0 {
  72. phy-handle = <&ethphy0>;
  73. };
  74. };