]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/boot/fdt/dts/arm/am335x-evm.dts
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / boot / fdt / dts / arm / am335x-evm.dts
1 /*-
2  * Copyright (c) 2012 Damjan Marion <dmarion@Freebsd.org>
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  *
14  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24  * SUCH DAMAGE.
25  * 
26  * $FreeBSD$
27  */
28
29 /dts-v1/;
30
31 /include/ "am335x.dtsi"
32
33 / {
34         model = "TMDXEVM3358";
35         compatible = "ti,am335x";
36
37         aliases {
38                 soc = &SOC;
39                 uart0 = &uart0;
40         };
41
42         memory {
43                 device_type = "memory";
44                 reg = < 0x80000000 0x10000000 >;        /* 256MB RAM */
45         };
46
47         am335x {
48                 scm@44e10000 {
49                         /* Set of triplets < padname, muxname, padstate> */
50                         scm-pad-config =
51                                 /* I2C0 */
52                                 "I2C0_SDA", "I2C0_SDA","i2c",
53                                 "I2C0_SCL", "I2C0_SCL","i2c",
54                                 /* Ethernet */
55                                 "MII1_RX_ER", "gmii1_rxerr", "input_pulldown",
56                                 "MII1_TX_EN", "gmii1_txen", "output",
57                                 "MII1_RX_DV", "gmii1_rxdv", "input_pulldown",
58                                 "MII1_TXD3", "gmii1_txd3", "output",
59                                 "MII1_TXD2", "gmii1_txd2", "output",
60                                 "MII1_TXD1", "gmii1_txd1", "output",
61                                 "MII1_TXD0", "gmii1_txd0", "output",
62                                 "MII1_TX_CLK", "gmii1_txclk", "input_pulldown",
63                                 "MII1_RX_CLK", "gmii1_rxclk", "input_pulldown",
64                                 "MII1_RXD3", "gmii1_rxd3", "input_pulldown",
65                                 "MII1_RXD2", "gmii1_rxd2", "input_pulldown",
66                                 "MII1_RXD1", "gmii1_rxd1",  "input_pulldown",
67                                 "MII1_RXD0", "gmii1_rxd0",  "input_pulldown",
68                                 "MDIO", "mdio_data", "input_pullup",
69                                 "MDC", "mdio_clk", "output_pullup",
70                                 /* MMCSD0 */
71                                 "MMC0_CMD", "mmc0_cmd", "input_pullup",
72                                 "MMC0_CLK", "mmc0_clk", "input_pullup",
73                                 "MMC0_DAT0", "mmc0_dat0", "input_pullup",
74                                 "MMC0_DAT1", "mmc0_dat1", "input_pullup",
75                                 "MMC0_DAT2", "mmc0_dat2", "input_pullup",
76                                 "MMC0_DAT3", "mmc0_dat3", "input_pullup",
77                                 /* GPIO */
78                                 "GPMC_AD10", "gpio0_26", "input_pulldown",
79                                 "GPMC_AD11", "gpio0_27", "input_pulldown",
80                                 "GPMC_AD0", "gpio1_0", "input_pulldown",
81                                 "GPMC_AD1", "gpio1_1", "input_pulldown",
82                                 "GPMC_AD2", "gpio1_2", "input_pulldown",
83                                 "GPMC_AD3", "gpio1_3", "input_pulldown",
84                                 "GPMC_AD4", "gpio1_4", "input_pulldown",
85                                 "GPMC_AD5", "gpio1_5", "input_pulldown",
86                                 "GPMC_AD6", "gpio1_6", "input_pulldown",
87                                 "GPMC_AD7", "gpio1_7", "input_pulldown",
88                                 "GPMC_AD12", "gpio1_12", "input_pulldown",
89                                 "GPMC_AD13", "gpio1_13", "input_pulldown",
90                                 "GPMC_AD14", "gpio1_14", "input_pulldown",
91                                 "GPMC_AD15", "gpio1_15", "input_pulldown",
92                                 "GPMC_A0", "gpio1_16", "input_pulldown",
93                                 "GPMC_A1", "gpio1_17", "input_pulldown",
94                                 "GPMC_A5", "gpio1_21", "output", /* User LED 1 */
95                                 "GPMC_A6", "gpio1_22", "output", /* User LED 2 */
96                                 "GPMC_A7", "gpio1_23", "output", /* User LED 3 */
97                                 "GPMC_A8", "gpio1_24", "output", /* User LED 4 */
98                                 "GPMC_BEn1", "gpio1_28", "input_pulldown",
99                                 "GPMC_CSn0", "gpio1_29", "input_pulldown",
100                                 "GPMC_CSn1", "gpio1_30", "input_pulldown",
101                                 "GPMC_CSn2", "gpio1_31", "input_pulldown",
102                                 "MCASP0_FSR", "gpio3_19", "input_pulldown",
103                                 "MCASP0_AHCLKX", "gpio3_21", "input_pulldown",
104                                 /* TIMERs */
105                                 "GPMC_ADVn_ALE", "timer4", "output",
106                                 "GPMC_BEn0_CLE", "timer5", "output",
107                                 "GPMC_WEn", "timer6", "output",
108                                 "GPMC_OEn_REn", "timer7", "output",
109                                 /* USB0 and USB1 */
110                                 "USB0_DRVVBUS", "USB0_DRVVBUS", "output",
111                                 "USB1_DRVVBUS", "USB1_DRVVBUS", "output",
112                                 /* LCD */
113                                 "GPMC_AD8", "lcd_data23", "output",
114                                 "GPMC_AD9", "lcd_data22", "output",
115                                 "GPMC_AD10", "lcd_data21", "output",
116                                 "GPMC_AD11", "lcd_data20", "output",
117                                 "GPMC_AD12", "lcd_data19", "output",
118                                 "GPMC_AD13", "lcd_data18", "output",
119                                 "GPMC_AD14", "lcd_data17", "output",
120                                 "GPMC_AD15", "lcd_data16", "output",
121                                 "GPMC_CLK", "lcd_memory_clk", "output",
122                                 "LCD_DATA0", "lcd_data0", "output", 
123                                 "LCD_DATA1", "lcd_data1", "output", 
124                                 "LCD_DATA2", "lcd_data2", "output", 
125                                 "LCD_DATA3", "lcd_data3", "output", 
126                                 "LCD_DATA4", "lcd_data4", "output", 
127                                 "LCD_DATA5", "lcd_data5", "output", 
128                                 "LCD_DATA6", "lcd_data6", "output", 
129                                 "LCD_DATA7", "lcd_data7", "output", 
130                                 "LCD_DATA8", "lcd_data8", "output", 
131                                 "LCD_DATA9", "lcd_data9", "output", 
132                                 "LCD_DATA10", "lcd_data10", "output", 
133                                 "LCD_DATA11", "lcd_data11", "output", 
134                                 "LCD_DATA12", "lcd_data12", "output", 
135                                 "LCD_DATA13", "lcd_data13", "output", 
136                                 "LCD_DATA14", "lcd_data14", "output", 
137                                 "LCD_DATA15", "lcd_data15", "output", 
138                                 "LCD_VSYNC", "lcd_vsync", "output",
139                                 "LCD_HSYNC", "lcd_hsync", "output",
140                                 "LCD_PCLK", "lcd_pclk", "output",
141                                 "LCD_AC_BIAS_EN", "lcd_ac_bias_en", "output",
142                                 "ECAP0_IN_PWM0_OUT", "eCAP0_in_PWM0_out", "output";
143
144                 };
145
146                 lcd@4830e000 {
147                         panel_name = "TFC_S9700RTWV35TR_01B";
148                         panel_width = <800>;
149                         panel_height = <480>;
150                         panel_hfp = <39>;
151                         panel_hbp = <39>;
152                         panel_hsw = <47>;
153                         panel_vfp = <13>;
154                         panel_vbp = <29>;
155                         panel_vsw = <2>;
156                         panel_pxl_clk = <30000000>;
157                         panel_invert_pxl_clk = <0>;
158                         panel_type = <1>; /* Active or passive, compatibility */
159                         panel_max_bpp = <32>; /* compatibility */
160                         panel_min_bpp = <32>; /* compatibility */
161                         panel_shade = <1>; /* compatibility */
162                         ac_bias = <255>;
163                         ac_bias_intrpt = <0>;
164                         dma_burst_sz = <16>;
165                         bpp = <32>;
166                         fdd = <128>;
167                         tft_alt_mode = <0>; /* compatiblity */
168                         stn_565_mode = <0>; /* compatibility */
169                         mono_8bit_mode = <0>; /* compatibilty */
170                         invert_line_clock = <1>;
171                         invert_frm_clock = <1>;
172                         sync_edge = <0>;
173                         sync_ctrl = <1>;
174                         raster_order = <0>; /* compatibity */
175                 };
176
177         };
178
179         chosen {
180                 stdin = "uart0";
181                 stdout = "uart0";
182         };
183 };