1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Ulrich Pegelow
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
24 #include "m5636-target.h"
26 /* Disclaimer: This code had to be developed without any documentation for the
27 M5636 USBOTG chip, due to the restrictive information policy of
29 The development is solely based on reverse engineering.
30 Malfunctioning (with the risk of possible damage to the
31 hardware) can not be fully excluded.
32 USE THIS CODE AT YOUR OWN RISK!
35 /* Init: This currently just puts the M5636 into sleep mode */
41 M5636_4068
|= 0x0003; /* ???? */
42 M5636_4068
|= 0x0080; /* ???? */
43 M5636_4078
|= 0x0001; /* ???? */