Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Tom Warren | 6c5be64 | 2013-02-21 12:31:27 +0000 | [diff] [blame] | 3 | #include "tegra20.dtsi" |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Toradex Colibri T20"; |
Marcel Ziswiler | a7841e7 | 2015-08-06 00:47:01 +0200 | [diff] [blame] | 7 | compatible = "toradex,colibri_t20", "nvidia,tegra20"; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 8 | |
Simon Glass | c369139 | 2014-09-04 16:27:35 -0600 | [diff] [blame] | 9 | chosen { |
| 10 | stdout-path = &uarta; |
| 11 | }; |
| 12 | |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 13 | aliases { |
| 14 | usb0 = "/usb@c5008000"; |
| 15 | usb1 = "/usb@c5000000"; |
| 16 | usb2 = "/usb@c5004000"; |
Tom Warren | 126685a | 2013-02-21 12:31:29 +0000 | [diff] [blame] | 17 | sdhci0 = "/sdhci@c8000600"; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 18 | }; |
| 19 | |
Marcel Ziswiler | b2ea19b | 2015-08-06 00:47:02 +0200 | [diff] [blame^] | 20 | host1x { |
| 21 | status = "okay"; |
| 22 | dc@54200000 { |
| 23 | status = "okay"; |
| 24 | rgb { |
| 25 | status = "okay"; |
| 26 | nvidia,panel = <&lcd_panel>; |
| 27 | }; |
| 28 | }; |
| 29 | }; |
| 30 | |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 31 | usb@c5000000 { |
| 32 | dr_mode = "otg"; |
| 33 | }; |
| 34 | |
| 35 | usb@c5004000 { |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 36 | nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; |
| 37 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | usb@c5008000 { |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 41 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | nand-controller@70008000 { |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 45 | nvidia,wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 46 | nvidia,width = <8>; |
| 47 | nvidia,timing = <15 100 25 80 25 10 15 10 100>; |
| 48 | |
| 49 | nand@0 { |
| 50 | reg = <0>; |
| 51 | compatible = "nand-flash"; |
| 52 | }; |
| 53 | }; |
Tom Warren | 126685a | 2013-02-21 12:31:29 +0000 | [diff] [blame] | 54 | |
| 55 | sdhci@c8000600 { |
| 56 | status = "okay"; |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 57 | cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; |
Tom Warren | 126685a | 2013-02-21 12:31:29 +0000 | [diff] [blame] | 58 | bus-width = <4>; |
| 59 | }; |
Marcel Ziswiler | b2ea19b | 2015-08-06 00:47:02 +0200 | [diff] [blame^] | 60 | |
| 61 | lcd_panel: panel { |
| 62 | clock = <25175000>; |
| 63 | xres = <640>; |
| 64 | yres = <480>; |
| 65 | left-margin = <48>; /* horizontal back porch */ |
| 66 | right-margin = <16>; /* horizontal front porch */ |
| 67 | hsync-len = <96>; |
| 68 | lower-margin = <11>; /* vertical front porch */ |
| 69 | upper-margin = <31>; /* vertical back porch */ |
| 70 | vsync-len = <2>; |
| 71 | hsync-active-high; |
| 72 | vsync-active-high; |
| 73 | nvidia,bits-per-pixel = <16>; |
| 74 | nvidia,pwm = <&pwm 0 0>; |
| 75 | nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>; |
| 76 | nvidia,panel-timings = <0 0 0 0>; |
| 77 | }; |
Lucas Stach | 6bbda88 | 2012-10-07 11:36:06 +0000 | [diff] [blame] | 78 | }; |