kirkwood-sheevaplug-common.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs
  3. *
  4. * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
  5. *
  6. * Licensed under GPLv2
  7. */
  8. #include "kirkwood.dtsi"
  9. #include "kirkwood-6281.dtsi"
  10. / {
  11. memory {
  12. device_type = "memory";
  13. reg = <0x00000000 0x20000000>;
  14. };
  15. chosen {
  16. bootargs = "console=ttyS0,115200n8 earlyprintk";
  17. stdout-path = &uart0;
  18. };
  19. ocp@f1000000 {
  20. pinctrl: pin-controller@10000 {
  21. pmx_usb_power_enable: pmx-usb-power-enable {
  22. marvell,pins = "mpp29";
  23. marvell,function = "gpio";
  24. };
  25. pmx_led_red: pmx-led-red {
  26. marvell,pins = "mpp46";
  27. marvell,function = "gpio";
  28. };
  29. pmx_led_blue: pmx-led-blue {
  30. marvell,pins = "mpp49";
  31. marvell,function = "gpio";
  32. };
  33. pmx_sdio_cd: pmx-sdio-cd {
  34. marvell,pins = "mpp44";
  35. marvell,function = "gpio";
  36. };
  37. pmx_sdio_wp: pmx-sdio-wp {
  38. marvell,pins = "mpp47";
  39. marvell,function = "gpio";
  40. };
  41. };
  42. serial@12000 {
  43. status = "okay";
  44. };
  45. };
  46. regulators {
  47. compatible = "simple-bus";
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. pinctrl-0 = <&pmx_usb_power_enable>;
  51. pinctrl-names = "default";
  52. usb_power: regulator@1 {
  53. compatible = "regulator-fixed";
  54. reg = <1>;
  55. regulator-name = "USB Power";
  56. regulator-min-microvolt = <5000000>;
  57. regulator-max-microvolt = <5000000>;
  58. enable-active-high;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. gpio = <&gpio0 29 0>;
  62. };
  63. };
  64. };
  65. &nand {
  66. status = "okay";
  67. partition@0 {
  68. label = "u-boot";
  69. reg = <0x0000000 0x100000>;
  70. };
  71. partition@100000 {
  72. label = "uImage";
  73. reg = <0x0100000 0x400000>;
  74. };
  75. partition@500000 {
  76. label = "root";
  77. reg = <0x0500000 0x1fb00000>;
  78. };
  79. };
  80. &mdio {
  81. status = "okay";
  82. ethphy0: ethernet-phy@0 {
  83. reg = <0>;
  84. };
  85. };
  86. &eth0 {
  87. status = "okay";
  88. ethernet0-port@0 {
  89. phy-handle = <&ethphy0>;
  90. };
  91. };