kirkwood-sheevaplug-common.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*
  2. * kirkwood-sheevaplug-common.dts - 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. };
  18. ocp@f1000000 {
  19. pinctrl: pinctrl@10000 {
  20. pmx_usb_power_enable: pmx-usb-power-enable {
  21. marvell,pins = "mpp29";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_red: pmx-led-red {
  25. marvell,pins = "mpp46";
  26. marvell,function = "gpio";
  27. };
  28. pmx_led_blue: pmx-led-blue {
  29. marvell,pins = "mpp49";
  30. marvell,function = "gpio";
  31. };
  32. pmx_sdio_cd: pmx-sdio-cd {
  33. marvell,pins = "mpp44";
  34. marvell,function = "gpio";
  35. };
  36. pmx_sdio_wp: pmx-sdio-wp {
  37. marvell,pins = "mpp47";
  38. marvell,function = "gpio";
  39. };
  40. };
  41. serial@12000 {
  42. pinctrl-0 = <&pmx_uart0>;
  43. pinctrl-names = "default";
  44. status = "okay";
  45. };
  46. };
  47. regulators {
  48. compatible = "simple-bus";
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. pinctrl-0 = <&pmx_usb_power_enable>;
  52. pinctrl-names = "default";
  53. usb_power: regulator@1 {
  54. compatible = "regulator-fixed";
  55. reg = <1>;
  56. regulator-name = "USB Power";
  57. regulator-min-microvolt = <5000000>;
  58. regulator-max-microvolt = <5000000>;
  59. enable-active-high;
  60. regulator-always-on;
  61. regulator-boot-on;
  62. gpio = <&gpio0 29 0>;
  63. };
  64. };
  65. };
  66. &nand {
  67. pinctrl-0 = <&pmx_nand>;
  68. pinctrl-names = "default";
  69. status = "okay";
  70. partition@0 {
  71. label = "u-boot";
  72. reg = <0x0000000 0x100000>;
  73. };
  74. partition@100000 {
  75. label = "uImage";
  76. reg = <0x0100000 0x400000>;
  77. };
  78. partition@500000 {
  79. label = "root";
  80. reg = <0x0500000 0x1fb00000>;
  81. };
  82. };
  83. &mdio {
  84. status = "okay";
  85. ethphy0: ethernet-phy@0 {
  86. device_type = "ethernet-phy";
  87. reg = <0>;
  88. };
  89. };
  90. &eth0 {
  91. status = "okay";
  92. ethernet0-port@0 {
  93. phy-handle = <&ethphy0>;
  94. };
  95. };