| 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 | }; | 
|  | 39 | }; | 
|  | 40 |  | 
| Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 41 | ocp { | 
| Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 42 | uart1: serial@44e09000 { | 
| Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 43 | status = "okay"; | 
|  | 44 | }; | 
| AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 45 |  | 
| Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 46 | i2c1: i2c@44e0b000 { | 
| AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 47 | status = "okay"; | 
|  | 48 | clock-frequency = <400000>; | 
|  | 49 |  | 
|  | 50 | tps: tps@24 { | 
|  | 51 | reg = <0x24>; | 
|  | 52 | }; | 
|  | 53 |  | 
|  | 54 | }; | 
|  | 55 | }; | 
| AnilKumar Ch | 5d4e170 | 2012-11-06 19:18:34 +0530 | [diff] [blame] | 56 |  | 
|  | 57 | leds { | 
|  | 58 | compatible = "gpio-leds"; | 
|  | 59 |  | 
|  | 60 | led@2 { | 
|  | 61 | label = "beaglebone:green:heartbeat"; | 
|  | 62 | gpios = <&gpio2 21 0>; | 
|  | 63 | linux,default-trigger = "heartbeat"; | 
|  | 64 | default-state = "off"; | 
|  | 65 | }; | 
|  | 66 |  | 
|  | 67 | led@3 { | 
|  | 68 | label = "beaglebone:green:mmc0"; | 
|  | 69 | gpios = <&gpio2 22 0>; | 
|  | 70 | linux,default-trigger = "mmc0"; | 
|  | 71 | default-state = "off"; | 
|  | 72 | }; | 
|  | 73 |  | 
|  | 74 | led@4 { | 
|  | 75 | label = "beaglebone:green:usr2"; | 
|  | 76 | gpios = <&gpio2 23 0>; | 
|  | 77 | default-state = "off"; | 
|  | 78 | }; | 
|  | 79 |  | 
|  | 80 | led@5 { | 
|  | 81 | label = "beaglebone:green:usr3"; | 
|  | 82 | gpios = <&gpio2 24 0>; | 
|  | 83 | default-state = "off"; | 
|  | 84 | }; | 
|  | 85 | }; | 
| AnilKumar Ch | a06ceff | 2012-08-21 16:47:30 +0530 | [diff] [blame] | 86 | }; | 
|  | 87 |  | 
|  | 88 | /include/ "tps65217.dtsi" | 
|  | 89 |  | 
|  | 90 | &tps { | 
|  | 91 | regulators { | 
|  | 92 | dcdc1_reg: regulator@0 { | 
|  | 93 | regulator-always-on; | 
|  | 94 | }; | 
|  | 95 |  | 
|  | 96 | dcdc2_reg: regulator@1 { | 
|  | 97 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ | 
|  | 98 | regulator-name = "vdd_mpu"; | 
|  | 99 | regulator-min-microvolt = <925000>; | 
|  | 100 | regulator-max-microvolt = <1325000>; | 
|  | 101 | regulator-boot-on; | 
|  | 102 | regulator-always-on; | 
|  | 103 | }; | 
|  | 104 |  | 
|  | 105 | dcdc3_reg: regulator@2 { | 
|  | 106 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ | 
|  | 107 | regulator-name = "vdd_core"; | 
|  | 108 | regulator-min-microvolt = <925000>; | 
|  | 109 | regulator-max-microvolt = <1150000>; | 
|  | 110 | regulator-boot-on; | 
|  | 111 | regulator-always-on; | 
|  | 112 | }; | 
|  | 113 |  | 
|  | 114 | ldo1_reg: regulator@3 { | 
|  | 115 | regulator-always-on; | 
|  | 116 | }; | 
|  | 117 |  | 
|  | 118 | ldo2_reg: regulator@4 { | 
|  | 119 | regulator-always-on; | 
|  | 120 | }; | 
|  | 121 |  | 
|  | 122 | ldo3_reg: regulator@5 { | 
|  | 123 | regulator-always-on; | 
|  | 124 | }; | 
|  | 125 |  | 
|  | 126 | ldo4_reg: regulator@6 { | 
|  | 127 | regulator-always-on; | 
|  | 128 | }; | 
| Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 129 | }; | 
| AnilKumar Ch | 6a66a8b | 2012-06-22 15:10:50 +0530 | [diff] [blame] | 130 | }; | 
| Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 131 |  | 
|  | 132 | &cpsw_emac0 { | 
|  | 133 | phy_id = <&davinci_mdio>, <0>; | 
|  | 134 | }; | 
|  | 135 |  | 
|  | 136 | &cpsw_emac1 { | 
|  | 137 | phy_id = <&davinci_mdio>, <1>; | 
|  | 138 | }; |