summaryrefslogtreecommitdiff
path: root/board/nvidia/seaboard/tegra2-arthur.dts
blob: 7adb8f59bb714eef230830bbac5cbc02137150b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/dts-v1/;

/memreserve/ 0x1c000000 0x04000000;
/include/ "tegra250.dtsi"
/include/ "chromeos.dtsi"
/include/ "flashmap-twostop-4mb.dtsi"

/ {
	model = "Google Arthur";
	compatible = "google,arthur", "nvidia,tegra250";

	config {
		odmdata = <0x300d8011>;
		hwid = "ARM ARTHUR TEST 3403";
		machine-arch-id = <3474>;

		/* Chrome OS specific GPIO */
		/*
		 * Parameter 3 bits
		 * bit 0: 1=output, 0=input
		 * bit 1: 1=high, 0=low
		 * bit 2: 1=active low, 0=active high
		 */
		write-protect-switch	= <&gpio 59 0>; /* GMI-AD11 - PH3 */
		recovery-switch		= <&gpio 56 4>; /* GMI-AD08 - PH0 */
		developer-switch	= <&gpio 168 0>; /* GPIO-PV0 - PV0 */
		lid-switch		= <&gpio 23 4>; /* GPIO-PC7 - PC7 */
		power-switch		= <&gpio 170 4>; /* GPIO-PV2 - PV2 */
	};

	aliases {
		console = "/serial@70006040";
                usb0 = "/usb@0xc5000000";

		sdmmc0 = "/sdhci@c8000600";

		i2c0 = "/i2c@0x7000d000";
		i2c1 = "/i2c@0x7000c000";
		i2c2 = "/i2c@0x7000c400";
		i2c3 = "/i2c@0x7000c500";
	};

	memory {
		device_type = "memory";
		reg = <0x00000000 0x40000000>;
	};

	serial@70006040 {
		status = "ok";
		clock-frequency = <216000000>;
	};

	sdhci@c8000600 {
		status = "ok";
		width = <4>;	/* width of SDIO port */
		removable = <0>;
	};

	lcd {
		compatible = "nvidia,tegra2-lcd";
		width = <1366>;
		height = <910>;
		bits_per_pixel = <16>;
		pwfm = <&pwfm2>;
		display = <&display1>;
                /* frame-buffer location = top of memory - carveout - fb */
                frame-buffer = <0x2f680000>;

		pixel_clock = <82400000>;

		/* Timing: ref_to_sync, sync_width. back_porch, front_porch */
		horiz_timing = <11 32 112 48>;
		vert_timing = <1 5 20 2>;

		/* Parameter 3 bit 0:1=output, 0=input; bit 1:1=high, 0=low */
		backlight-enable = <&gpio 28 1>;	/* PD4 */
		lvds-shutdown = <&gpio 10 1>;		/* PB2 */
		backlight-vdd = <&gpio 176 1>;		/* PW0 */
		panel-vdd = <&gpio 22 1>;		/* PC6 */

		/*
		* Panel required timings
		* Timing 1: delay between panel_vdd-rise and data-rise
		* Timing 2: delay between data-rise and backlight_vdd-rise
		* Timing 3: delay between backlight_vdd and pwm-rise
		* Timing 4: delay between pwm-rise and backlight_en-rise
		*/
		panel-timings = <0 0 0 0>;
	};

	usb@0xc5000000 {
		status = "ok";
		host-mode = <1>;
	};

	kbc@0x7000e200 {
		keycode-plain    = [00  00  DD  00  DC  00  00  00
				    00  1b  09  '`' 'a' 'z' '1' 'q'
				    00  00  00  00  'd' 'c' '3' 'e'
				    00  00  00  00  00  00  00  00
				    'b' 'g' 't' '5' 'f' 'v' '4' 'r'
				    00  00  00  00  's' 'x' '2' 'w'
				    00  00  ']' 00  'k' ',' '8' 'i'
				    00  00  00  00  00  00  00  00
				    'n' 'h' 'y' '6' 'j' 'm' '7' 'u'
				    00  00  00  00  00  DF  00  DF
				    '=' 5D  '[' '-' ';' '/' '0' 'p'
				    00  00  00  00  'l' '.' '9' 'o'
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  00
				    00  08  00  5C  0D  ' ' 1F  1E
				    00  00  00  00  00  00  1D  1C];

		keycode-shift	 = [00  00  00  00  00  00  00  00
				    00  1B  09  '~' 'A' 'Z' '!' 'Q'
				    00  00  00  00  'D' 'C' '#' 'E'
				    00  00  00  00  00  00  00  00
				    'B' 'G' 'T' '%' 'F' 'V' '$' 'R'
				    00  00  00  00  'S' 'X' '@' 'W'
				    00  00  '}' 00  'K' '<' '*' 'I'
				    00  00  00  00  00  00  00  00
				    'N' 'H' 'Y' '^' 'J' 'M' '&' 'U'
				    00  00  00  00  00  00  00  00
				    '+' '"' '{' '_' ':' '?' ')' 'P'
				    00  00  00  00  'L' '>' '(' 'O'
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  00
				    00  08  00  '|' 0D  ' ' 00  00
				    00  00  00  00  00  00  00  00];

		keycode-ctrl     = [00  00  00  00  00  00  00  00
				    00  00  00  00  01  1a  00  11
				    00  00  00  00  04  03  00  05
				    00  00  00  00  00  00  00  00
				    02  07  14  00  06  16  00  12
				    00  00  00  00  13  18  00  17
				    00  00  00  00  0b  00  00  09
				    00  00  00  00  00  00  00  00
				    0e  08  19  00  0a  0d  00  15
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  10
				    00  00  00  00  0c  00  00  0f
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  00
				    00  00  00  00  00  00  00  00];
	};
};