summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/prcm.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-29 12:38:35 (GMT)
committerHans de Goede <hdegoede@redhat.com>2015-01-14 13:56:36 (GMT)
commit66ebea06f71a85552b7339d1b03ec1a092dc6c70 (patch)
tree43494b5240df365bf20f78d77b09390afd18b229 /arch/arm/include/asm/arch-sunxi/prcm.h
parentce881076fc51f281ab28b2a1fde370f10b0c41eb (diff)
downloadu-boot-fsl-qoriq-66ebea06f71a85552b7339d1b03ec1a092dc6c70.tar.xz
sunxi: Add support for the rsb (Reduced Serial Bus)
sun8i (A23) introduces a new bus for communicating with the pmic, the rsb, the rsb is also used to communicate with the pmic on the A80, and is documented in the A80 user manual. This commit adds support for this based on the rsb driver from the allwinner u-boot sources. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/prcm.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/prcm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/prcm.h b/arch/arm/include/asm/arch-sunxi/prcm.h
index 88de1ff..82ed541 100644
--- a/arch/arm/include/asm/arch-sunxi/prcm.h
+++ b/arch/arm/include/asm/arch-sunxi/prcm.h
@@ -50,7 +50,8 @@
#define PRCM_APB0_GATE_PIO (0x1 << 0)
#define PRCM_APB0_GATE_IR (0x1 << 1)
#define PRCM_APB0_GATE_TIMER01 (0x1 << 2)
-#define PRCM_APB0_GATE_P2WI (0x1 << 3)
+#define PRCM_APB0_GATE_P2WI (0x1 << 3) /* sun6i */
+#define PRCM_APB0_GATE_RSB (0x1 << 3) /* sun8i */
#define PRCM_APB0_GATE_UART (0x1 << 4)
#define PRCM_APB0_GATE_1WIRE (0x1 << 5)
#define PRCM_APB0_GATE_I2C (0x1 << 6)