summaryrefslogtreecommitdiff
path: root/board/avionic-design/dts/tegra20-tec.dts
blob: cdb752776c40c48b98d13df1c382ebf5df622c71 (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
/dts-v1/;

/include/ ARCH_CPU_DTS

/ {
	model = "Avionic Design Tamonten Evaluation Carrier";
	compatible = "ad,tec", "nvidia,tegra20";

	aliases {
		usb0 = "/usb@c5008000";
	};

	memory {
		reg = <0x00000000 0x20000000>;
	};

	clocks {
		clk_32k: clk_32k {
			clock-frequency = <32000>;
		};

		osc {
			clock-frequency = <12000000>;
		};
	};

	host1x {
		status = "okay";

		dc@54200000 {
			status = "okay";

			rgb {
				nvidia,panel = <&lcd_panel>;
				status = "okay";
			};
		};
	};

	clock@60006000 {
		clocks = <&clk_32k &osc>;
	};

	serial@70006300 {
		clock-frequency = <216000000>;
	};

	i2c@7000c000 {
		status = "disabled";
	};

	i2c@7000c400 {
		status = "disabled";
	};

	i2c@7000c500 {
		status = "disabled";
	};

	i2c@7000d000 {
		status = "disabled";
	};

	usb@c5000000 {
		status = "disabled";
	};

	usb@c5004000 {
		status = "disabled";
	};

	nand-controller@70008000 {
		nvidia,wp-gpios = <&gpio 23 0>; /* PC7 */
		nvidia,width = <8>;
		nvidia,timing = <26 100 20 80 20 10 12 10 70>;

		nand@0 {
			reg = <0>;
			compatible = "hynix,hy27uf4g2b", "nand-flash";
		};
	};

	lcd_panel: panel {
		clock = <33260000>;
		xres = <800>;
		yres = <480>;
		left-margin = <120>;
		right-margin = <120>;
		hsync-len = <16>;
		lower-margin = <15>;
		upper-margin = <15>;
		vsync-len = <15>;

		nvidia,bits-per-pixel = <16>;
		nvidia,pwm = <&pwm 0 500000>;
		nvidia,backlight-enable-gpios = <&gpio 13 0>; /* PB5 */
		nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */
		nvidia,lvds-shutdown-gpios = <&gpio 10 0>; /* PB2 */
		nvidia,panel-timings = <0 0 0 0>;
	};
};