am335x-bone.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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 = <&clkout2_pin>;
  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. i2c0_pins: pinmux_i2c0_pins {
  34. pinctrl-single,pins = <
  35. 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */
  36. 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */
  37. >;
  38. };
  39. uart0_pins: pinmux_uart0_pins {
  40. pinctrl-single,pins = <
  41. 0x170 0x30 /* uart0_rxd.uart0_rxd PULLUP | INPUTENABLE | MODE0 */
  42. 0x174 0x00 /* uart0_txd.uart0_txd PULLDOWN | MODE0 */
  43. >;
  44. };
  45. clkout2_pin: pinmux_clkout2_pin {
  46. pinctrl-single,pins = <
  47. 0x1b4 0x03 /* xdma_event_intr1.clkout2 OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */
  48. >;
  49. };
  50. };
  51. ocp {
  52. uart0: serial@44e09000 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&uart0_pins>;
  55. status = "okay";
  56. };
  57. i2c0: i2c@44e0b000 {
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&i2c0_pins>;
  60. status = "okay";
  61. clock-frequency = <400000>;
  62. tps: tps@24 {
  63. reg = <0x24>;
  64. };
  65. };
  66. };
  67. leds {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&user_leds_s0>;
  70. compatible = "gpio-leds";
  71. led@2 {
  72. label = "beaglebone:green:heartbeat";
  73. gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
  74. linux,default-trigger = "heartbeat";
  75. default-state = "off";
  76. };
  77. led@3 {
  78. label = "beaglebone:green:mmc0";
  79. gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
  80. linux,default-trigger = "mmc0";
  81. default-state = "off";
  82. };
  83. led@4 {
  84. label = "beaglebone:green:usr2";
  85. gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
  86. default-state = "off";
  87. };
  88. led@5 {
  89. label = "beaglebone:green:usr3";
  90. gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
  91. default-state = "off";
  92. };
  93. };
  94. };
  95. /include/ "tps65217.dtsi"
  96. &tps {
  97. regulators {
  98. dcdc1_reg: regulator@0 {
  99. regulator-always-on;
  100. };
  101. dcdc2_reg: regulator@1 {
  102. /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
  103. regulator-name = "vdd_mpu";
  104. regulator-min-microvolt = <925000>;
  105. regulator-max-microvolt = <1325000>;
  106. regulator-boot-on;
  107. regulator-always-on;
  108. };
  109. dcdc3_reg: regulator@2 {
  110. /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
  111. regulator-name = "vdd_core";
  112. regulator-min-microvolt = <925000>;
  113. regulator-max-microvolt = <1150000>;
  114. regulator-boot-on;
  115. regulator-always-on;
  116. };
  117. ldo1_reg: regulator@3 {
  118. regulator-always-on;
  119. };
  120. ldo2_reg: regulator@4 {
  121. regulator-always-on;
  122. };
  123. ldo3_reg: regulator@5 {
  124. regulator-always-on;
  125. };
  126. ldo4_reg: regulator@6 {
  127. regulator-always-on;
  128. };
  129. };
  130. };
  131. &cpsw_emac0 {
  132. phy_id = <&davinci_mdio>, <0>;
  133. };
  134. &cpsw_emac1 {
  135. phy_id = <&davinci_mdio>, <1>;
  136. };