am335x-bone.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /include/ "am33xx.dtsi"
  10. / {
  11. model = "TI AM335x BeagleBone";
  12. compatible = "ti,am335x-bone", "ti,am33xx";
  13. cpus {
  14. cpu@0 {
  15. cpu0-supply = <&dcdc2_reg>;
  16. };
  17. };
  18. memory {
  19. device_type = "memory";
  20. reg = <0x80000000 0x10000000>; /* 256 MB */
  21. };
  22. am33xx_pinmux: pinmux@44e10800 {
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&user_leds_s0>;
  25. user_leds_s0: user_leds_s0 {
  26. pinctrl-single,pins = <
  27. 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
  28. 0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
  29. 0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */
  30. 0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */
  31. >;
  32. };
  33. };
  34. ocp {
  35. uart1: serial@44e09000 {
  36. status = "okay";
  37. };
  38. i2c1: i2c@44e0b000 {
  39. status = "okay";
  40. clock-frequency = <400000>;
  41. tps: tps@24 {
  42. reg = <0x24>;
  43. };
  44. };
  45. };
  46. leds {
  47. compatible = "gpio-leds";
  48. led@2 {
  49. label = "beaglebone:green:heartbeat";
  50. gpios = <&gpio2 21 0>;
  51. linux,default-trigger = "heartbeat";
  52. default-state = "off";
  53. };
  54. led@3 {
  55. label = "beaglebone:green:mmc0";
  56. gpios = <&gpio2 22 0>;
  57. linux,default-trigger = "mmc0";
  58. default-state = "off";
  59. };
  60. led@4 {
  61. label = "beaglebone:green:usr2";
  62. gpios = <&gpio2 23 0>;
  63. default-state = "off";
  64. };
  65. led@5 {
  66. label = "beaglebone:green:usr3";
  67. gpios = <&gpio2 24 0>;
  68. default-state = "off";
  69. };
  70. };
  71. };
  72. /include/ "tps65217.dtsi"
  73. &tps {
  74. regulators {
  75. dcdc1_reg: regulator@0 {
  76. regulator-always-on;
  77. };
  78. dcdc2_reg: regulator@1 {
  79. /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
  80. regulator-name = "vdd_mpu";
  81. regulator-min-microvolt = <925000>;
  82. regulator-max-microvolt = <1325000>;
  83. regulator-boot-on;
  84. regulator-always-on;
  85. };
  86. dcdc3_reg: regulator@2 {
  87. /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
  88. regulator-name = "vdd_core";
  89. regulator-min-microvolt = <925000>;
  90. regulator-max-microvolt = <1150000>;
  91. regulator-boot-on;
  92. regulator-always-on;
  93. };
  94. ldo1_reg: regulator@3 {
  95. regulator-always-on;
  96. };
  97. ldo2_reg: regulator@4 {
  98. regulator-always-on;
  99. };
  100. ldo3_reg: regulator@5 {
  101. regulator-always-on;
  102. };
  103. ldo4_reg: regulator@6 {
  104. regulator-always-on;
  105. };
  106. };
  107. };
  108. &cpsw_emac0 {
  109. phy_id = <&davinci_mdio>, <0>;
  110. };
  111. &cpsw_emac1 {
  112. phy_id = <&davinci_mdio>, <1>;
  113. };