kirkwood-mplcec4.dts 3.9 KB

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