summaryrefslogtreecommitdiff
path: root/arch/arm/dts/salvator-common.dtsi
diff options
context:
space:
mode:
authorEugeniu Rosca <erosca@de.adit-jv.com>2019-07-09 18:27:13 +0200
committerMarek Vasut <marex@denx.de>2019-07-23 13:38:23 +0200
commit89c00f009ca8107d80834513877bc4ddd0ab2f5b (patch)
treec3d488619ce9e61badcbae573b1d69b7ba2f36c4 /arch/arm/dts/salvator-common.dtsi
parent70f3b164a6e18f6702db06754129efe8284bc9fc (diff)
ARM: dts: rmobile: Synchronize Gen3 DTs with Linux 5.2
Backport and squash below Linux 5.2 commits for R-Car Gen3: Commit id * Summary line 6fffb98645e67b5 arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander b068ed6efe6244d arm64: dts: renesas: r8a77990: Fix SPDX license identifier style 96c25882252704d ! arm64: dts: renesas: r8a7796: remove unneeded sound #address/size-cells 71ac75dffdae2f8 arm64: dts: renesas: r8a77990: ebisu: Enable LVDS1 encoder 9a0ff5c727b60a3 arm64: dts: renesas: r8a77995: draak: Enable LVDS1 encoder 9130c15829846fa arm64: dts: renesas: ebisu: Fix adv7482 hexadecimal register address 191f7dcd1f5ea1f arm64: dts: renesas: r8a77965: add SSIU support for sound a8f6110e64422d5 arm64: dts: renesas: ebisu: Enable VIN5 4162aa9db3d4469 arm64: dts: renesas: r8a77995: draak: Enable CAN0, CAN1 af965ba3248edde arm64: dts: renesas: r8a77990: Remove invalid compatible value for CSI40 1f4c123a98098cc arm64: dts: renesas: r8a77990-ebisu: Add BD9571 PMIC 474706117c2baa6 arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config e2fa79de7ecbef4 arm64: dts: renesas: Update Ebisu and Draak bootargs de8e8daaf7190ef arm64: dts: renesas: salvator-common: Sort node label 05f1d882d28b871 arm64: dts: renesas: r8a77995: draak: Fix EthernetAVB phy mode to rgmii 7a516e49d975311 arm64: dts: renesas: use extended audio dmac register e3414b8c45afa5c arm64: dts: renesas: salvator-common: Add GPIO keys support 720066d17c973fd arm64: dts: renesas: r8a7795: Add CMT device nodes 99cb95103e2d058 arm64: dts: renesas: r8a77965: Add CMT device nodes 28a5c61b5136d58 arm64: dts: renesas: r8a77990: Add CMT device nodes 32d622f3290b2a1 arm64: dts: renesas: r8a77965: Remove reg-names of display node (*) Patch id mismatch between Linux and U-Boot commit. [!] Dropped changes in arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts, since the file doesn't exist in the U-Boot tree. Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Diffstat (limited to 'arch/arm/dts/salvator-common.dtsi')
-rw-r--r--arch/arm/dts/salvator-common.dtsi73
1 files changed, 68 insertions, 5 deletions
diff --git a/arch/arm/dts/salvator-common.dtsi b/arch/arm/dts/salvator-common.dtsi
index a225c24572..2dba1328ac 100644
--- a/arch/arm/dts/salvator-common.dtsi
+++ b/arch/arm/dts/salvator-common.dtsi
@@ -29,6 +29,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
/ {
aliases {
@@ -86,6 +87,63 @@
};
};
+ keys {
+ compatible = "gpio-keys";
+
+ pinctrl-0 = <&keys_pins>;
+ pinctrl-names = "default";
+
+ key-1 {
+ gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_1>;
+ label = "SW4-1";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-2 {
+ gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_2>;
+ label = "SW4-2";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-3 {
+ gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_3>;
+ label = "SW4-3";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-4 {
+ gpios = <&gpio5 23 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_4>;
+ label = "SW4-4";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-a {
+ gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_A>;
+ label = "TSW0";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-b {
+ gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_B>;
+ label = "TSW1";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ key-c {
+ gpios = <&gpio6 13 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_C>;
+ label = "TSW2";
+ wakeup-source;
+ debounce-interval = <20>;
+ };
+ };
+
reg_1p8v: regulator0 {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
@@ -572,6 +630,11 @@
function = "intc_ex";
};
+ keys_pins: keys {
+ pins = "GP_5_17", "GP_5_20", "GP_5_22";
+ bias-pull-up;
+ };
+
pwm1_pins: pwm1 {
groups = "pwm1_a";
function = "pwm1";
@@ -719,6 +782,11 @@
};
};
+&rwdt {
+ timeout-sec = <60>;
+ status = "okay";
+};
+
&scif1 {
pinctrl-0 = <&scif1_pins>;
pinctrl-names = "default";
@@ -857,11 +925,6 @@
status = "okay";
};
-&rwdt {
- timeout-sec = <60>;
- status = "okay";
-};
-
&xhci0 {
pinctrl-0 = <&usb30_pins>;
pinctrl-names = "default";