diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-13 17:12:35 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-13 17:12:35 +1000 |
commit | 67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8 (patch) | |
tree | 7af93e94a4787dcd62ebd6574580e30a3511cef9 | |
parent | bddeeae3cc2f31400d41dd27a4dd7e4f2156565d (diff) | |
download | cf-fsi-67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8.tar.gz cf-fsi-67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8.zip |
Add palmetto definition file
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | cf-code/cf-fsi-palmetto.h | 15 | ||||
-rw-r--r-- | cf-fsi-fw.h | 1 |
2 files changed, 16 insertions, 0 deletions
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 */ |