kirkwood-openrd.dtsi 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Marvell OpenRD (Base|Client|Ultimate) Board Description
  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 three
  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-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>;
  35. pinctrl-names = "default";
  36. pmx_select28: pmx-select-uart-sd {
  37. marvell,pins = "mpp28";
  38. marvell,function = "gpio";
  39. };
  40. pmx_sdio_cd: pmx-sdio-cd {
  41. marvell,pins = "mpp29";
  42. marvell,function = "gpio";
  43. };
  44. pmx_select34: pmx-select-rs232-rs484 {
  45. marvell,pins = "mpp34";
  46. marvell,function = "gpio";
  47. };
  48. };
  49. serial@12000 {
  50. status = "okay";
  51. };
  52. sata@80000 {
  53. status = "okay";
  54. nr-ports = <2>;
  55. };
  56. mvsdio@90000 {
  57. status = "okay";
  58. cd-gpios = <&gpio0 29 9>;
  59. };
  60. };
  61. };
  62. &nand {
  63. status = "okay";
  64. pinctrl-0 = <&pmx_nand>;
  65. pinctrl-names = "default";
  66. partition@0 {
  67. label = "u-boot";
  68. reg = <0x0000000 0x100000>;
  69. };
  70. partition@100000 {
  71. label = "uImage";
  72. reg = <0x0100000 0x400000>;
  73. };
  74. partition@600000 {
  75. label = "root";
  76. reg = <0x0600000 0x1FA00000>;
  77. };
  78. };