I think it is literal. Some of revelation is literal and but most of it a figure of speech. The mark is a literal mark identified as a chip of some sorts. The battle of Armageddon is not both literal and figurative, we wont actually see demons but they will have inhabited people to battle against God. The battle against God is demon inspired.