67 lines
1.9 KiB
Diff
67 lines
1.9 KiB
Diff
|
From c17f82786ad7164681f1575296563d7fb61668a5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
||
|
Date: Fri, 10 Nov 2017 14:33:28 +0100
|
||
|
Subject: [PATCH 020/389] ARM: dts: sun8i-a83t-tbs-a711: Add PN544 NFC support
|
||
|
|
||
|
Regulators on the schematic are named incorrectly. Both cameras are
|
||
|
is in fact connected to the dvdd-csi-f regulator and dvdd-csi-r is
|
||
|
in reality used for digital pad supply for NFC chip.
|
||
|
|
||
|
At the same time vcc-mipi regulator is not used for MIPI, but for NFC
|
||
|
VBAT power.
|
||
|
|
||
|
Interpreting schematics is an art form! :D
|
||
|
|
||
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||
|
---
|
||
|
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 18 +++++++++++++++---
|
||
|
1 file changed, 15 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
||
|
index 5c82f2617f8e..27fadde82be7 100644
|
||
|
--- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
||
|
+++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
||
|
@@ -195,6 +195,16 @@ accelerometer@18 {
|
||
|
interrupt-parent = <&pio>;
|
||
|
interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */
|
||
|
};
|
||
|
+
|
||
|
+ /* NFC (NPC 100) */
|
||
|
+ npc100: nfc@28 {
|
||
|
+ compatible = "nxp,nxp-nci-i2c";
|
||
|
+ reg = <0x28>;
|
||
|
+ interrupt-parent = <&r_pio>;
|
||
|
+ interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; /* PL6 */
|
||
|
+ enable-gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
|
||
|
+ firmware-gpios = <&pio 3 3 GPIO_ACTIVE_HIGH>; /* PD3 */
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
&mmc0 {
|
||
|
@@ -377,9 +387,10 @@ ®_dldo1 {
|
||
|
};
|
||
|
|
||
|
®_dldo2 {
|
||
|
- regulator-min-microvolt = <2800000>;
|
||
|
+ regulator-min-microvolt = <3300000>;
|
||
|
regulator-max-microvolt = <4200000>;
|
||
|
- regulator-name = "vcc-mipi";
|
||
|
+ regulator-name = "vbat-nfc";
|
||
|
+ regulator-always-on;
|
||
|
};
|
||
|
|
||
|
®_dldo3 {
|
||
|
@@ -402,7 +413,8 @@ ®_drivevbus {
|
||
|
®_eldo1 {
|
||
|
regulator-min-microvolt = <1200000>;
|
||
|
regulator-max-microvolt = <1800000>;
|
||
|
- regulator-name = "dvdd-csi-r";
|
||
|
+ regulator-name = "pvdd-nfc";
|
||
|
+ regulator-always-on;
|
||
|
};
|
||
|
|
||
|
®_eldo2 {
|
||
|
--
|
||
|
2.35.3
|
||
|
|