From 67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 13 Jun 2018 17:12:35 +1000 Subject: Add palmetto definition file Signed-off-by: Benjamin Herrenschmidt --- cf-code/cf-fsi-palmetto.h | 15 +++++++++++++++ cf-fsi-fw.h | 1 + 2 files changed, 16 insertions(+) create mode 100644 cf-code/cf-fsi-palmetto.h diff --git a/cf-code/cf-fsi-palmetto.h b/cf-code/cf-fsi-palmetto.h new file mode 100644 index 0000000..1fb1f30 --- /dev/null +++ b/cf-code/cf-fsi-palmetto.h @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +#define CLOCK_GPIO_VREG 0x000 +#define CLOCK_GPIO_DREG 0x0c0 +#define CLOCK_GPIO_BIT 4 +#define DATA_GPIO_VREG 0x000 +#define DATA_GPIO_DREG 0x0c0 +#define DATA_GPIO_BIT 5 +#define TRANS_GPIO_VREG 0x020 +#define TRANS_GPIO_DREG 0x0c4 +#define TRANS_GPIO_BIT 30 + +#define SYS_SIG SYS_SIG_PALMETTO + +#define CONTINUOUS_CLOCKING +#define EXTRA_DUMMY_READ diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h index 9356a41..ac89eba 100644 --- a/cf-fsi-fw.h +++ b/cf-fsi-fw.h @@ -27,6 +27,7 @@ #define HDR_SYS_SIG 0x00 /* 2 bytes system signature */ #define SYS_SIG_ROMULUS 0x526d /* 'Rm' */ #define SYS_SIG_WITHERSPOON 0x5773 /* 'Ws' */ +#define SYS_SIG_PALMETTO 0x5061 /* 'Pa' */ #define HDR_FW_VERS 0x02 /* 2 bytes Major.Minor */ #define HDR_API_VERS 0x04 /* 2 bytes Major.Minor */ #define API_VERSION_MAJ 1 /* Current version */ -- cgit v1.2.1