Commit e1a0888ed224cc4c4e019a37b7b0331b11745e4d
1 parent
046664aedd
Exists in
v2017.01-smarct4x
and in
37 other branches
sunxi: Convert sun5i boards to use auto dram configuration
Currently we've separate detailed dram settings for all sun5i boards, this moves them over to using auto dram configuration so that we can get rid of all the per board dram_foo.c files. This has been tested on a A10s-Olinuxino, A13-Olinuxino, A13-OlinuxinoM, mk802-a10s and r7-tv-dongle board. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Showing 12 changed files with 19 additions and 169 deletions Inline Diff
- board/sunxi/Kconfig
- board/sunxi/Makefile
- board/sunxi/dram_a10s_olinuxino_m.c
- board/sunxi/dram_a13_oli_micro.c
- board/sunxi/dram_a13_olinuxino.c
- board/sunxi/dram_bananapi.c
- board/sunxi/dram_r7dongle.c
- configs/A10s-OLinuXino-M_defconfig
- configs/A13-OLinuXinoM_defconfig
- configs/A13-OLinuXino_defconfig
- configs/Auxtek-T004_defconfig
- configs/r7-tv-dongle_defconfig
board/sunxi/Kconfig
1 | if ARCH_SUNXI | 1 | if ARCH_SUNXI |
2 | 2 | ||
3 | choice | 3 | choice |
4 | prompt "Sunxi SoC Variant" | 4 | prompt "Sunxi SoC Variant" |
5 | 5 | ||
6 | config MACH_SUN4I | 6 | config MACH_SUN4I |
7 | bool "sun4i (Allwinner A10)" | 7 | bool "sun4i (Allwinner A10)" |
8 | select CPU_V7 | 8 | select CPU_V7 |
9 | select SUPPORT_SPL | 9 | select SUPPORT_SPL |
10 | 10 | ||
11 | config MACH_SUN5I | 11 | config MACH_SUN5I |
12 | bool "sun5i (Allwinner A13)" | 12 | bool "sun5i (Allwinner A13)" |
13 | select CPU_V7 | 13 | select CPU_V7 |
14 | select SUPPORT_SPL | 14 | select SUPPORT_SPL |
15 | 15 | ||
16 | config MACH_SUN6I | 16 | config MACH_SUN6I |
17 | bool "sun6i (Allwinner A31)" | 17 | bool "sun6i (Allwinner A31)" |
18 | select CPU_V7 | 18 | select CPU_V7 |
19 | select SUPPORT_SPL | 19 | select SUPPORT_SPL |
20 | 20 | ||
21 | config MACH_SUN7I | 21 | config MACH_SUN7I |
22 | bool "sun7i (Allwinner A20)" | 22 | bool "sun7i (Allwinner A20)" |
23 | select CPU_V7 | 23 | select CPU_V7 |
24 | select CPU_V7_HAS_NONSEC | 24 | select CPU_V7_HAS_NONSEC |
25 | select CPU_V7_HAS_VIRT | 25 | select CPU_V7_HAS_VIRT |
26 | select SUPPORT_SPL | 26 | select SUPPORT_SPL |
27 | select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT | 27 | select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT |
28 | 28 | ||
29 | config MACH_SUN8I | 29 | config MACH_SUN8I |
30 | bool "sun8i (Allwinner A23)" | 30 | bool "sun8i (Allwinner A23)" |
31 | select CPU_V7 | 31 | select CPU_V7 |
32 | select SUPPORT_SPL | 32 | select SUPPORT_SPL |
33 | 33 | ||
34 | endchoice | 34 | endchoice |
35 | 35 | ||
36 | config DRAM_CLK | 36 | config DRAM_CLK |
37 | int "sunxi dram clock speed" | 37 | int "sunxi dram clock speed" |
38 | default 312 if MACH_SUN6I || MACH_SUN8I | 38 | default 312 if MACH_SUN6I || MACH_SUN8I |
39 | default 360 if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I | 39 | default 360 if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I |
40 | ---help--- | 40 | ---help--- |
41 | Set the dram clock speed, valid range 240 - 480, must be a multiple | 41 | Set the dram clock speed, valid range 240 - 480, must be a multiple |
42 | of 24. Note on sun4i / sun5i / sun7i this is only used by boards | 42 | of 24. |
43 | which use dram autoconfig. | ||
44 | 43 | ||
45 | config DRAM_ZQ | 44 | config DRAM_ZQ |
46 | int "sunxi dram zq value" | 45 | int "sunxi dram zq value" |
47 | default 123 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I | 46 | default 123 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I |
48 | default 127 if MACH_SUN7I | 47 | default 127 if MACH_SUN7I |
49 | ---help--- | 48 | ---help--- |
50 | Set the dram zq value. Note on sun4i / sun5i / sun7i this is only | 49 | Set the dram zq value. |
51 | used by boards which use dram autoconfig. | ||
52 | 50 | ||
53 | if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I | 51 | if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I |
54 | config DRAM_EMR1 | 52 | config DRAM_EMR1 |
55 | int "sunxi dram emr1 value" | 53 | int "sunxi dram emr1 value" |
56 | default 0 if MACH_SUN4I | 54 | default 0 if MACH_SUN4I |
57 | default 4 if MACH_SUN5I || MACH_SUN7I | 55 | default 4 if MACH_SUN5I || MACH_SUN7I |
58 | ---help--- | 56 | ---help--- |
59 | Set the dram controller emr1 value. Note this is only used by boards | 57 | Set the dram controller emr1 value. |
60 | which use dram autoconfig. | ||
61 | endif | 58 | endif |
62 | 59 | ||
63 | config SYS_CONFIG_NAME | 60 | config SYS_CONFIG_NAME |
64 | default "sun4i" if MACH_SUN4I | 61 | default "sun4i" if MACH_SUN4I |
65 | default "sun5i" if MACH_SUN5I | 62 | default "sun5i" if MACH_SUN5I |
66 | default "sun6i" if MACH_SUN6I | 63 | default "sun6i" if MACH_SUN6I |
67 | default "sun7i" if MACH_SUN7I | 64 | default "sun7i" if MACH_SUN7I |
68 | default "sun8i" if MACH_SUN8I | 65 | default "sun8i" if MACH_SUN8I |
69 | 66 | ||
70 | choice | 67 | choice |
71 | prompt "Board" | 68 | prompt "Board" |
72 | 69 | ||
73 | config TARGET_A10S_OLINUXINO_M | 70 | config TARGET_A10S_OLINUXINO_M |
74 | bool "A10S_OLINUXINO_M" | 71 | bool "A10S_OLINUXINO_M" |
75 | depends on MACH_SUN5I | 72 | depends on MACH_SUN5I |
76 | 73 | ||
77 | config TARGET_A13_OLINUXINOM | 74 | config TARGET_A13_OLINUXINOM |
78 | bool "A13_OLINUXINOM" | 75 | bool "A13_OLINUXINOM" |
79 | depends on MACH_SUN5I | 76 | depends on MACH_SUN5I |
80 | 77 | ||
81 | config TARGET_A13_OLINUXINO | 78 | config TARGET_A13_OLINUXINO |
82 | bool "A13_OLINUXINO" | 79 | bool "A13_OLINUXINO" |
83 | depends on MACH_SUN5I | 80 | depends on MACH_SUN5I |
84 | 81 | ||
85 | config TARGET_A20_OLINUXINO_L2 | 82 | config TARGET_A20_OLINUXINO_L2 |
86 | bool "A20_OLINUXINO_L2" | 83 | bool "A20_OLINUXINO_L2" |
87 | depends on MACH_SUN7I | 84 | depends on MACH_SUN7I |
88 | 85 | ||
89 | config TARGET_A20_OLINUXINO_L | 86 | config TARGET_A20_OLINUXINO_L |
90 | bool "A20_OLINUXINO_L" | 87 | bool "A20_OLINUXINO_L" |
91 | depends on MACH_SUN7I | 88 | depends on MACH_SUN7I |
92 | 89 | ||
93 | config TARGET_A20_OLINUXINO_M | 90 | config TARGET_A20_OLINUXINO_M |
94 | bool "A20_OLINUXINO_M" | 91 | bool "A20_OLINUXINO_M" |
95 | depends on MACH_SUN7I | 92 | depends on MACH_SUN7I |
96 | 93 | ||
97 | config TARGET_AUXTEK_T004 | 94 | config TARGET_AUXTEK_T004 |
98 | bool "AUXTEK_T004" | 95 | bool "AUXTEK_T004" |
99 | depends on MACH_SUN5I | 96 | depends on MACH_SUN5I |
100 | 97 | ||
101 | config TARGET_BANANAPI | 98 | config TARGET_BANANAPI |
102 | bool "BANANAPI" | 99 | bool "BANANAPI" |
103 | depends on MACH_SUN7I | 100 | depends on MACH_SUN7I |
104 | 101 | ||
105 | config TARGET_BANANAPRO | 102 | config TARGET_BANANAPRO |
106 | bool "BANANAPRO" | 103 | bool "BANANAPRO" |
107 | depends on MACH_SUN7I | 104 | depends on MACH_SUN7I |
108 | 105 | ||
109 | config TARGET_CUBIEBOARD2 | 106 | config TARGET_CUBIEBOARD2 |
110 | bool "CUBIEBOARD2" | 107 | bool "CUBIEBOARD2" |
111 | depends on MACH_SUN7I | 108 | depends on MACH_SUN7I |
112 | 109 | ||
113 | config TARGET_CUBIETRUCK | 110 | config TARGET_CUBIETRUCK |
114 | bool "CUBIETRUCK" | 111 | bool "CUBIETRUCK" |
115 | depends on MACH_SUN7I | 112 | depends on MACH_SUN7I |
116 | 113 | ||
117 | config TARGET_PCDUINO3 | 114 | config TARGET_PCDUINO3 |
118 | bool "PCDUINO3" | 115 | bool "PCDUINO3" |
119 | depends on MACH_SUN7I | 116 | depends on MACH_SUN7I |
120 | 117 | ||
121 | config TARGET_MELE_M3 | 118 | config TARGET_MELE_M3 |
122 | bool "MELE_M3" | 119 | bool "MELE_M3" |
123 | depends on MACH_SUN7I | 120 | depends on MACH_SUN7I |
124 | 121 | ||
125 | config TARGET_MK802_A10S | 122 | config TARGET_MK802_A10S |
126 | bool "MK802_A10S" | 123 | bool "MK802_A10S" |
127 | depends on MACH_SUN5I | 124 | depends on MACH_SUN5I |
128 | 125 | ||
129 | config TARGET_MSI_PRIMO73 | 126 | config TARGET_MSI_PRIMO73 |
130 | bool "MSI Primo73 (7\" tablet)" | 127 | bool "MSI Primo73 (7\" tablet)" |
131 | depends on MACH_SUN7I | 128 | depends on MACH_SUN7I |
132 | ---help--- | 129 | ---help--- |
133 | The MSI Primo73 is an A20 based tablet, with 1G RAM, 16G NAND, | 130 | The MSI Primo73 is an A20 based tablet, with 1G RAM, 16G NAND, |
134 | 1024x600 TN LCD display, mono speaker, 0.3 MP front camera, 2.0 MP | 131 | 1024x600 TN LCD display, mono speaker, 0.3 MP front camera, 2.0 MP |
135 | rear camera, 3000 mAh battery, gt911 touchscreen, mma8452 accelerometer | 132 | rear camera, 3000 mAh battery, gt911 touchscreen, mma8452 accelerometer |
136 | and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons | 133 | and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons |
137 | (both volume buttons are also connected to the UBOOT_SEL pin). The | 134 | (both volume buttons are also connected to the UBOOT_SEL pin). The |
138 | external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB | 135 | external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB |
139 | OTG and 3.5mm headphone jack. More details are available at | 136 | OTG and 3.5mm headphone jack. More details are available at |
140 | http://linux-sunxi.org/MSI_Primo73 | 137 | http://linux-sunxi.org/MSI_Primo73 |
141 | 138 | ||
142 | config TARGET_I12_TVBOX | 139 | config TARGET_I12_TVBOX |
143 | bool "I12_TVBOX" | 140 | bool "I12_TVBOX" |
144 | depends on MACH_SUN7I | 141 | depends on MACH_SUN7I |
145 | 142 | ||
146 | config TARGET_R7DONGLE | 143 | config TARGET_R7DONGLE |
147 | bool "R7DONGLE" | 144 | bool "R7DONGLE" |
148 | depends on MACH_SUN5I | 145 | depends on MACH_SUN5I |
149 | 146 | ||
150 | endchoice | 147 | endchoice |
151 | 148 | ||
152 | config SYS_BOARD | 149 | config SYS_BOARD |
153 | default "sunxi" | 150 | default "sunxi" |
154 | 151 | ||
155 | config SYS_SOC | 152 | config SYS_SOC |
156 | default "sunxi" | 153 | default "sunxi" |
157 | 154 | ||
158 | config SPL_FEL | 155 | config SPL_FEL |
159 | bool "SPL/FEL mode support" | 156 | bool "SPL/FEL mode support" |
160 | depends on SPL | 157 | depends on SPL |
161 | default n | 158 | default n |
162 | 159 | ||
163 | config UART0_PORT_F | 160 | config UART0_PORT_F |
164 | bool "UART0 on MicroSD breakout board" | 161 | bool "UART0 on MicroSD breakout board" |
165 | depends on SPL_FEL | 162 | depends on SPL_FEL |
166 | default n | 163 | default n |
167 | ---help--- | 164 | ---help--- |
168 | Repurpose the SD card slot for getting access to the UART0 serial | 165 | Repurpose the SD card slot for getting access to the UART0 serial |
169 | console. Primarily useful only for low level u-boot debugging on | 166 | console. Primarily useful only for low level u-boot debugging on |
170 | tablets, where normal UART0 is difficult to access and requires | 167 | tablets, where normal UART0 is difficult to access and requires |
171 | device disassembly and/or soldering. As the SD card can't be used | 168 | device disassembly and/or soldering. As the SD card can't be used |
172 | at the same time, the system can be only booted in the FEL mode. | 169 | at the same time, the system can be only booted in the FEL mode. |
173 | Only enable this if you really know what you are doing. | 170 | Only enable this if you really know what you are doing. |
174 | 171 | ||
175 | config FDTFILE | 172 | config FDTFILE |
176 | string "Default fdtfile env setting for this board" | 173 | string "Default fdtfile env setting for this board" |
177 | 174 | ||
178 | config OLD_SUNXI_KERNEL_COMPAT | 175 | config OLD_SUNXI_KERNEL_COMPAT |
179 | boolean "Enable workarounds for booting old kernels" | 176 | boolean "Enable workarounds for booting old kernels" |
180 | default n | 177 | default n |
181 | ---help--- | 178 | ---help--- |
182 | Set this to enable various workarounds for old kernels, this results in | 179 | Set this to enable various workarounds for old kernels, this results in |
183 | sub-optimal settings for newer kernels, only enable if needed. | 180 | sub-optimal settings for newer kernels, only enable if needed. |
184 | 181 | ||
185 | config MMC0_CD_PIN | 182 | config MMC0_CD_PIN |
186 | string "Card detect pin for mmc0" | 183 | string "Card detect pin for mmc0" |
187 | default "" | 184 | default "" |
188 | ---help--- | 185 | ---help--- |
189 | Set the card detect pin for mmc0, leave empty to not use cd. This | 186 | Set the card detect pin for mmc0, leave empty to not use cd. This |
190 | takes a string in the format understood by sunxi_name_to_gpio, e.g. | 187 | takes a string in the format understood by sunxi_name_to_gpio, e.g. |
191 | PH1 for pin 1 of port H. | 188 | PH1 for pin 1 of port H. |
192 | 189 | ||
193 | config MMC1_CD_PIN | 190 | config MMC1_CD_PIN |
194 | string "Card detect pin for mmc1" | 191 | string "Card detect pin for mmc1" |
195 | default "" | 192 | default "" |
196 | ---help--- | 193 | ---help--- |
197 | See MMC0_CD_PIN help text. | 194 | See MMC0_CD_PIN help text. |
198 | 195 | ||
199 | config MMC2_CD_PIN | 196 | config MMC2_CD_PIN |
200 | string "Card detect pin for mmc2" | 197 | string "Card detect pin for mmc2" |
201 | default "" | 198 | default "" |
202 | ---help--- | 199 | ---help--- |
203 | See MMC0_CD_PIN help text. | 200 | See MMC0_CD_PIN help text. |
204 | 201 | ||
205 | config MMC3_CD_PIN | 202 | config MMC3_CD_PIN |
206 | string "Card detect pin for mmc3" | 203 | string "Card detect pin for mmc3" |
207 | default "" | 204 | default "" |
208 | ---help--- | 205 | ---help--- |
209 | See MMC0_CD_PIN help text. | 206 | See MMC0_CD_PIN help text. |
210 | 207 | ||
211 | config MMC_SUNXI_SLOT_EXTRA | 208 | config MMC_SUNXI_SLOT_EXTRA |
212 | int "mmc extra slot number" | 209 | int "mmc extra slot number" |
213 | default -1 | 210 | default -1 |
214 | ---help--- | 211 | ---help--- |
215 | sunxi builds always enable mmc0, some boards also have a second sdcard | 212 | sunxi builds always enable mmc0, some boards also have a second sdcard |
216 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable | 213 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
217 | support for this. | 214 | support for this. |
218 | 215 | ||
219 | config USB0_VBUS_PIN | 216 | config USB0_VBUS_PIN |
220 | string "Vbus enable pin for usb0 (otg)" | 217 | string "Vbus enable pin for usb0 (otg)" |
221 | default "" | 218 | default "" |
222 | ---help--- | 219 | ---help--- |
223 | Set the Vbus enable pin for usb0 (otg). This takes a string in the | 220 | Set the Vbus enable pin for usb0 (otg). This takes a string in the |
224 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. | 221 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. |
225 | 222 | ||
226 | config USB1_VBUS_PIN | 223 | config USB1_VBUS_PIN |
227 | string "Vbus enable pin for usb1 (ehci0)" | 224 | string "Vbus enable pin for usb1 (ehci0)" |
228 | default "PH6" if MACH_SUN4I || MACH_SUN7I | 225 | default "PH6" if MACH_SUN4I || MACH_SUN7I |
229 | default "PH27" if MACH_SUN6I | 226 | default "PH27" if MACH_SUN6I |
230 | ---help--- | 227 | ---help--- |
231 | Set the Vbus enable pin for usb1 (ehci0, usb0 is the otg). This takes | 228 | Set the Vbus enable pin for usb1 (ehci0, usb0 is the otg). This takes |
232 | a string in the format understood by sunxi_name_to_gpio, e.g. | 229 | a string in the format understood by sunxi_name_to_gpio, e.g. |
233 | PH1 for pin 1 of port H. | 230 | PH1 for pin 1 of port H. |
234 | 231 | ||
235 | config USB2_VBUS_PIN | 232 | config USB2_VBUS_PIN |
236 | string "Vbus enable pin for usb2 (ehci1)" | 233 | string "Vbus enable pin for usb2 (ehci1)" |
237 | default "PH3" if MACH_SUN4I || MACH_SUN7I | 234 | default "PH3" if MACH_SUN4I || MACH_SUN7I |
238 | default "PH24" if MACH_SUN6I | 235 | default "PH24" if MACH_SUN6I |
239 | ---help--- | 236 | ---help--- |
240 | See USB1_VBUS_PIN help text. | 237 | See USB1_VBUS_PIN help text. |
241 | 238 | ||
242 | config VIDEO | 239 | config VIDEO |
243 | boolean "Enable graphical uboot console on HDMI, LCD or VGA" | 240 | boolean "Enable graphical uboot console on HDMI, LCD or VGA" |
244 | default y | 241 | default y |
245 | ---help--- | 242 | ---help--- |
246 | Say Y here to add support for using a cfb console on the HDMI, LCD | 243 | Say Y here to add support for using a cfb console on the HDMI, LCD |
247 | or VGA output found on most sunxi devices. See doc/README.video for | 244 | or VGA output found on most sunxi devices. See doc/README.video for |
248 | info on how to select the video output and mode. | 245 | info on how to select the video output and mode. |
249 | 246 | ||
250 | config VIDEO_HDMI | 247 | config VIDEO_HDMI |
251 | boolean "HDMI output support" | 248 | boolean "HDMI output support" |
252 | depends on VIDEO && !MACH_SUN8I | 249 | depends on VIDEO && !MACH_SUN8I |
253 | default y | 250 | default y |
254 | ---help--- | 251 | ---help--- |
255 | Say Y here to add support for outputting video over HDMI. | 252 | Say Y here to add support for outputting video over HDMI. |
256 | 253 | ||
257 | config VIDEO_VGA | 254 | config VIDEO_VGA |
258 | boolean "VGA output support" | 255 | boolean "VGA output support" |
259 | depends on VIDEO && (MACH_SUN4I || MACH_SUN7I) | 256 | depends on VIDEO && (MACH_SUN4I || MACH_SUN7I) |
260 | default n | 257 | default n |
261 | ---help--- | 258 | ---help--- |
262 | Say Y here to add support for outputting video over VGA. | 259 | Say Y here to add support for outputting video over VGA. |
263 | 260 | ||
264 | config VIDEO_VGA_VIA_LCD | 261 | config VIDEO_VGA_VIA_LCD |
265 | boolean "VGA via LCD controller support" | 262 | boolean "VGA via LCD controller support" |
266 | depends on VIDEO && (MACH_SUN5I || MACH_SUN6I || MACH_SUN8I) | 263 | depends on VIDEO && (MACH_SUN5I || MACH_SUN6I || MACH_SUN8I) |
267 | default n | 264 | default n |
268 | ---help--- | 265 | ---help--- |
269 | Say Y here to add support for external DACs connected to the parallel | 266 | Say Y here to add support for external DACs connected to the parallel |
270 | LCD interface driving a VGA connector, such as found on the | 267 | LCD interface driving a VGA connector, such as found on the |
271 | Olimex A13 boards. | 268 | Olimex A13 boards. |
272 | 269 | ||
273 | config VIDEO_VGA_EXTERNAL_DAC_EN | 270 | config VIDEO_VGA_EXTERNAL_DAC_EN |
274 | string "LCD panel power enable pin" | 271 | string "LCD panel power enable pin" |
275 | depends on VIDEO_VGA_VIA_LCD | 272 | depends on VIDEO_VGA_VIA_LCD |
276 | default "" | 273 | default "" |
277 | ---help--- | 274 | ---help--- |
278 | Set the enable pin for the external VGA DAC. This takes a string in the | 275 | Set the enable pin for the external VGA DAC. This takes a string in the |
279 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. | 276 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. |
280 | 277 | ||
281 | config VIDEO_LCD_MODE | 278 | config VIDEO_LCD_MODE |
282 | string "LCD panel timing details" | 279 | string "LCD panel timing details" |
283 | depends on VIDEO | 280 | depends on VIDEO |
284 | default "" | 281 | default "" |
285 | ---help--- | 282 | ---help--- |
286 | LCD panel timing details string, leave empty if there is no LCD panel. | 283 | LCD panel timing details string, leave empty if there is no LCD panel. |
287 | This is in drivers/video/videomodes.c: video_get_params() format, e.g. | 284 | This is in drivers/video/videomodes.c: video_get_params() format, e.g. |
288 | x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:0,vmode:0 | 285 | x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:0,vmode:0 |
289 | 286 | ||
290 | config VIDEO_LCD_DCLK_PHASE | 287 | config VIDEO_LCD_DCLK_PHASE |
291 | int "LCD panel display clock phase" | 288 | int "LCD panel display clock phase" |
292 | depends on VIDEO | 289 | depends on VIDEO |
293 | default 1 | 290 | default 1 |
294 | ---help--- | 291 | ---help--- |
295 | Select LCD panel display clock phase shift, range 0-3. | 292 | Select LCD panel display clock phase shift, range 0-3. |
296 | 293 | ||
297 | config VIDEO_LCD_POWER | 294 | config VIDEO_LCD_POWER |
298 | string "LCD panel power enable pin" | 295 | string "LCD panel power enable pin" |
299 | depends on VIDEO | 296 | depends on VIDEO |
300 | default "" | 297 | default "" |
301 | ---help--- | 298 | ---help--- |
302 | Set the power enable pin for the LCD panel. This takes a string in the | 299 | Set the power enable pin for the LCD panel. This takes a string in the |
303 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. | 300 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. |
304 | 301 | ||
305 | config VIDEO_LCD_BL_EN | 302 | config VIDEO_LCD_BL_EN |
306 | string "LCD panel backlight enable pin" | 303 | string "LCD panel backlight enable pin" |
307 | depends on VIDEO | 304 | depends on VIDEO |
308 | default "" | 305 | default "" |
309 | ---help--- | 306 | ---help--- |
310 | Set the backlight enable pin for the LCD panel. This takes a string in the | 307 | Set the backlight enable pin for the LCD panel. This takes a string in the |
311 | the format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of | 308 | the format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of |
312 | port H. | 309 | port H. |
313 | 310 | ||
314 | config VIDEO_LCD_BL_PWM | 311 | config VIDEO_LCD_BL_PWM |
315 | string "LCD panel backlight pwm pin" | 312 | string "LCD panel backlight pwm pin" |
316 | depends on VIDEO | 313 | depends on VIDEO |
317 | default "" | 314 | default "" |
318 | ---help--- | 315 | ---help--- |
319 | Set the backlight pwm pin for the LCD panel. This takes a string in the | 316 | Set the backlight pwm pin for the LCD panel. This takes a string in the |
320 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. | 317 | format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. |
321 | 318 | ||
322 | config VIDEO_LCD_BL_PWM_ACTIVE_LOW | 319 | config VIDEO_LCD_BL_PWM_ACTIVE_LOW |
323 | bool "LCD panel backlight pwm is inverted" | 320 | bool "LCD panel backlight pwm is inverted" |
324 | depends on VIDEO | 321 | depends on VIDEO |
325 | default y | 322 | default y |
326 | ---help--- | 323 | ---help--- |
327 | Set this if the backlight pwm output is active low. | 324 | Set this if the backlight pwm output is active low. |
328 | 325 | ||
329 | 326 | ||
330 | # Note only one of these may be selected at a time! But hidden choices are | 327 | # Note only one of these may be selected at a time! But hidden choices are |
331 | # not supported by Kconfig | 328 | # not supported by Kconfig |
332 | config VIDEO_LCD_IF_PARALLEL | 329 | config VIDEO_LCD_IF_PARALLEL |
333 | bool | 330 | bool |
334 | 331 | ||
335 | config VIDEO_LCD_IF_LVDS | 332 | config VIDEO_LCD_IF_LVDS |
336 | bool | 333 | bool |
337 | 334 | ||
338 | 335 | ||
339 | choice | 336 | choice |
340 | prompt "LCD panel support" | 337 | prompt "LCD panel support" |
341 | depends on VIDEO | 338 | depends on VIDEO |
342 | ---help--- | 339 | ---help--- |
343 | Select which type of LCD panel to support. | 340 | Select which type of LCD panel to support. |
344 | 341 | ||
345 | config VIDEO_LCD_PANEL_PARALLEL | 342 | config VIDEO_LCD_PANEL_PARALLEL |
346 | bool "Generic parallel interface LCD panel" | 343 | bool "Generic parallel interface LCD panel" |
347 | select VIDEO_LCD_IF_PARALLEL | 344 | select VIDEO_LCD_IF_PARALLEL |
348 | 345 | ||
349 | config VIDEO_LCD_PANEL_LVDS | 346 | config VIDEO_LCD_PANEL_LVDS |
350 | bool "Generic lvds interface LCD panel" | 347 | bool "Generic lvds interface LCD panel" |
351 | select VIDEO_LCD_IF_LVDS | 348 | select VIDEO_LCD_IF_LVDS |
352 | 349 | ||
353 | config VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828 | 350 | config VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828 |
354 | bool "MIPI 4-lane, 513Mbps LCD panel via SSD2828 bridge chip" | 351 | bool "MIPI 4-lane, 513Mbps LCD panel via SSD2828 bridge chip" |
355 | select VIDEO_LCD_SSD2828 | 352 | select VIDEO_LCD_SSD2828 |
356 | select VIDEO_LCD_IF_PARALLEL | 353 | select VIDEO_LCD_IF_PARALLEL |
357 | ---help--- | 354 | ---help--- |
358 | 7.85" 768x1024 LCD panels, such as LG LP079X01 or AUO B079XAN01.0 | 355 | 7.85" 768x1024 LCD panels, such as LG LP079X01 or AUO B079XAN01.0 |
359 | 356 | ||
360 | config VIDEO_LCD_PANEL_HITACHI_TX18D42VM | 357 | config VIDEO_LCD_PANEL_HITACHI_TX18D42VM |
361 | bool "Hitachi tx18d42vm LCD panel" | 358 | bool "Hitachi tx18d42vm LCD panel" |
362 | select VIDEO_LCD_HITACHI_TX18D42VM | 359 | select VIDEO_LCD_HITACHI_TX18D42VM |
363 | select VIDEO_LCD_IF_LVDS | 360 | select VIDEO_LCD_IF_LVDS |
364 | ---help--- | 361 | ---help--- |
365 | 7.85" 1024x768 Hitachi tx18d42vm LCD panel support | 362 | 7.85" 1024x768 Hitachi tx18d42vm LCD panel support |
366 | 363 | ||
367 | endchoice | 364 | endchoice |
368 | 365 | ||
369 | 366 | ||
370 | config USB_MUSB_SUNXI | 367 | config USB_MUSB_SUNXI |
371 | bool "Enable sunxi OTG / DRC USB controller in host mode" | 368 | bool "Enable sunxi OTG / DRC USB controller in host mode" |
372 | default n | 369 | default n |
373 | ---help--- | 370 | ---help--- |
374 | Say y here to enable support for the sunxi OTG / DRC USB controller | 371 | Say y here to enable support for the sunxi OTG / DRC USB controller |
375 | used on almost all sunxi boards. Note currently u-boot can only have | 372 | used on almost all sunxi boards. Note currently u-boot can only have |
376 | one usb host controller enabled at a time, so enabling this on boards | 373 | one usb host controller enabled at a time, so enabling this on boards |
377 | which also use the ehci host controller will result in build errors. | 374 | which also use the ehci host controller will result in build errors. |
378 | 375 | ||
379 | config USB_KEYBOARD | 376 | config USB_KEYBOARD |
380 | boolean "Enable USB keyboard support" | 377 | boolean "Enable USB keyboard support" |
381 | default y | 378 | default y |
382 | ---help--- | 379 | ---help--- |
383 | Say Y here to add support for using a USB keyboard (typically used | 380 | Say Y here to add support for using a USB keyboard (typically used |
384 | in combination with a graphical console). | 381 | in combination with a graphical console). |
385 | 382 | ||
386 | endif | 383 | endif |
387 | 384 |
board/sunxi/Makefile
1 | # | 1 | # |
2 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> | 2 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> |
3 | # | 3 | # |
4 | # Based on some other board Makefile | 4 | # Based on some other board Makefile |
5 | # | 5 | # |
6 | # (C) Copyright 2000-2003 | 6 | # (C) Copyright 2000-2003 |
7 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 7 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
8 | # | 8 | # |
9 | # SPDX-License-Identifier: GPL-2.0+ | 9 | # SPDX-License-Identifier: GPL-2.0+ |
10 | # | 10 | # |
11 | obj-y += board.o | 11 | obj-y += board.o |
12 | obj-$(CONFIG_SUNXI_GMAC) += gmac.o | 12 | obj-$(CONFIG_SUNXI_GMAC) += gmac.o |
13 | obj-$(CONFIG_SUNXI_AHCI) += ahci.o | 13 | obj-$(CONFIG_SUNXI_AHCI) += ahci.o |
14 | obj-$(CONFIG_MACH_SUN4I) += dram_sun4i_auto.o | 14 | obj-$(CONFIG_MACH_SUN4I) += dram_sun4i_auto.o |
15 | obj-$(CONFIG_MACH_SUN5I) += dram_sun5i_auto.o | ||
15 | obj-$(CONFIG_MACH_SUN7I) += dram_sun5i_auto.o | 16 | obj-$(CONFIG_MACH_SUN7I) += dram_sun5i_auto.o |
16 | obj-$(CONFIG_TARGET_A10S_OLINUXINO_M) += dram_a10s_olinuxino_m.o | ||
17 | obj-$(CONFIG_TARGET_A13_OLINUXINO) += dram_a13_olinuxino.o | ||
18 | obj-$(CONFIG_TARGET_A13_OLINUXINOM) += dram_a13_oli_micro.o | ||
19 | # This is not a typo, uses the same mem settings as the a10s-olinuxino-m | ||
20 | obj-$(CONFIG_TARGET_AUXTEK_T004) += dram_a10s_olinuxino_m.o | ||
21 | obj-$(CONFIG_TARGET_MK802_A10S) += dram_sun5i_auto.o | ||
22 | obj-$(CONFIG_TARGET_R7DONGLE) += dram_r7dongle.o |
board/sunxi/dram_a10s_olinuxino_m.c
1 | /* this file is generated, don't edit it yourself */ | File was deleted | |
2 | |||
3 | #include <common.h> | ||
4 | #include <asm/arch/dram.h> | ||
5 | |||
6 | static struct dram_para dram_para = { | ||
7 | .clock = 432, | ||
8 | .type = 3, | ||
9 | .rank_num = 1, | ||
10 | .density = 4096, | ||
11 | .io_width = 16, | ||
12 | .bus_width = 16, | ||
13 | .cas = 9, | ||
14 | .zq = 123, | ||
15 | .odt_en = 0, | ||
16 | .size = 512, | ||
17 | .tpr0 = 0x42d899b7, | ||
18 | .tpr1 = 0xa090, | ||
19 | .tpr2 = 0x22a00, | ||
20 | .tpr3 = 0, | ||
21 | .tpr4 = 0, | ||
22 | .tpr5 = 0, | ||
23 | .emr1 = 0x4, | ||
24 | .emr2 = 0x10, | ||
25 | .emr3 = 0, | ||
26 | }; | ||
27 | |||
28 | unsigned long sunxi_dram_init(void) | ||
29 | { | ||
30 | return dramc_init(&dram_para); | ||
31 | } | ||
32 | 1 | /* this file is generated, don't edit it yourself */ |
board/sunxi/dram_a13_oli_micro.c
1 | /* this file is generated, don't edit it yourself */ | File was deleted | |
2 | |||
3 | #include <common.h> | ||
4 | #include <asm/arch/dram.h> | ||
5 | |||
6 | static struct dram_para dram_para = { | ||
7 | .clock = 408, | ||
8 | .type = 3, | ||
9 | .rank_num = 1, | ||
10 | .density = 2048, | ||
11 | .io_width = 16, | ||
12 | .bus_width = 16, | ||
13 | .cas = 9, | ||
14 | .zq = 123, | ||
15 | .odt_en = 0, | ||
16 | .size = 256, | ||
17 | .tpr0 = 0x42d899b7, | ||
18 | .tpr1 = 0xa090, | ||
19 | .tpr2 = 0x22a00, | ||
20 | .tpr3 = 0, | ||
21 | .tpr4 = 0, | ||
22 | .tpr5 = 0, | ||
23 | .emr1 = 0, | ||
24 | .emr2 = 0x10, | ||
25 | .emr3 = 0, | ||
26 | |||
27 | }; | ||
28 | |||
29 | unsigned long sunxi_dram_init(void) | ||
30 | { | ||
31 | return dramc_init(&dram_para); | ||
32 | } | ||
33 | 1 | /* this file is generated, don't edit it yourself */ |
board/sunxi/dram_a13_olinuxino.c
1 | /* this file is generated, don't edit it yourself */ | File was deleted | |
2 | |||
3 | #include <common.h> | ||
4 | #include <asm/arch/dram.h> | ||
5 | |||
6 | static struct dram_para dram_para = { | ||
7 | .clock = 408, | ||
8 | .type = 3, | ||
9 | .rank_num = 1, | ||
10 | .density = 2048, | ||
11 | .io_width = 8, | ||
12 | .bus_width = 16, | ||
13 | .cas = 9, | ||
14 | .zq = 123, | ||
15 | .odt_en = 0, | ||
16 | .size = 512, | ||
17 | .tpr0 = 0x42d899b7, | ||
18 | .tpr1 = 0xa090, | ||
19 | .tpr2 = 0x22a00, | ||
20 | .tpr3 = 0, | ||
21 | .tpr4 = 0, | ||
22 | .tpr5 = 0, | ||
23 | .emr1 = 0, | ||
24 | .emr2 = 0x10, | ||
25 | .emr3 = 0, | ||
26 | }; | ||
27 | |||
28 | unsigned long sunxi_dram_init(void) | ||
29 | { | ||
30 | return dramc_init(&dram_para); | ||
31 | } | ||
32 | 1 | /* this file is generated, don't edit it yourself */ |
board/sunxi/dram_bananapi.c
1 | /* this file is generated, don't edit it yourself */ | File was deleted | |
2 | |||
3 | #include <common.h> | ||
4 | #include <asm/arch/dram.h> | ||
5 | |||
6 | static struct dram_para dram_para = { | ||
7 | .clock = 432, | ||
8 | .type = 3, | ||
9 | .rank_num = 1, | ||
10 | .density = 4096, | ||
11 | .io_width = 16, | ||
12 | .bus_width = 32, | ||
13 | .cas = 9, | ||
14 | .zq = 0x7f, | ||
15 | .odt_en = 0, | ||
16 | .size = 1024, | ||
17 | .tpr0 = 0x42d899b7, | ||
18 | .tpr1 = 0xa090, | ||
19 | .tpr2 = 0x22a00, | ||
20 | .tpr3 = 0x0, | ||
21 | .tpr4 = 0x1, | ||
22 | .tpr5 = 0x0, | ||
23 | .emr1 = 0x4, | ||
24 | .emr2 = 0x10, | ||
25 | .emr3 = 0x0, | ||
26 | }; | ||
27 | |||
28 | unsigned long sunxi_dram_init(void) | ||
29 | { | ||
30 | return dramc_init(&dram_para); | ||
31 | } | ||
32 | 1 | /* this file is generated, don't edit it yourself */ |
board/sunxi/dram_r7dongle.c
1 | /* this file is generated, don't edit it yourself */ | File was deleted | |
2 | |||
3 | #include <common.h> | ||
4 | #include <asm/arch/dram.h> | ||
5 | |||
6 | static struct dram_para dram_para = { | ||
7 | .clock = 384, | ||
8 | .type = 3, | ||
9 | .rank_num = 1, | ||
10 | .density = 2048, | ||
11 | .io_width = 8, | ||
12 | .bus_width = 32, | ||
13 | .cas = 9, | ||
14 | .zq = 123, | ||
15 | .odt_en = 0, | ||
16 | .size = 1024, | ||
17 | .tpr0 = 0x42d899b7, | ||
18 | .tpr1 = 0xa090, | ||
19 | .tpr2 = 0x22a00, | ||
20 | .tpr3 = 0, | ||
21 | .tpr4 = 0, | ||
22 | .tpr5 = 0, | ||
23 | .emr1 = 0x04, | ||
24 | .emr2 = 0x10, | ||
25 | .emr3 = 0, | ||
26 | }; | ||
27 | |||
28 | unsigned long sunxi_dram_init(void) | ||
29 | { | ||
30 | return dramc_init(&dram_para); | ||
31 | } | ||
32 | 1 | /* this file is generated, don't edit it yourself */ |
configs/A10s-OLinuXino-M_defconfig
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,SUNXI_EMAC,USB_EHCI" | 2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,SUNXI_EMAC,USB_EHCI" |
3 | CONFIG_FDTFILE="sun5i-a10s-olinuxino-micro.dtb" | 3 | CONFIG_FDTFILE="sun5i-a10s-olinuxino-micro.dtb" |
4 | CONFIG_MMC_SUNXI_SLOT_EXTRA=1 | 4 | CONFIG_MMC_SUNXI_SLOT_EXTRA=1 |
5 | CONFIG_USB1_VBUS_PIN="PB10" | 5 | CONFIG_USB1_VBUS_PIN="PB10" |
6 | +S:CONFIG_MMC0_CD_PIN="PG1" | 6 | +S:CONFIG_MMC0_CD_PIN="PG1" |
7 | +S:CONFIG_MMC1_CD_PIN="PG13" | 7 | +S:CONFIG_MMC1_CD_PIN="PG13" |
8 | +S:CONFIG_ARM=y | 8 | +S:CONFIG_ARM=y |
9 | +S:CONFIG_ARCH_SUNXI=y | 9 | +S:CONFIG_ARCH_SUNXI=y |
10 | +S:CONFIG_MACH_SUN5I=y | 10 | +S:CONFIG_MACH_SUN5I=y |
11 | +S:CONFIG_TARGET_A10S_OLINUXINO_M=y | 11 | +S:CONFIG_TARGET_A10S_OLINUXINO_M=y |
12 | +S:CONFIG_DRAM_CLK=432 | ||
13 | +S:CONFIG_DRAM_ZQ=123 | ||
14 | +S:CONFIG_DRAM_EMR1=4 | ||
12 | 15 |
configs/A13-OLinuXinoM_defconfig
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,USB_EHCI" | 2 | CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,USB_EHCI" |
3 | CONFIG_FDTFILE="sun5i-a13-olinuxino-micro.dtb" | 3 | CONFIG_FDTFILE="sun5i-a13-olinuxino-micro.dtb" |
4 | CONFIG_USB1_VBUS_PIN="PG11" | 4 | CONFIG_USB1_VBUS_PIN="PG11" |
5 | CONFIG_VIDEO_HDMI=n | 5 | CONFIG_VIDEO_HDMI=n |
6 | CONFIG_VIDEO_VGA_VIA_LCD=y | 6 | CONFIG_VIDEO_VGA_VIA_LCD=y |
7 | # For use with the Olimex 7" LCD module, adjust timings for other displays | 7 | # For use with the Olimex 7" LCD module, adjust timings for other displays |
8 | # Set video-mode=sunxi:800x600-24@60,monitor=lcd in the env. to enable | 8 | # Set video-mode=sunxi:800x600-24@60,monitor=lcd in the env. to enable |
9 | CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:3,vmode:0" | 9 | CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:3,vmode:0" |
10 | CONFIG_VIDEO_LCD_POWER="PB10" | 10 | CONFIG_VIDEO_LCD_POWER="PB10" |
11 | CONFIG_VIDEO_LCD_BL_PWM="PB2" | 11 | CONFIG_VIDEO_LCD_BL_PWM="PB2" |
12 | +S:CONFIG_ARM=y | 12 | +S:CONFIG_ARM=y |
13 | +S:CONFIG_ARCH_SUNXI=y | 13 | +S:CONFIG_ARCH_SUNXI=y |
14 | +S:CONFIG_MACH_SUN5I=y | 14 | +S:CONFIG_MACH_SUN5I=y |
15 | +S:CONFIG_TARGET_A13_OLINUXINOM=y | 15 | +S:CONFIG_TARGET_A13_OLINUXINOM=y |
16 | +S:CONFIG_DRAM_CLK=408 | ||
17 | +S:CONFIG_DRAM_ZQ=123 | ||
18 | +S:CONFIG_DRAM_EMR1=0 | ||
16 | 19 |
configs/A13-OLinuXino_defconfig
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,AXP209_POWER,USB_EHCI" | 2 | CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,AXP209_POWER,USB_EHCI" |
3 | CONFIG_FDTFILE="sun5i-a13-olinuxino.dtb" | 3 | CONFIG_FDTFILE="sun5i-a13-olinuxino.dtb" |
4 | CONFIG_USB1_VBUS_PIN="PG11" | 4 | CONFIG_USB1_VBUS_PIN="PG11" |
5 | CONFIG_VIDEO_HDMI=n | 5 | CONFIG_VIDEO_HDMI=n |
6 | CONFIG_VIDEO_VGA_VIA_LCD=y | 6 | CONFIG_VIDEO_VGA_VIA_LCD=y |
7 | # For use with the Olimex 7" LCD module, adjust timings for other displays | 7 | # For use with the Olimex 7" LCD module, adjust timings for other displays |
8 | # Set video-mode=sunxi:800x600-24@60,monitor=lcd in the env. to enable | 8 | # Set video-mode=sunxi:800x600-24@60,monitor=lcd in the env. to enable |
9 | CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:3,vmode:0" | 9 | CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:3,vmode:0" |
10 | CONFIG_VIDEO_LCD_POWER="AXP0-0" | 10 | CONFIG_VIDEO_LCD_POWER="AXP0-0" |
11 | CONFIG_VIDEO_LCD_BL_PWM="PB2" | 11 | CONFIG_VIDEO_LCD_BL_PWM="PB2" |
12 | +S:CONFIG_ARM=y | 12 | +S:CONFIG_ARM=y |
13 | +S:CONFIG_ARCH_SUNXI=y | 13 | +S:CONFIG_ARCH_SUNXI=y |
14 | +S:CONFIG_MACH_SUN5I=y | 14 | +S:CONFIG_MACH_SUN5I=y |
15 | +S:CONFIG_TARGET_A13_OLINUXINO=y | 15 | +S:CONFIG_TARGET_A13_OLINUXINO=y |
16 | +S:CONFIG_DRAM_CLK=408 | ||
17 | +S:CONFIG_DRAM_ZQ=123 | ||
18 | +S:CONFIG_DRAM_EMR1=0 | ||
16 | 19 |
configs/Auxtek-T004_defconfig
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI" | 2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI" |
3 | CONFIG_FDTFILE="sun5i-a10s-auxtek-t004.dtb" | 3 | CONFIG_FDTFILE="sun5i-a10s-auxtek-t004.dtb" |
4 | CONFIG_USB1_VBUS_PIN="PG13" | 4 | CONFIG_USB1_VBUS_PIN="PG13" |
5 | +S:CONFIG_ARM=y | 5 | +S:CONFIG_ARM=y |
6 | +S:CONFIG_ARCH_SUNXI=y | 6 | +S:CONFIG_ARCH_SUNXI=y |
7 | +S:CONFIG_MACH_SUN5I=y | 7 | +S:CONFIG_MACH_SUN5I=y |
8 | +S:CONFIG_TARGET_AUXTEK_T004=y | 8 | +S:CONFIG_TARGET_AUXTEK_T004=y |
9 | +S:CONFIG_DRAM_CLK=432 | ||
10 | +S:CONFIG_DRAM_ZQ=123 | ||
11 | +S:CONFIG_DRAM_EMR1=4 | ||
9 | 12 |
configs/r7-tv-dongle_defconfig
1 | CONFIG_SPL=y | 1 | CONFIG_SPL=y |
2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI" | 2 | CONFIG_SYS_EXTRA_OPTIONS="AXP152_POWER,USB_EHCI" |
3 | CONFIG_FDTFILE="sun5i-a10s-r7-tv-dongle.dtb" | 3 | CONFIG_FDTFILE="sun5i-a10s-r7-tv-dongle.dtb" |
4 | CONFIG_USB1_VBUS_PIN="PG13" | 4 | CONFIG_USB1_VBUS_PIN="PG13" |
5 | +S:CONFIG_ARM=y | 5 | +S:CONFIG_ARM=y |
6 | +S:CONFIG_ARCH_SUNXI=y | 6 | +S:CONFIG_ARCH_SUNXI=y |
7 | +S:CONFIG_MACH_SUN5I=y | 7 | +S:CONFIG_MACH_SUN5I=y |
8 | +S:CONFIG_TARGET_R7DONGLE=y | 8 | +S:CONFIG_TARGET_R7DONGLE=y |
9 | +S:CONFIG_DRAM_CLK=384 | ||
10 | +S:CONFIG_DRAM_ZQ=123 | ||
11 | +S:CONFIG_DRAM_EMR1=4 | ||
9 | 12 |