diff options
author | Nishanth Menon <nm@ti.com> | 2013-12-09 16:55:50 -0500 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2014-03-02 12:34:14 -0500 |
commit | a93ad7f3cfc2d2c0a9a94d5413051c41df4481c9 (patch) | |
tree | 7e54549915cd8c4043a82130827cb341f6fe4cb6 /arch/arm | |
parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) |
ARM: dts: Add basic devices for AM3517-craneboard
Craneboard is a hardware development platform based on the Sitara
AM3517 ARM Cortex - A8 microprocessor device - see [1] for more
details. Add basic devices for craneboard as replacement for the board
file scheduled for removal as part of device tree conversion
[1] http://craneboard.org
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/am3517-craneboard.dts | 174 |
2 files changed, 175 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 6d1e43d46187..695bed81c646 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -227,6 +227,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ | |||
227 | am335x-boneblack.dtb \ | 227 | am335x-boneblack.dtb \ |
228 | am335x-nano.dtb \ | 228 | am335x-nano.dtb \ |
229 | am335x-base0033.dtb \ | 229 | am335x-base0033.dtb \ |
230 | am3517-craneboard.dtb \ | ||
230 | am3517-evm.dtb \ | 231 | am3517-evm.dtb \ |
231 | am3517_mt_ventoux.dtb \ | 232 | am3517_mt_ventoux.dtb \ |
232 | am43x-epos-evm.dtb \ | 233 | am43x-epos-evm.dtb \ |
diff --git a/arch/arm/boot/dts/am3517-craneboard.dts b/arch/arm/boot/dts/am3517-craneboard.dts new file mode 100644 index 000000000000..2d40b3f241cd --- /dev/null +++ b/arch/arm/boot/dts/am3517-craneboard.dts | |||
@@ -0,0 +1,174 @@ | |||
1 | /* | ||
2 | * See craneboard.org for more details | ||
3 | * | ||
4 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | /dts-v1/; | ||
11 | |||
12 | #include "am3517.dtsi" | ||
13 | |||
14 | / { | ||
15 | model = "TI AM3517 CraneBoard (TMDSEVM3517)"; | ||
16 | compatible = "ti,am3517-craneboard", "ti,am3517", "ti,omap3"; | ||
17 | |||
18 | memory { | ||
19 | device_type = "memory"; | ||
20 | reg = <0x80000000 0x10000000>; /* 256 MB */ | ||
21 | }; | ||
22 | |||
23 | vbat: fixedregulator@0 { | ||
24 | compatible = "regulator-fixed"; | ||
25 | regulator-name = "vbat"; | ||
26 | regulator-min-microvolt = <5000000>; | ||
27 | regulator-max-microvolt = <5000000>; | ||
28 | regulator-boot-on; | ||
29 | }; | ||
30 | }; | ||
31 | |||
32 | &davinci_emac { | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | |||
36 | &davinci_mdio { | ||
37 | status = "okay"; | ||
38 | }; | ||
39 | |||
40 | &i2c1 { | ||
41 | clock-frequency = <2600000>; | ||
42 | |||
43 | tps: tps@2d { | ||
44 | reg = <0x2d>; | ||
45 | }; | ||
46 | }; | ||
47 | |||
48 | &i2c2 { | ||
49 | clock-frequency = <400000>; | ||
50 | /* goes to expansion connector */ | ||
51 | status = "disabled"; | ||
52 | }; | ||
53 | |||
54 | &i2c3 { | ||
55 | clock-frequency = <400000>; | ||
56 | /* goes to expansion connector */ | ||
57 | status = "disabled"; | ||
58 | }; | ||
59 | |||
60 | &mmc1 { | ||
61 | vmmc-supply = <&vdd2_reg>; | ||
62 | bus-width = <8>; | ||
63 | }; | ||
64 | |||
65 | &mmc2 { | ||
66 | /* goes to expansion connector */ | ||
67 | status = "disabled"; | ||
68 | }; | ||
69 | |||
70 | &mmc3 { | ||
71 | /* goes to expansion connector */ | ||
72 | status = "disabled"; | ||
73 | }; | ||
74 | |||
75 | #include "tps65910.dtsi" | ||
76 | |||
77 | &omap3_pmx_core { | ||
78 | tps_pins: pinmux_tps_pins { | ||
79 | pinctrl-single,pins = < | ||
80 | 0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */ | ||
81 | >; | ||
82 | }; | ||
83 | }; | ||
84 | |||
85 | &tps { | ||
86 | pinctrl-names = "default"; | ||
87 | pinctrl-0 = <&tps_pins>; | ||
88 | |||
89 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | ||
90 | interrupt-parent = <&intc>; | ||
91 | |||
92 | ti,en-ck32k-xtal; | ||
93 | |||
94 | vcc1-supply = <&vbat>; | ||
95 | vcc2-supply = <&vbat>; | ||
96 | vcc3-supply = <&vbat>; | ||
97 | vcc4-supply = <&vbat>; | ||
98 | vcc5-supply = <&vbat>; | ||
99 | vcc6-supply = <&vbat>; | ||
100 | vcc7-supply = <&vbat>; | ||
101 | vccio-supply = <&vbat>; | ||
102 | |||
103 | regulators { | ||
104 | vrtc_reg: regulator@0 { | ||
105 | regulator-always-on; | ||
106 | }; | ||
107 | |||
108 | vio_reg: regulator@1 { | ||
109 | regulator-always-on; | ||
110 | }; | ||
111 | |||
112 | /* | ||
113 | * Unused: | ||
114 | * VDIG1=2.7V,300mA max | ||
115 | * VDIG2=1.8V,300mA max | ||
116 | */ | ||
117 | |||
118 | vpll_reg: regulator@7 { | ||
119 | /* VDDS_DPLL_1V8 */ | ||
120 | regulator-min-microvolt = <1800000>; | ||
121 | regulator-max-microvolt = <1800000>; | ||
122 | regulator-always-on; | ||
123 | }; | ||
124 | |||
125 | vaux1_reg: regulator@9 { | ||
126 | /* VDDS_SRAM_1V8 */ | ||
127 | regulator-min-microvolt = <1800000>; | ||
128 | regulator-max-microvolt = <1800000>; | ||
129 | regulator-always-on; | ||
130 | }; | ||
131 | |||
132 | vaux2_reg: regulator@10 { | ||
133 | /* VDDA1P8V_USBPHY */ | ||
134 | regulator-min-microvolt = <1800000>; | ||
135 | regulator-max-microvolt = <1800000>; | ||
136 | regulator-always-on; | ||
137 | }; | ||
138 | |||
139 | /* VAUX33 unused */ | ||
140 | |||
141 | vdac_reg: regulator@8 { | ||
142 | /* VDDA_DAC_1V8 */ | ||
143 | regulator-min-microvolt = <1800000>; | ||
144 | regulator-max-microvolt = <1800000>; | ||
145 | regulator-always-on; | ||
146 | }; | ||
147 | |||
148 | vmmc_reg: regulator@12 { | ||
149 | /* VDDA3P3V_USBPHY */ | ||
150 | regulator-min-microvolt = <3300000>; | ||
151 | regulator-max-microvolt = <3300000>; | ||
152 | regulator-always-on; | ||
153 | }; | ||
154 | |||
155 | vdd1_reg: regulator@2 { | ||
156 | /* VDD_CORE */ | ||
157 | regulator-name = "vdd_core"; | ||
158 | regulator-min-microvolt = <1200000>; | ||
159 | regulator-max-microvolt = <1200000>; | ||
160 | regulator-boot-on; | ||
161 | regulator-always-on; | ||
162 | }; | ||
163 | |||
164 | vdd2_reg: regulator@3 { | ||
165 | /* VDDSHV_3V3 */ | ||
166 | regulator-name = "vdd_shv"; | ||
167 | regulator-min-microvolt = <3300000>; | ||
168 | regulator-max-microvolt = <3300000>; | ||
169 | regulator-always-on; | ||
170 | }; | ||
171 | |||
172 | /* VDD3 unused */ | ||
173 | }; | ||
174 | }; | ||