summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-04-09 15:12:37 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:44:49 +0900
commite8e8c7f2768fb937aa4949281eb44a172bc8ee80 (patch)
tree5b4384a1f9f58d28d1c68ea42ccdce8e3cd40c1e
parentc29f3ce4afddda1f62aa28b21483b5cc9e4bafa8 (diff)
LOCAL / arm64: dts: exynos5433-tm2: add sec-nfc node
Add sec-nfc node for TM2 board to enable NFC feature. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--arch/arm64/boot/dts/exynos/exynos5433-tm2.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
index a4f3a3f7f946..4c38cc9f1cb4 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
@@ -754,6 +754,30 @@
max86900,hrm_en-gpio = <&gpr3 3 0>;
max86900,dual-hrm = <1>;
};
+
+ sec-nfc@27 {
+ compatible = "sec-nfc";
+ reg = <0x27>;
+
+ interrupts = <3 0 0>;
+ interrupt-parent = <&gpa1>;
+
+ sec-nfc,ven-gpio = <&gpf1 4 0>;
+ sec-nfc,irq-gpio = <&gpa1 3 0>;
+ sec-nfc,firm-gpio = <&gpj0 2 0>;
+ sec-nfc,clk_req-gpio = <&gpa0 0 0xf>;
+ sec-nfc,clk_use = <2>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&fimc_is_ch1_mclk &nfc_n5_en>;
+ clock-names = "sclk_isp_sensor1",
+ "mout_sclk_isp_sensor1",
+ "dout_sclk_isp_sensor1_a",
+ "dout_sclk_isp_sensor1_b";
+ clocks = <&cmu_top CLK_SCLK_ISP_SENSOR1>,
+ <&cmu_top CLK_MOUT_SCLK_ISP_SENSOR1>,
+ <&cmu_top CLK_DIV_SCLK_ISP_SENSOR1_A>,
+ <&cmu_top CLK_DIV_SCLK_ISP_SENSOR1_B>;
+ };
};
&hsi2c_8 {
@@ -1210,6 +1234,13 @@
PIN(IN, gpf5-6, DOWN, LV1); /* NC */
PIN(IN, gpf5-7, DOWN, LV1); /* COMPANION_RSTN */
};
+
+ nfc_n5_en: nfc-n5-en {
+ samsung,pins = "gpf1-4";
+ samsung,pin-function = <1>;
+ samsung,pin-pud = <3>;
+ samsung,pin-val = <1>;
+ };
};
&pinctrl_cpif {