arm/tegra: Seaboard: Add GPIO key device tree nodes
[linux-2.6.git] / arch / arm / boot / dts / tegra-seaboard.dts
1 /dts-v1/;
2
3 /include/ "tegra20.dtsi"
4
5 / {
6         model = "NVIDIA Seaboard";
7         compatible = "nvidia,seaboard", "nvidia,tegra20";
8
9         memory {
10                 device_type = "memory";
11                 reg = < 0x00000000 0x40000000 >;
12         };
13
14         i2c@7000c000 {
15                 clock-frequency = <400000>;
16         };
17
18         i2c@7000c400 {
19                 clock-frequency = <400000>;
20         };
21
22         i2c@7000c500 {
23                 clock-frequency = <400000>;
24         };
25
26         i2c@7000d000 {
27                 clock-frequency = <400000>;
28
29                 adt7461@4c {
30                         compatible = "adt7461";
31                         reg = <0x4c>;
32                 };
33         };
34
35         serial@70006000 {
36                 status = "disable";
37         };
38
39         serial@70006040 {
40                 status = "disable";
41         };
42
43         serial@70006200 {
44                 status = "disable";
45         };
46
47         serial@70006300 {
48                 clock-frequency = < 216000000 >;
49         };
50
51         serial@70006400 {
52                 status = "disable";
53         };
54
55         sdhci@c8000000 {
56                 status = "disable";
57         };
58
59         sdhci@c8000200 {
60                 status = "disable";
61         };
62
63         sdhci@c8000400 {
64                 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
65                 wp-gpios = <&gpio 57 0>; /* gpio PH1 */
66                 power-gpios = <&gpio 70 0>; /* gpio PI6 */
67         };
68
69         sdhci@c8000600 {
70                 support-8bit;
71         };
72
73         usb@c5000000 {
74                 nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */
75         };
76
77         gpio-keys {
78                 compatible = "gpio-keys";
79
80                 power {
81                         label = "Power";
82                         gpios = <&gpio 170 1>; /* gpio PV2, active low */
83                         linux,code = <116>; /* KEY_POWER */
84                         gpio-key,wakeup;
85                 };
86
87                 lid {
88                         label = "Lid";
89                         gpios = <&gpio 23 0>; /* gpio PC7 */
90                         linux,input-type = <5>; /* EV_SW */
91                         linux,code = <0>; /* SW_LID */
92                         debounce-interval = <1>;
93                         gpio-key,wakeup;
94                 };
95         };
96 };