kirkwood-mplcec4.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. /include/ "kirkwood-6281.dtsi"
  4. / {
  5. model = "MPL CEC4";
  6. compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x20000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pinctrl-0 = < &pmx_nand &pmx_uart0
  17. &pmx_led_health
  18. &pmx_sata0 &pmx_sata1
  19. &pmx_led_user1o
  20. &pmx_led_user1g &pmx_led_user0o
  21. &pmx_led_user0g &pmx_led_misc
  22. >;
  23. pinctrl-names = "default";
  24. pmx_led_health: pmx-led-health {
  25. marvell,pins = "mpp7";
  26. marvell,function = "gpo";
  27. };
  28. pmx_sata1: pmx-sata1 {
  29. marvell,pins = "mpp34";
  30. marvell,function = "sata1";
  31. };
  32. pmx_sata0: pmx-sata0 {
  33. marvell,pins = "mpp35";
  34. marvell,function = "sata0";
  35. };
  36. pmx_led_user1o: pmx-led-user1o {
  37. marvell,pins = "mpp40";
  38. marvell,function = "gpio";
  39. };
  40. pmx_led_user1g: pmx-led-user1g {
  41. marvell,pins = "mpp41";
  42. marvell,function = "gpio";
  43. };
  44. pmx_led_user0o: pmx-led-user0o {
  45. marvell,pins = "mpp44";
  46. marvell,function = "gpio";
  47. };
  48. pmx_led_user0g: pmx-led-user0g {
  49. marvell,pins = "mpp45";
  50. marvell,function = "gpio";
  51. };
  52. pmx_led_misc: pmx-led-misc {
  53. marvell,pins = "mpp46";
  54. marvell,function = "gpio";
  55. };
  56. pmx_sdio_cd: pmx-sdio-cd {
  57. marvell,pins = "mpp47";
  58. marvell,function = "gpio";
  59. };
  60. };
  61. i2c@11000 {
  62. status = "okay";
  63. rtc@51 {
  64. compatible = "nxp,pcf8563";
  65. reg = <0x51>;
  66. };
  67. eeprom@57 {
  68. compatible = "atmel,24c02";
  69. reg = <0x57>;
  70. };
  71. };
  72. serial@12000 {
  73. status = "ok";
  74. };
  75. nand@3000000 {
  76. status = "okay";
  77. partition@0 {
  78. label = "uboot";
  79. reg = <0x0000000 0x100000>;
  80. };
  81. partition@100000 {
  82. label = "env";
  83. reg = <0x100000 0x80000>;
  84. };
  85. partition@180000 {
  86. label = "fdt";
  87. reg = <0x180000 0x80000>;
  88. };
  89. partition@200000 {
  90. label = "kernel";
  91. reg = <0x200000 0x400000>;
  92. };
  93. partition@600000 {
  94. label = "rootfs";
  95. reg = <0x600000 0x1fa00000>;
  96. };
  97. };
  98. rtc@10300 {
  99. status = "disabled";
  100. };
  101. sata@80000 {
  102. nr-ports = <2>;
  103. status = "okay";
  104. };
  105. mvsdio@90000 {
  106. pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
  107. pinctrl-names = "default";
  108. status = "okay";
  109. cd-gpios = <&gpio1 15 0>;
  110. /* No WP GPIO */
  111. };
  112. };
  113. gpio-leds {
  114. compatible = "gpio-leds";
  115. health {
  116. label = "status:green:health";
  117. gpios = <&gpio0 7 1>;
  118. };
  119. user1o {
  120. label = "user1:orange";
  121. gpios = <&gpio1 8 1>;
  122. default-state = "on";
  123. };
  124. user1g {
  125. label = "user1:green";
  126. gpios = <&gpio1 9 1>;
  127. default-state = "on";
  128. };
  129. user0o {
  130. label = "user0:orange";
  131. gpios = <&gpio1 12 1>;
  132. default-state = "on";
  133. };
  134. user0g {
  135. label = "user0:green";
  136. gpios = <&gpio1 13 1>;
  137. default-state = "on";
  138. };
  139. misc {
  140. label = "status:orange:misc";
  141. gpios = <&gpio1 14 1>;
  142. default-state = "on";
  143. };
  144. };
  145. };