summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts1
-rw-r--r--arch/arm/boot/dts/tegra124.dtsi1
-rw-r--r--include/dt-bindings/ata/ahci-tegra.h28
3 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts b/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
index c4c9b97ba425..87dbc0fc389e 100644
--- a/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
+++ b/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
@@ -98,6 +98,7 @@
sata@0x70020000 {
nvidia,enable-sata-port;
+ nvidia,sata-connector-type=<STANDARD_SATA>;
vdd_sata-supply = <&as3722_sd4>;
avdd_sata_pll-supply =<&as3722_sd4>;
avdd_sata-supply = <&as3722_sd4>;
diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi
index 8209f509f713..36f936b44aa3 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -1,6 +1,7 @@
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/ata/ahci-tegra.h>
/include/ "tegra124-soc.dtsi"
diff --git a/include/dt-bindings/ata/ahci-tegra.h b/include/dt-bindings/ata/ahci-tegra.h
new file mode 100644
index 000000000000..2d1fad4796a7
--- /dev/null
+++ b/include/dt-bindings/ata/ahci-tegra.h
@@ -0,0 +1,28 @@
+/*
+ * This header provides macros for Tegra AHCI bindings.
+ *
+ * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ */
+
+#ifndef _DT_BINDINGS_TEGRA_AHCI_H
+#define _DT_BINDINGS_TEGRA_AHCI_H
+
+#define MINI_SATA 0
+#define MICRO_SATA 1
+#define SLIMLINE_SATA 2
+#define E_SATA 3
+#define E_SATA_P 4
+#define SATA_EXPRESS 5
+#define STANDARD_SATA 6
+
+#endif
+