beagleboard: add support for xM revision C
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 17 Jun 2011 07:37:37 +0000 (09:37 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:19 +0000 (11:36 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/ti/beagle/beagle.c
board/ti/beagle/beagle.h

index 15d061a0082aa1dc87c54e23551f8e3503ce08c9..776890104fc1b6630e0ab043638e7e1606125c46 100644 (file)
@@ -216,6 +216,16 @@ int misc_init_r(void)
                                        TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
                                        TWL4030_PM_RECEIVER_DEV_GRP_P1);
                break;
+       case REVISION_XM_C:
+               printf("Beagle xM Rev C\n");
+               setenv("beaglerev", "xMC");
+               MUX_BEAGLE_XM();
+               /* Set VAUX2 to 1.8V for EHCI PHY */
+               twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED,
+                                       TWL4030_PM_RECEIVER_VAUX2_VSEL_18,
+                                       TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
+                                       TWL4030_PM_RECEIVER_DEV_GRP_P1);
+               break;
        default:
                printf("Beagle unknown 0x%02x\n", get_board_revision());
                MUX_BEAGLE_XM();
index a7401b1e7ceb21f3ff572e51648ab3fbae2516a2..04247cdd1c67c49818194bce479aa69c7de1eb57 100644 (file)
@@ -39,6 +39,7 @@ const omap3_sysinfo sysinfo = {
 #define REVISION_C4    0x5
 #define REVISION_XM_A  0x0
 #define REVISION_XM_B  0x1
+#define REVISION_XM_C  0x2
 
 /*
  * IEN  - Input Enable