#include <asm/io.h>
#endif
+#ifdef IOMEM
#define RK_IO_ADDRESS(x) IOMEM(0xFED00000 + x)
+#else
+#define RK_IO_ADDRESS(x) ((void __force __iomem *)(0xFED00000 + x))
+#endif
#define RK_CRU_VIRT RK_IO_ADDRESS(0x00000000)
#define RK_GRF_VIRT RK_IO_ADDRESS(0x00010000)
#define RK3036_GPIO_SIZE SZ_4K
#define RK3036_EFUSE_PHYS 0x20090000
#define RK3036_EFUSE_SIZE SZ_4K
+#define RK3036_PWM_PHYS 0x20050000
+#define RK3036_PWM_SIZE SZ_16K
#define RK312X_IMEM_PHYS RK3036_IMEM_PHYS
#define RK312X_IMEM_SIZE RK3036_IMEM_SIZE