diff options
author | Olof Johansson <olof@lixom.net> | 2013-04-27 18:14:10 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-28 15:04:39 -0400 |
commit | a4591dcf743ac841f9a7d81399405b8fe77c87bf (patch) | |
tree | 3a8945801985a48c94f715541c8556dd0b244ae0 /arch/arm/boot/dts | |
parent | 61d4f0523ae7590c48b3dd4739b3fccb9b93021a (diff) |
ARM: exynos: dts: cros5250: add EC device
Add basic EC information to device tree, currently only describing the
keyboard and keymap.
Reviewed-by: Doug Anderson <dianders@chromium.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-snow.dts | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index c1151431f0d1..bf4744bab445 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts | |||
@@ -72,6 +72,102 @@ | |||
72 | reg = <0xb>; | 72 | reg = <0xb>; |
73 | sbs,poll-retry-count = <1>; | 73 | sbs,poll-retry-count = <1>; |
74 | }; | 74 | }; |
75 | |||
76 | ec: embedded-controller { | ||
77 | compatible = "google,cros-ec-i2c"; | ||
78 | reg = <0x1e>; | ||
79 | interrupts = <6 0>; | ||
80 | interrupt-parent = <&gpx1>; | ||
81 | wakeup-source; | ||
82 | |||
83 | keyboard-controller { | ||
84 | compatible = "google,cros-ec-keyb"; | ||
85 | keypad,num-rows = <8>; | ||
86 | keypad,num-columns = <13>; | ||
87 | google,needs-ghost-filter; | ||
88 | linux,keymap = <0x0001003a /* CAPSLK */ | ||
89 | 0x0002003b /* F1 */ | ||
90 | 0x00030030 /* B */ | ||
91 | 0x00040044 /* F10 */ | ||
92 | 0x00060031 /* N */ | ||
93 | 0x0008000d /* = */ | ||
94 | 0x000a0064 /* R_ALT */ | ||
95 | |||
96 | 0x01010001 /* ESC */ | ||
97 | 0x0102003e /* F4 */ | ||
98 | 0x01030022 /* G */ | ||
99 | 0x01040041 /* F7 */ | ||
100 | 0x01060023 /* H */ | ||
101 | 0x01080028 /* ' */ | ||
102 | 0x01090043 /* F9 */ | ||
103 | 0x010b000e /* BKSPACE */ | ||
104 | |||
105 | 0x0200001d /* L_CTRL */ | ||
106 | 0x0201000f /* TAB */ | ||
107 | 0x0202003d /* F3 */ | ||
108 | 0x02030014 /* T */ | ||
109 | 0x02040040 /* F6 */ | ||
110 | 0x0205001b /* ] */ | ||
111 | 0x02060015 /* Y */ | ||
112 | 0x02070056 /* 102ND */ | ||
113 | 0x0208001a /* [ */ | ||
114 | 0x02090042 /* F8 */ | ||
115 | |||
116 | 0x03010029 /* GRAVE */ | ||
117 | 0x0302003c /* F2 */ | ||
118 | 0x03030006 /* 5 */ | ||
119 | 0x0304003f /* F5 */ | ||
120 | 0x03060007 /* 6 */ | ||
121 | 0x0308000c /* - */ | ||
122 | 0x030b002b /* \ */ | ||
123 | |||
124 | 0x04000061 /* R_CTRL */ | ||
125 | 0x0401001e /* A */ | ||
126 | 0x04020020 /* D */ | ||
127 | 0x04030021 /* F */ | ||
128 | 0x0404001f /* S */ | ||
129 | 0x04050025 /* K */ | ||
130 | 0x04060024 /* J */ | ||
131 | 0x04080027 /* ; */ | ||
132 | 0x04090026 /* L */ | ||
133 | 0x040b001c /* ENTER */ | ||
134 | |||
135 | 0x0501002c /* Z */ | ||
136 | 0x0502002e /* C */ | ||
137 | 0x0503002f /* V */ | ||
138 | 0x0504002d /* X */ | ||
139 | 0x05050033 /* , */ | ||
140 | 0x05060032 /* M */ | ||
141 | 0x0507002a /* L_SHIFT */ | ||
142 | 0x05080035 /* / */ | ||
143 | 0x05090034 /* . */ | ||
144 | 0x050B0039 /* SPACE */ | ||
145 | |||
146 | 0x06010002 /* 1 */ | ||
147 | 0x06020004 /* 3 */ | ||
148 | 0x06030005 /* 4 */ | ||
149 | 0x06040003 /* 2 */ | ||
150 | 0x06050009 /* 8 */ | ||
151 | 0x06060008 /* 7 */ | ||
152 | 0x0608000b /* 0 */ | ||
153 | 0x0609000a /* 9 */ | ||
154 | 0x060a0038 /* L_ALT */ | ||
155 | 0x060b006c /* DOWN */ | ||
156 | 0x060c006a /* RIGHT */ | ||
157 | |||
158 | 0x07010010 /* Q */ | ||
159 | 0x07020012 /* E */ | ||
160 | 0x07030013 /* R */ | ||
161 | 0x07040011 /* W */ | ||
162 | 0x07050017 /* I */ | ||
163 | 0x07060016 /* U */ | ||
164 | 0x07070036 /* R_SHIFT */ | ||
165 | 0x07080019 /* P */ | ||
166 | 0x07090018 /* O */ | ||
167 | 0x070b0067 /* UP */ | ||
168 | 0x070c0069>; /* LEFT */ | ||
169 | }; | ||
170 | }; | ||
75 | }; | 171 | }; |
76 | }; | 172 | }; |
77 | 173 | ||