AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +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 | |
| 9 | /* |
| 10 | * AM335x Starter Kit |
| 11 | * http://www.ti.com/tool/tmdssk3358 |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | |
| 16 | /include/ "am33xx.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "TI AM335x EVM-SK"; |
| 20 | compatible = "ti,am335x-evmsk", "ti,am33xx"; |
| 21 | |
| 22 | cpus { |
| 23 | cpu@0 { |
| 24 | cpu0-supply = <&vdd1_reg>; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | memory { |
| 29 | device_type = "memory"; |
| 30 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 31 | }; |
| 32 | |
AnilKumar Ch | 2647dd1 | 2012-11-06 19:18:35 +0530 | [diff] [blame] | 33 | am33xx_pinmux: pinmux@44e10800 { |
| 34 | pinctrl-names = "default"; |
| 35 | pinctrl-0 = <&user_leds_s0>; |
| 36 | |
| 37 | user_leds_s0: user_leds_s0 { |
| 38 | pinctrl-single,pins = < |
| 39 | 0x10 0x7 /* gpmc_ad4.gpio1_4, OUTPUT | MODE7 */ |
| 40 | 0x14 0x7 /* gpmc_ad5.gpio1_5, OUTPUT | MODE7 */ |
| 41 | 0x18 0x7 /* gpmc_ad6.gpio1_6, OUTPUT | MODE7 */ |
| 42 | 0x1c 0x7 /* gpmc_ad7.gpio1_7, OUTPUT | MODE7 */ |
| 43 | >; |
| 44 | }; |
| 45 | }; |
| 46 | |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 47 | ocp { |
| 48 | uart1: serial@44e09000 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | i2c1: i2c@44e0b000 { |
| 53 | status = "okay"; |
| 54 | clock-frequency = <400000>; |
| 55 | |
| 56 | tps: tps@2d { |
| 57 | reg = <0x2d>; |
| 58 | }; |
| 59 | |
| 60 | lis331dlh: lis331dlh@18 { |
| 61 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 62 | reg = <0x18>; |
| 63 | Vdd-supply = <&lis3_reg>; |
| 64 | Vdd_IO-supply = <&lis3_reg>; |
| 65 | |
| 66 | st,click-single-x; |
| 67 | st,click-single-y; |
| 68 | st,click-single-z; |
| 69 | st,click-thresh-x = <10>; |
| 70 | st,click-thresh-y = <10>; |
| 71 | st,click-thresh-z = <10>; |
| 72 | st,irq1-click; |
| 73 | st,irq2-click; |
| 74 | st,wakeup-x-lo; |
| 75 | st,wakeup-x-hi; |
| 76 | st,wakeup-y-lo; |
| 77 | st,wakeup-y-hi; |
| 78 | st,wakeup-z-lo; |
| 79 | st,wakeup-z-hi; |
| 80 | st,min-limit-x = <120>; |
| 81 | st,min-limit-y = <120>; |
| 82 | st,min-limit-z = <140>; |
| 83 | st,max-limit-x = <550>; |
| 84 | st,max-limit-y = <550>; |
| 85 | st,max-limit-z = <750>; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | vbat: fixedregulator@0 { |
| 91 | compatible = "regulator-fixed"; |
| 92 | regulator-name = "vbat"; |
| 93 | regulator-min-microvolt = <5000000>; |
| 94 | regulator-max-microvolt = <5000000>; |
| 95 | regulator-boot-on; |
| 96 | }; |
| 97 | |
| 98 | lis3_reg: fixedregulator@1 { |
| 99 | compatible = "regulator-fixed"; |
| 100 | regulator-name = "lis3_reg"; |
| 101 | regulator-boot-on; |
| 102 | }; |
AnilKumar Ch | 29b0b843 | 2012-11-06 19:18:36 +0530 | [diff] [blame^] | 103 | |
| 104 | leds { |
| 105 | compatible = "gpio-leds"; |
| 106 | |
| 107 | led@1 { |
| 108 | label = "evmsk:green:usr0"; |
| 109 | gpios = <&gpio2 4 0>; |
| 110 | default-state = "off"; |
| 111 | }; |
| 112 | |
| 113 | led@2 { |
| 114 | label = "evmsk:green:usr1"; |
| 115 | gpios = <&gpio2 5 0>; |
| 116 | default-state = "off"; |
| 117 | }; |
| 118 | |
| 119 | led@3 { |
| 120 | label = "evmsk:green:mmc0"; |
| 121 | gpios = <&gpio2 6 0>; |
| 122 | linux,default-trigger = "mmc0"; |
| 123 | default-state = "off"; |
| 124 | }; |
| 125 | |
| 126 | led@4 { |
| 127 | label = "evmsk:green:heartbeat"; |
| 128 | gpios = <&gpio2 7 0>; |
| 129 | linux,default-trigger = "heartbeat"; |
| 130 | default-state = "off"; |
| 131 | }; |
| 132 | }; |
AnilKumar Ch | 571ccb2 | 2012-10-15 18:05:39 +0530 | [diff] [blame] | 133 | }; |
| 134 | |
| 135 | /include/ "tps65910.dtsi" |
| 136 | |
| 137 | &tps { |
| 138 | vcc1-supply = <&vbat>; |
| 139 | vcc2-supply = <&vbat>; |
| 140 | vcc3-supply = <&vbat>; |
| 141 | vcc4-supply = <&vbat>; |
| 142 | vcc5-supply = <&vbat>; |
| 143 | vcc6-supply = <&vbat>; |
| 144 | vcc7-supply = <&vbat>; |
| 145 | vccio-supply = <&vbat>; |
| 146 | |
| 147 | regulators { |
| 148 | vrtc_reg: regulator@0 { |
| 149 | regulator-always-on; |
| 150 | }; |
| 151 | |
| 152 | vio_reg: regulator@1 { |
| 153 | regulator-always-on; |
| 154 | }; |
| 155 | |
| 156 | vdd1_reg: regulator@2 { |
| 157 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 158 | regulator-name = "vdd_mpu"; |
| 159 | regulator-min-microvolt = <912500>; |
| 160 | regulator-max-microvolt = <1312500>; |
| 161 | regulator-boot-on; |
| 162 | regulator-always-on; |
| 163 | }; |
| 164 | |
| 165 | vdd2_reg: regulator@3 { |
| 166 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 167 | regulator-name = "vdd_core"; |
| 168 | regulator-min-microvolt = <912500>; |
| 169 | regulator-max-microvolt = <1150000>; |
| 170 | regulator-boot-on; |
| 171 | regulator-always-on; |
| 172 | }; |
| 173 | |
| 174 | vdd3_reg: regulator@4 { |
| 175 | regulator-always-on; |
| 176 | }; |
| 177 | |
| 178 | vdig1_reg: regulator@5 { |
| 179 | regulator-always-on; |
| 180 | }; |
| 181 | |
| 182 | vdig2_reg: regulator@6 { |
| 183 | regulator-always-on; |
| 184 | }; |
| 185 | |
| 186 | vpll_reg: regulator@7 { |
| 187 | regulator-always-on; |
| 188 | }; |
| 189 | |
| 190 | vdac_reg: regulator@8 { |
| 191 | regulator-always-on; |
| 192 | }; |
| 193 | |
| 194 | vaux1_reg: regulator@9 { |
| 195 | regulator-always-on; |
| 196 | }; |
| 197 | |
| 198 | vaux2_reg: regulator@10 { |
| 199 | regulator-always-on; |
| 200 | }; |
| 201 | |
| 202 | vaux33_reg: regulator@11 { |
| 203 | regulator-always-on; |
| 204 | }; |
| 205 | |
| 206 | vmmc_reg: regulator@12 { |
| 207 | regulator-always-on; |
| 208 | }; |
| 209 | }; |
| 210 | }; |