mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
ARM: tegra: add support for ASUS Eee Pad Slider SL101
Factor out common part from ASUS Eee Pad Transformer TF101 device tree into tegra20-asus-transformer-common.dtsi and add device tree fragment for ASUS Eee Pad Slider SL101. Tested-by: Winona Schroeer-Smith <wolfizen@wolfizen.net> # ASUS SL101 Tested-by: Antoni Aloy Torrens <aaloytorrens@gmail.com> # ASUS TF101 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
3f973d78d1
commit
73e23d3bd7
|
|
@ -14,6 +14,7 @@ dtb-$(CONFIG_ARCH_TEGRA_124_SOC) += \
|
|||
tegra124-venice2.dtb
|
||||
dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \
|
||||
tegra20-acer-a500-picasso.dtb \
|
||||
tegra20-asus-sl101.dtb \
|
||||
tegra20-asus-tf101.dtb \
|
||||
tegra20-harmony.dtb \
|
||||
tegra20-colibri-eval-v3.dtb \
|
||||
|
|
|
|||
61
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts
Normal file
61
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/dts-v1/;
|
||||
|
||||
#include "tegra20-asus-transformer-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "ASUS Eee Pad Slider SL101";
|
||||
compatible = "asus,sl101", "nvidia,tegra20";
|
||||
|
||||
i2c@7000c000 {
|
||||
magnetometer@e {
|
||||
mount-matrix = "1", "0", "0",
|
||||
"0", "-1", "0",
|
||||
"0", "0", "1";
|
||||
};
|
||||
|
||||
/* Atmel MXT1386 Touchscreen */
|
||||
touchscreen@5a {
|
||||
compatible = "atmel,maxtouch";
|
||||
reg = <0x5a>;
|
||||
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <TEGRA_GPIO(V, 6) IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
|
||||
|
||||
vdda-supply = <&vdd_3v3_sys>;
|
||||
vdd-supply = <&vdd_3v3_sys>;
|
||||
|
||||
atmel,wakeup-method = <ATMEL_MXT_WAKEUP_I2C_SCL>;
|
||||
};
|
||||
|
||||
gyroscope@68 {
|
||||
mount-matrix = "0", "1", "0",
|
||||
"-1", "0", "0",
|
||||
"0", "0", "1";
|
||||
|
||||
i2c-gate {
|
||||
accelerometer@f {
|
||||
mount-matrix = "1", "0", "0",
|
||||
"0", "-1", "0",
|
||||
"0", "0", "1";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extcon-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
switch-tablet-mode {
|
||||
label = "Tablet Mode";
|
||||
gpios = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_LOW>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_TABLET_MODE>;
|
||||
debounce-interval = <500>;
|
||||
wakeup-event-action = <EV_ACT_ASSERTED>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
1268
arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi
Normal file
1268
arch/arm/boot/dts/nvidia/tegra20-asus-transformer-common.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user