summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/system-dm320.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/system-dm320.c')
-rw-r--r--firmware/target/arm/tms320dm320/system-dm320.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c
index c189a873fe..58137ff102 100644
--- a/firmware/target/arm/tms320dm320/system-dm320.c
+++ b/firmware/target/arm/tms320dm320/system-dm320.c
@@ -199,6 +199,16 @@ void system_exception_wait(void)
199 199
200void system_init(void) 200void system_init(void)
201{ 201{
202 /* Pin 33 is connected to a buzzer, for an annoying sound set
203 * PWM0C == 0x3264
204 * PWM0H == 0x1932
205 * Function to 1
206 * Since this is not used in the FW, set it to a normal output at a zero
207 * level. */
208 /* 33: output, non-inverted, no-irq, falling edge, no-chat, normal */
209 dm320_set_io(33, false, false, false, false, false, 0x00);
210 IO_GIO_BITCLR2 = 1<<1;
211
202 /* taken from linux/arch/arm/mach-itdm320-20/irq.c */ 212 /* taken from linux/arch/arm/mach-itdm320-20/irq.c */
203 213
204 /* Clearing all FIQs and IRQs. */ 214 /* Clearing all FIQs and IRQs. */