kirkwood-mplcec4.dts 3.6 KB

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