summaryrefslogtreecommitdiff
path: root/src/mainboard/google/smaug/devicetree.cb
blob: e7f8647be7fcb508b30faaaaf22ba187b2c8940f (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
##
## This file is part of the coreboot project.
##
## Copyright 2015 Google Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##

chip soc/nvidia/tegra210
	device cpu_cluster 0 on
		device cpu 0 on end
	end

	register "display_controller" = "TEGRA_ARM_DISPLAYA"
	register "xres" = "2560"
	register "yres" = "1800"

	# bits per pixel and color depth
	register "framebuffer_bits_per_pixel" = "32"
	register "color_depth" = "12"

	# framebuffer resolution
	register "display_xres" = "1280"
	register "display_yres" = "800"

	register "href_to_sync" = "1"
	register "hfront_porch" = "80"
	register "hsync_width" = "80"
	register "hback_porch" = "80"

	register "vref_to_sync" = "1"
	register "vfront_porch" = "4"
	register "vsync_width" = "4"
	register "vback_porch" = "4"
	register "refresh" = "60"

	# use value from kernel driver
	register "pixel_clock" = "304416000"
	register "win_opt" = "DSI_ENABLE"
end