kirkwood-sheevaplug-common.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. nand@3000000 {
  47. pinctrl-0 = <&pmx_nand>;
  48. pinctrl-names = "default";
  49. status = "okay";
  50. partition@0 {
  51. label = "u-boot";
  52. reg = <0x0000000 0x100000>;
  53. };
  54. partition@100000 {
  55. label = "uImage";
  56. reg = <0x0100000 0x400000>;
  57. };
  58. partition@500000 {
  59. label = "root";
  60. reg = <0x0500000 0x1fb00000>;
  61. };
  62. };
  63. };
  64. regulators {
  65. compatible = "simple-bus";
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. pinctrl-0 = <&pmx_usb_power_enable>;
  69. pinctrl-names = "default";
  70. usb_power: regulator@1 {
  71. compatible = "regulator-fixed";
  72. reg = <1>;
  73. regulator-name = "USB Power";
  74. regulator-min-microvolt = <5000000>;
  75. regulator-max-microvolt = <5000000>;
  76. enable-active-high;
  77. regulator-always-on;
  78. regulator-boot-on;
  79. gpio = <&gpio0 29 0>;
  80. };
  81. };
  82. };