1// SPDX-License-Identifier: GPL-2.0 2/dts-v1/; 3 4#include "tegra20-asus-transformer-common.dtsi" 5 6/ { 7 model = "ASUS Eee Pad Slider SL101"; 8 compatible = "asus,sl101", "nvidia,tegra20"; 9 10 i2c@7000c000 { 11 magnetometer@e { 12 mount-matrix = "1", "0", "0", 13 "0", "-1", "0", 14 "0", "0", "1"; 15 }; 16 17 /* Atmel MXT1386 Touchscreen */ 18 touchscreen@5a { 19 compatible = "atmel,maxtouch"; 20 reg = <0x5a>; 21 22 interrupt-parent = <&gpio>; 23 interrupts = <TEGRA_GPIO(V, 6) IRQ_TYPE_LEVEL_LOW>; 24 25 reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>; 26 27 vdda-supply = <&vdd_3v3_sys>; 28 vdd-supply = <&vdd_3v3_sys>; 29 30 atmel,wakeup-method = <ATMEL_MXT_WAKEUP_I2C_SCL>; 31 }; 32 33 gyroscope@68 { 34 mount-matrix = "0", "1", "0", 35 "-1", "0", "0", 36 "0", "0", "1"; 37 38 i2c-gate { 39 accelerometer@f { 40 mount-matrix = "1", "0", "0", 41 "0", "-1", "0", 42 "0", "0", "1"; 43 }; 44 }; 45 }; 46 }; 47 48 extcon-keys { 49 compatible = "gpio-keys"; 50 51 switch-tablet-mode { 52 label = "Tablet Mode"; 53 gpios = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_LOW>; 54 linux,input-type = <EV_SW>; 55 linux,code = <SW_TABLET_MODE>; 56 debounce-interval = <500>; 57 wakeup-event-action = <EV_ACT_ASSERTED>; 58 wakeup-source; 59 }; 60 }; 61}; 62