]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/ulcb/cpld.c
ARM: rmobile: Fixup ULCB CPLD support after PFC rework
[people/ms/u-boot.git] / board / renesas / ulcb / cpld.c
index f9384b09efc9dd1f590b824d690fba08c8cd6e16..a1fecf18e5e6f26c1dcb335f4cb012f3e1ff31e5 100644 (file)
 #include <asm/io.h>
 #include <asm/gpio.h>
 
-#define SCLK                   GPIO_GP_6_8
-#define SSTBZ                  GPIO_GP_2_3
-#define MOSI                   GPIO_GP_6_7
-#define MISO                   GPIO_GP_6_10
+#define SCLK                   (192 + 8)       /* GPIO6 8 */
+#define SSTBZ                  (64 + 3)        /* GPIO2 3 */
+#define MOSI                   (192 + 7)       /* GPIO6 8 */
+#define MISO                   (192 + 10)      /* GPIO6 10 */
 
 #define CPLD_ADDR_MODE         0x00 /* RW */
 #define CPLD_ADDR_MUX          0x02 /* RW */