1/dts-v1/;
2
3#include "tegra20.dtsi"
4
5/ {
6	model = "NVIDIA Tegra20 Harmony evaluation board";
7	compatible = "nvidia,harmony", "nvidia,tegra20";
8
9	chosen {
10		stdout-path = &uartd;
11	};
12
13	aliases {
14		usb0 = "/usb@c5008000";
15		usb1 = "/usb@c5004000";
16		sdhci0 = "/sdhci@c8000600";
17		sdhci1 = "/sdhci@c8000200";
18	};
19
20	memory {
21		reg = <0x00000000 0x40000000>;
22	};
23
24	host1x {
25		status = "okay";
26		dc@54200000 {
27			status = "okay";
28			rgb {
29				status = "okay";
30				nvidia,panel = <&lcd_panel>;
31			};
32		};
33	};
34
35	serial@70006300 {
36		clock-frequency = < 216000000 >;
37	};
38
39	nand-controller@70008000 {
40		nvidia,wp-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_HIGH>;
41		nvidia,width = <8>;
42		nvidia,timing = <26 100 20 80 20 10 12 10 70>;
43		nand@0 {
44			reg = <0>;
45			compatible = "hynix,hy27uf4g2b", "nand-flash";
46		};
47	};
48
49	i2c@7000c000 {
50		status = "disabled";
51	};
52
53	i2c@7000c400 {
54		status = "disabled";
55	};
56
57	i2c@7000c500 {
58		status = "disabled";
59	};
60
61	i2c@7000d000 {
62		status = "disabled";
63	};
64
65	usb@c5000000 {
66		status = "disabled";
67	};
68
69	usb@c5004000 {
70		nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) 0>;
71	};
72
73	sdhci@c8000200 {
74		status = "okay";
75		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
76		wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
77		power-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
78		bus-width = <4>;
79	};
80
81	sdhci@c8000600 {
82		status = "okay";
83		cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
84		wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
85		power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
86		bus-width = <8>;
87	};
88
89	lcd_panel: panel {
90		clock = <42430000>;
91		xres = <1024>;
92		yres = <600>;
93		left-margin = <138>;
94		right-margin = <34>;
95		hsync-len = <136>;
96		lower-margin = <4>;
97		upper-margin = <21>;
98		vsync-len = <4>;
99		hsync-active-high;
100		vsyncx-active-high;
101		nvidia,bits-per-pixel = <16>;
102		nvidia,pwm = <&pwm 0 0>;
103		nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(B, 5)
104							GPIO_ACTIVE_HIGH>;
105		nvidia,lvds-shutdown-gpios = <&gpio TEGRA_GPIO(B, 2)
106							GPIO_ACTIVE_HIGH>;
107		nvidia,backlight-vdd-gpios = <&gpio TEGRA_GPIO(W, 0)
108							GPIO_ACTIVE_HIGH>;
109		nvidia,panel-vdd-gpios = <&gpio TEGRA_GPIO(C, 6)
110							GPIO_ACTIVE_HIGH>;
111		nvidia,panel-timings = <0 0 200 0 0>;
112	};
113};
114