diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-03-27 02:18:05 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-03-27 02:36:58 +0300 |
commit | 396e4dd89d30893785ed4fb7442d3c316b4534cf (patch) | |
tree | bafede1626f03ab28de4f5278bac60a6293f4849 /arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi | |
parent | c9334538bfe07446b07011e1e8395a729fe25388 (diff) | |
download | linux-396e4dd89d30893785ed4fb7442d3c316b4534cf.tar.xz |
ARM: dts: ux500: Totally separate TVK R2 and R3
There is no point in sharing any definitions between
the R2 and R3 versions of the TVK1281618 UIB. The
proximity sensor collides with the touchscreen etc,
it is less confusing to get rid of the overarching
TVK1281618 UIB file and just use one for each.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi')
-rw-r--r-- | arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi index 0951896f5e01..707d453dd6a5 100644 --- a/arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi +++ b/arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi @@ -4,10 +4,26 @@ * also known as the "CYTTSP board" */ +#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/input/input.h> -#include "ste-href-tvk1281618.dtsi" / { + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + vdd-supply = <&ab8500_ldo_aux1_reg>; + pinctrl-names = "default"; + pinctrl-0 = <&hall_tvk_mode>; + + button@145 { + /* Hall sensor */ + gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>; + linux,code = <0>; /* SW_LID */ + label = "HED54XXU11 Hall Effect Sensor"; + }; + }; + soc { i2c@80004000 { tc35893@44 { @@ -116,6 +132,14 @@ }; pinctrl { + hall { + hall_tvk_mode: hall_tvk { + tvk_cfg { + pins = "GPIO145_C13"; + ste,config = <&gpio_in_pu>; + }; + }; + }; tc35893 { /* IRQ from the TC35893 */ tc35893_tvk_mode: tc35893_tvk { |