ARM: dts: tegra: add sata connector property node
Preetham Chandru R [Thu, 11 Dec 2014 04:58:49 +0000 (09:58 +0530)]
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>

arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
arch/arm/boot/dts/tegra124.dtsi
include/dt-bindings/ata/ahci-tegra.h [new file with mode: 0644]

index c4c9b97..87dbc0f 100644 (file)
@@ -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>;
index 8209f50..36f936b 100644 (file)
@@ -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 (file)
index 0000000..2d1fad4
--- /dev/null
@@ -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
+