summaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra20-harmony.dts
blob: 982a14c61c498ff26409b99abb9a61c07586d332 (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
/dts-v1/;

#include "tegra20.dtsi"

/ {
	model = "NVIDIA Tegra20 Harmony evaluation board";
	compatible = "nvidia,harmony", "nvidia,tegra20";

	chosen {
		stdout-path = &uartd;
	};

	aliases {
		usb0 = "/usb@c5008000";
		usb1 = "/usb@c5004000";
		sdhci0 = "/sdhci@c8000600";
		sdhci1 = "/sdhci@c8000200";
	};

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

	host1x {
		status = "okay";
		dc@54200000 {
			status = "okay";
			rgb {
				status = "okay";
				nvidia,panel = <&lcd_panel>;
			};
		};
	};

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

	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";
		};
	};

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

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

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

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

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

	usb@c5004000 {
		nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */
	};

	sdhci@c8000200 {
		status = "okay";
		cd-gpios = <&gpio 69 1>; /* gpio PI5 */
		wp-gpios = <&gpio 57 0>; /* gpio PH1 */
		power-gpios = <&gpio 155 0>; /* gpio PT3 */
		bus-width = <4>;
	};

	sdhci@c8000600 {
		status = "okay";
		cd-gpios = <&gpio 58 1>; /* gpio PH2 */
		wp-gpios = <&gpio 59 0>; /* gpio PH3 */
		power-gpios = <&gpio 70 0>; /* gpio PI6 */
		bus-width = <8>;
	};

	lcd_panel: panel {
		clock = <42430000>;
		xres = <1024>;
		yres = <600>;
		left-margin = <138>;
		right-margin = <34>;
		hsync-len = <136>;
		lower-margin = <4>;
		upper-margin = <21>;
		vsync-len = <4>;
		hsync-active-high;
		vsyncx-active-high;
		nvidia,bits-per-pixel = <16>;
		nvidia,pwm = <&pwm 0 0>;
		nvidia,backlight-enable-gpios = <&gpio 13 0>;	/* PB5 */
		nvidia,lvds-shutdown-gpios = <&gpio 10 0>;	/* PB2 */
		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */
		nvidia,panel-vdd-gpios = <&gpio 22 0>;		/* PC6 */
		nvidia,panel-timings = <0 0 200 0 0>;
	};
};