summaryrefslogtreecommitdiffstats
path: root/cf-code
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-13 17:12:35 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-13 17:12:35 +1000
commit67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8 (patch)
tree7af93e94a4787dcd62ebd6574580e30a3511cef9 /cf-code
parentbddeeae3cc2f31400d41dd27a4dd7e4f2156565d (diff)
downloadcf-fsi-67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8.tar.gz
cf-fsi-67cbe2dec8f80bfad01c28b0eee2fdced4b2cca8.zip
Add palmetto definition file
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code')
-rw-r--r--cf-code/cf-fsi-palmetto.h15
1 files changed, 15 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
OpenPOWER on IntegriCloud