kirkwood-mplcec4.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. clock-frequency = <200000000>;
  74. status = "ok";
  75. };
  76. nand@3000000 {
  77. status = "okay";
  78. partition@0 {
  79. label = "uboot";
  80. reg = <0x0000000 0x100000>;
  81. };
  82. partition@100000 {
  83. label = "env";
  84. reg = <0x100000 0x80000>;
  85. };
  86. partition@180000 {
  87. label = "fdt";
  88. reg = <0x180000 0x80000>;
  89. };
  90. partition@200000 {
  91. label = "kernel";
  92. reg = <0x200000 0x400000>;
  93. };
  94. partition@600000 {
  95. label = "rootfs";
  96. reg = <0x600000 0x1fa00000>;
  97. };
  98. };
  99. rtc@10300 {
  100. status = "disabled";
  101. };
  102. sata@80000 {
  103. nr-ports = <2>;
  104. status = "okay";
  105. };
  106. mvsdio@90000 {
  107. pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
  108. pinctrl-names = "default";
  109. status = "okay";
  110. cd-gpios = <&gpio1 15 0>;
  111. /* No WP GPIO */
  112. };
  113. };
  114. gpio-leds {
  115. compatible = "gpio-leds";
  116. health {
  117. label = "status:green:health";
  118. gpios = <&gpio0 7 1>;
  119. };
  120. user1o {
  121. label = "user1:orange";
  122. gpios = <&gpio1 8 1>;
  123. default-state = "on";
  124. };
  125. user1g {
  126. label = "user1:green";
  127. gpios = <&gpio1 9 1>;
  128. default-state = "on";
  129. };
  130. user0o {
  131. label = "user0:orange";
  132. gpios = <&gpio1 12 1>;
  133. default-state = "on";
  134. };
  135. user0g {
  136. label = "user0:green";
  137. gpios = <&gpio1 13 1>;
  138. default-state = "on";
  139. };
  140. misc {
  141. label = "status:orange:misc";
  142. gpios = <&gpio1 14 1>;
  143. default-state = "on";
  144. };
  145. };
  146. };