summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreetham Chandru R <pchandru@nvidia.com>2014-12-11 10:28:49 +0530
committerMatthew Pedro <mapedro@nvidia.com>2014-12-18 13:38:35 -0800
commitdf01beaacffd066cb685933245ddf51ddad63e4c (patch)
tree42b4a775d759166d5f79c68bf5b4e0d502828fa1
parent54563fc85adf08d34359d2538a3254d9bea90eb5 (diff)
ARM: dts: tegra: add sata connector property node
Bug 1557711 Change-Id: I25dd3b4efb8e25c010f0173b8509785ebb9a9a3d Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/662418 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
-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
+