AnilKumar Ch | 6a66a8b | 2012-06-22 15:10:50 +0530 | [diff] [blame] | 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 | |
| 10 | /include/ "am33xx.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "TI AM335x BeagleBone"; |
| 14 | compatible = "ti,am335x-bone", "ti,am33xx"; |
| 15 | |
AnilKumar Ch | efeedcf | 2012-08-31 15:07:20 +0530 | [diff] [blame] | 16 | cpus { |
| 17 | cpu@0 { |
| 18 | cpu0-supply = <&dcdc2_reg>; |
| 19 | }; |
| 20 | }; |
| 21 | |
AnilKumar Ch | 6a66a8b | 2012-06-22 15:10:50 +0530 | [diff] [blame] | 22 | memory { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 25 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 26 | |
AnilKumar Ch | 7e782c4 | 2012-11-06 19:18:33 +0530 | [diff] [blame] | 27 | am33xx_pinmux: pinmux@44e10800 { |
| 28 | pinctrl-names = "default"; |
| 29 | pinctrl-0 = <&user_leds_s0>; |
| 30 | |
| 31 | user_leds_s0: user_leds_s0 { |
| 32 | pinctrl-single,pins = < |
| 33 | 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */ |
| 34 | 0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */ |
| 35 | 0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */ |
| 36 | 0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */ |
| 37 | >; |
| 38 | }; |
Vaibhav Hiremath | 3f86644 | 2013-03-26 14:14:01 +0530 | [diff] [blame^] | 39 | |
| 40 | i2c0_pins: pinmux_i2c0_pins { |
| 41 | pinctrl-single,pins = < |
| 42 | 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */ |
| 43 | 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */ |
| 44 | >; |
| 45 | }; |
AnilKumar Ch | 7e782c4 | 2012-11-06 19:18:33 +0530 | [diff] [blame] | 46 | }; |
| 47 | |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 48 | ocp { |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 49 | uart1: serial@44e09000 { |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 50 | status = "okay"; |
| 51 | }; |
AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 52 | |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 53 | i2c0: i2c@44e0b000 { |
Vaibhav Hiremath | 3f86644 | 2013-03-26 14:14:01 +0530 | [diff] [blame^] | 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&i2c0_pins>; |
| 56 | |
AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 57 | status = "okay"; |
| 58 | clock-frequency = <400000>; |
| 59 | |
| 60 | tps: tps@24 { |
| 61 | reg = <0x24>; |
| 62 | }; |
| 63 | |
| 64 | }; |
| 65 | }; |
AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 66 | |
| 67 | leds { |
| 68 | compatible = "gpio-leds"; |
| 69 | |
| 70 | led@2 { |
| 71 | label = "beaglebone:green:heartbeat"; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 72 | gpios = <&gpio1 21 0>; |
AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 73 | linux,default-trigger = "heartbeat"; |
| 74 | default-state = "off"; |
| 75 | }; |
| 76 | |
| 77 | led@3 { |
| 78 | label = "beaglebone:green:mmc0"; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 79 | gpios = <&gpio1 22 0>; |
AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 80 | linux,default-trigger = "mmc0"; |
| 81 | default-state = "off"; |
| 82 | }; |
| 83 | |
| 84 | led@4 { |
| 85 | label = "beaglebone:green:usr2"; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 86 | gpios = <&gpio1 23 0>; |
AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 87 | default-state = "off"; |
| 88 | }; |
| 89 | |
| 90 | led@5 { |
| 91 | label = "beaglebone:green:usr3"; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 92 | gpios = <&gpio1 24 0>; |
AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 93 | default-state = "off"; |
| 94 | }; |
| 95 | }; |
AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | /include/ "tps65217.dtsi" |
| 99 | |
| 100 | &tps { |
| 101 | regulators { |
| 102 | dcdc1_reg: regulator@0 { |
| 103 | regulator-always-on; |
| 104 | }; |
| 105 | |
| 106 | dcdc2_reg: regulator@1 { |
| 107 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 108 | regulator-name = "vdd_mpu"; |
| 109 | regulator-min-microvolt = <925000>; |
| 110 | regulator-max-microvolt = <1325000>; |
| 111 | regulator-boot-on; |
| 112 | regulator-always-on; |
| 113 | }; |
| 114 | |
| 115 | dcdc3_reg: regulator@2 { |
| 116 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 117 | regulator-name = "vdd_core"; |
| 118 | regulator-min-microvolt = <925000>; |
| 119 | regulator-max-microvolt = <1150000>; |
| 120 | regulator-boot-on; |
| 121 | regulator-always-on; |
| 122 | }; |
| 123 | |
| 124 | ldo1_reg: regulator@3 { |
| 125 | regulator-always-on; |
| 126 | }; |
| 127 | |
| 128 | ldo2_reg: regulator@4 { |
| 129 | regulator-always-on; |
| 130 | }; |
| 131 | |
| 132 | ldo3_reg: regulator@5 { |
| 133 | regulator-always-on; |
| 134 | }; |
| 135 | |
| 136 | ldo4_reg: regulator@6 { |
| 137 | regulator-always-on; |
| 138 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 139 | }; |
AnilKumar Ch | 6a66a8b | 2012-06-22 15:10:50 +0530 | [diff] [blame] | 140 | }; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 141 | |
| 142 | &cpsw_emac0 { |
| 143 | phy_id = <&davinci_mdio>, <0>; |
| 144 | }; |
| 145 | |
| 146 | &cpsw_emac1 { |
| 147 | phy_id = <&davinci_mdio>, <1>; |
| 148 | }; |