kirkwood-sheevaplug-common.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs
  4. *
  5. * Copyright (C) 2013 Simon Baatz <[email protected]>
  6. */
  7. #include "kirkwood.dtsi"
  8. #include "kirkwood-6281.dtsi"
  9. / {
  10. memory {
  11. device_type = "memory";
  12. reg = <0x00000000 0x20000000>;
  13. };
  14. chosen {
  15. bootargs = "console=ttyS0,115200n8 earlyprintk";
  16. stdout-path = &uart0;
  17. };
  18. ocp@f1000000 {
  19. pinctrl: pin-controller@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. status = "okay";
  43. };
  44. };
  45. regulators {
  46. compatible = "simple-bus";
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. pinctrl-0 = <&pmx_usb_power_enable>;
  50. pinctrl-names = "default";
  51. usb_power: regulator@1 {
  52. compatible = "regulator-fixed";
  53. reg = <1>;
  54. regulator-name = "USB Power";
  55. regulator-min-microvolt = <5000000>;
  56. regulator-max-microvolt = <5000000>;
  57. enable-active-high;
  58. regulator-always-on;
  59. regulator-boot-on;
  60. gpio = <&gpio0 29 0>;
  61. };
  62. };
  63. };
  64. &nand {
  65. status = "okay";
  66. partition@0 {
  67. label = "u-boot";
  68. reg = <0x0000000 0x100000>;
  69. };
  70. partition@100000 {
  71. label = "uImage";
  72. reg = <0x0100000 0x400000>;
  73. };
  74. partition@500000 {
  75. label = "root";
  76. reg = <0x0500000 0x1fb00000>;
  77. };
  78. };
  79. &mdio {
  80. status = "okay";
  81. ethphy0: ethernet-phy@0 {
  82. reg = <0>;
  83. };
  84. };
  85. &eth0 {
  86. status = "okay";
  87. ethernet0-port@0 {
  88. phy-handle = <&ethphy0>;
  89. };
  90. };