| @@ -1,161 +1,164 @@ | | | @@ -1,161 +1,164 @@ |
1 | # | | 1 | # |
2 | # $NetBSD: JETSONTK1,v 1.31 2015/08/02 00:24:45 jmcneill Exp $ | | 2 | # $NetBSD: JETSONTK1,v 1.32 2015/10/17 21:18:47 jmcneill Exp $ |
3 | # | | 3 | # |
4 | # NVIDIA Jetson TK1 - Tegra K1 development kit | | 4 | # NVIDIA Jetson TK1 - Tegra K1 development kit |
5 | # https://developer.nvidia.com/jetson-tk1 | | 5 | # https://developer.nvidia.com/jetson-tk1 |
6 | # | | 6 | # |
7 | | | 7 | |
8 | include "arch/evbarm/conf/std.tegra" | | 8 | include "arch/evbarm/conf/std.tegra" |
9 | include "arch/evbarm/conf/GENERIC.common" | | 9 | include "arch/evbarm/conf/GENERIC.common" |
10 | | | 10 | |
11 | options CPU_CORTEXA15 | | 11 | options CPU_CORTEXA15 |
12 | options SOC_TEGRA124 | | 12 | options SOC_TEGRA124 |
13 | options BOARD_JETSONTK1 | | 13 | options BOARD_JETSONTK1 |
14 | options CPUFREQ_BOOT=2292 | | 14 | options CPUFREQ_BOOT=2292 |
15 | options MULTIPROCESSOR | | 15 | options MULTIPROCESSOR |
16 | #options MEMSIZE=2048 | | 16 | #options MEMSIZE=2048 |
17 | | | 17 | |
18 | options DIAGNOSTIC # internal consistency checks | | 18 | options DIAGNOSTIC # internal consistency checks |
19 | #options DEBUG | | 19 | #options DEBUG |
20 | #options LOCKDEBUG | | 20 | #options LOCKDEBUG |
21 | #options PMAP_DEBUG # Enable pmap_debug_level code | | 21 | #options PMAP_DEBUG # Enable pmap_debug_level code |
22 | #options IPKDB # remote kernel debugging | | 22 | #options IPKDB # remote kernel debugging |
23 | #options VERBOSE_INIT_ARM # verbose bootstraping messages | | 23 | #options VERBOSE_INIT_ARM # verbose bootstraping messages |
24 | makeoptions DEBUG="-g" # compile full symbol table | | 24 | makeoptions DEBUG="-g" # compile full symbol table |
25 | makeoptions COPY_SYMTAB=1 | | 25 | makeoptions COPY_SYMTAB=1 |
26 | | | 26 | |
27 | config netbsd root on ? type ? | | 27 | config netbsd root on ? type ? |
28 | | | 28 | |
29 | mainbus0 at root | | 29 | mainbus0 at root |
30 | cpu* at mainbus? | | 30 | cpu* at mainbus? |
31 | | | 31 | |
32 | # A15 core devices | | 32 | # A15 core devices |
33 | armperiph0 at mainbus? | | 33 | armperiph0 at mainbus? |
34 | armgic0 at armperiph? # Interrupt Controller | | 34 | armgic0 at armperiph? # Interrupt Controller |
35 | armgtmr0 at armperiph? # ARM Generic Timer | | 35 | armgtmr0 at armperiph? # ARM Generic Timer |
36 | | | 36 | |
37 | # On-board I/O | | 37 | # On-board I/O |
38 | tegraio0 at mainbus? | | 38 | tegraio0 at mainbus? |
39 | | | 39 | |
40 | # Memory controller | | 40 | # Memory controller |
41 | tegramc0 at tegraio? # MC | | 41 | tegramc0 at tegraio? # MC |
42 | | | 42 | |
43 | # Power management controller | | 43 | # Power management controller |
44 | tegrapmc0 at tegraio? # PMC | | 44 | tegrapmc0 at tegraio? # PMC |
45 | | | 45 | |
46 | # Clock and Reset controller | | 46 | # Clock and Reset controller |
47 | tegracar0 at tegraio? # CAR | | 47 | tegracar0 at tegraio? # CAR |
48 | | | 48 | |
49 | # GPIO controller | | 49 | # GPIO controller |
50 | tegragpio0 at tegraio? # GPIO | | 50 | tegragpio0 at tegraio? # GPIO |
51 | gpio* at gpiobus? | | 51 | gpio* at gpiobus? |
52 | gpiobutton0 at gpio16 offset 0 mask 1 flag 0x01 # Power button | | 52 | gpiobutton0 at gpio16 offset 0 mask 1 flag 0x01 # Power button |
53 | gpiorfkill0 at gpio23 offset 7 mask 1 # WiFi enable | | 53 | gpiorfkill0 at gpio23 offset 7 mask 1 # WiFi enable |
54 | | | 54 | |
55 | # Timers | | 55 | # Timers |
56 | tegratimer0 at tegraio? # Timers | | 56 | tegratimer0 at tegraio? # Timers |
57 | | | 57 | |
58 | # MPIO / Pinmux | | 58 | # MPIO / Pinmux |
59 | tegrampio0 at tegraio? # MPIO | | 59 | tegrampio0 at tegraio? # MPIO |
60 | | | 60 | |
61 | # XUSB PADCTL | | 61 | # XUSB PADCTL |
62 | tegraxusbpad0 at tegraio? # XUSB PADCTL | | 62 | tegraxusbpad0 at tegraio? # XUSB PADCTL |
63 | | | 63 | |
64 | # PCIE | | 64 | # PCIE |
65 | tegrapcie0 at tegraio? # PCIE | | 65 | tegrapcie0 at tegraio? # PCIE |
66 | pci* at tegrapcie0 | | 66 | pci* at tegrapcie0 |
67 | ppb* at pci? dev ? function ? | | 67 | ppb* at pci? dev ? function ? |
68 | pci* at ppb? | | 68 | pci* at ppb? |
69 | | | 69 | |
70 | # Ethernet | | 70 | # Ethernet |
71 | re* at pci? dev ? function ? # Realtek RTL8111GS | | 71 | re* at pci? dev ? function ? # Realtek RTL8111GS |
72 | rgephy* at mii? phy ? | | 72 | rgephy* at mii? phy ? |
73 | ukphy* at mii? phy ? | | 73 | ukphy* at mii? phy ? |
74 | | | 74 | |
75 | # Mini-PCIe Wireless | | 75 | # Mini-PCIe Wireless |
76 | athn* at pci? dev ? function ? # Atheros IEEE 802.11 | | 76 | athn* at pci? dev ? function ? # Atheros IEEE 802.11 |
77 | | | 77 | |
78 | # UART | | 78 | # UART |
79 | com3 at tegraio? port 3 # UART-D | | 79 | com3 at tegraio? port 3 # UART-D |
80 | options CONSADDR=0x70006300, CONSPEED=115200 | | 80 | options CONSADDR=0x70006300, CONSPEED=115200 |
81 | | | 81 | |
82 | # I2C | | 82 | # I2C |
83 | tegrai2c0 at tegraio? port 0 # I2C1 | | 83 | tegrai2c0 at tegraio? port 0 # I2C1 |
84 | iic0 at tegrai2c0 | | 84 | iic0 at tegrai2c0 |
85 | titemp0 at iic0 addr 0x4c # TI TMP451 | | 85 | titemp0 at iic0 addr 0x4c # TI TMP451 |
86 | seeprom0 at iic0 addr 0x56 size 256 # Atmel 24C02 serial EEPROM | | 86 | seeprom0 at iic0 addr 0x56 size 256 # Atmel 24C02 serial EEPROM |
87 | tegrai2c1 at tegraio? port 1 # I2C2 | | 87 | tegrai2c1 at tegraio? port 1 # I2C2 |
88 | iic1 at tegrai2c1 | | 88 | iic1 at tegrai2c1 |
89 | tegrai2c2 at tegraio? port 2 # I2C3 | | 89 | tegrai2c2 at tegraio? port 2 # I2C3 |
90 | iic2 at tegrai2c2 | | 90 | iic2 at tegrai2c2 |
91 | tegrai2c3 at tegraio? port 3 # I2C4 | | 91 | tegrai2c3 at tegraio? port 3 # I2C4 |
92 | iic3 at tegrai2c3 | | 92 | iic3 at tegrai2c3 |
93 | ddc0 at iic3 addr 0x50 # HDMI DDC | | 93 | ddc0 at iic3 addr 0x50 # HDMI DDC |
94 | tegrai2c4 at tegraio? port 4 # I2C5 | | 94 | tegrai2c4 at tegraio? port 4 # I2C5 |
95 | iic4 at tegrai2c4 | | 95 | iic4 at tegrai2c4 |
96 | | | 96 | |
97 | # RTC | | 97 | # RTC |
98 | tegrartc0 at tegraio? # RTC | | 98 | tegrartc0 at tegraio? # RTC |
99 | | | 99 | |
100 | # SDMMC | | 100 | # SDMMC |
101 | sdhc2 at tegraio? port 2 # SDMMC3 (SD card) | | 101 | sdhc2 at tegraio? port 2 # SDMMC3 (SD card) |
102 | sdmmc2 at sdhc2 | | 102 | sdmmc2 at sdhc2 |
103 | sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) | | 103 | sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) |
104 | sdmmc3 at sdhc3 | | 104 | sdmmc3 at sdhc3 |
105 | | | 105 | |
106 | ld0 at sdmmc3 # eMMC | | 106 | ld0 at sdmmc3 # eMMC |
107 | ld1 at sdmmc2 # SD card | | 107 | ld1 at sdmmc2 # SD card |
108 | | | 108 | |
109 | # SATA | | 109 | # SATA |
110 | ahcisata0 at tegraio? # SATA | | 110 | ahcisata0 at tegraio? # SATA |
111 | atabus* at ata? | | 111 | atabus* at ata? |
112 | atapibus* at atapi? | | 112 | atapibus* at atapi? |
113 | wd* at atabus? drive ? | | 113 | wd* at atabus? drive ? |
114 | #cd* at atapibus? drive ? | | 114 | #cd* at atapibus? drive ? |
115 | | | 115 | |
116 | # HDA | | 116 | # HDA |
117 | hdaudio* at tegraio? # HDA | | 117 | hdaudio* at tegraio? # HDA |
118 | hdafg* at hdaudiobus? | | 118 | hdafg* at hdaudiobus? |
119 | audio* at audiobus? | | 119 | audio* at audiobus? |
120 | options HDAUDIOVERBOSE | | 120 | options HDAUDIOVERBOSE |
121 | options HDAUDIO_32BIT_ACCESS | | 121 | options HDAUDIO_32BIT_ACCESS |
122 | options HDAUDIO_ENABLE_HDMI | | 122 | options HDAUDIO_ENABLE_HDMI |
123 | options HDAUDIO_ENABLE_DISPLAYPORT | | 123 | options HDAUDIO_ENABLE_DISPLAYPORT |
124 | | | 124 | |
125 | # Host1x subsystem | | 125 | # Host1x subsystem |
126 | tegrahost1x0 at tegraio? # HOST1X | | 126 | tegrahost1x0 at tegraio? # HOST1X |
127 | | | 127 | |
128 | # Display controller | | 128 | # Display controller |
129 | tegradc0 at tegraio? port 0 # DISPLAYA | | 129 | tegradc0 at tegraio? port 0 # DISPLAYA |
130 | tegradc1 at tegraio? port 1 # DISPLAYB | | 130 | tegradc1 at tegraio? port 1 # DISPLAYB |
131 | genfb* at tegradc? | | 131 | genfb* at tegradc? |
132 | wsdisplay* at genfb? | | 132 | wsdisplay* at genfb? |
133 | options VCONS_DRAW_INTR | | 133 | options VCONS_DRAW_INTR |
134 | options WSEMUL_VT100 | | 134 | options WSEMUL_VT100 |
135 | options WS_DEFAULT_FG=WSCOL_WHITE | | 135 | options WS_DEFAULT_FG=WSCOL_WHITE |
136 | options WS_DEFAULT_BG=WSCOL_BLACK | | 136 | options WS_DEFAULT_BG=WSCOL_BLACK |
137 | options WS_KERNEL_FG=WSCOL_GREEN | | 137 | options WS_KERNEL_FG=WSCOL_GREEN |
138 | options WS_KERNEL_BG=WSCOL_BLACK | | 138 | options WS_KERNEL_BG=WSCOL_BLACK |
139 | options WSDISPLAY_COMPAT_PCVT | | 139 | options WSDISPLAY_COMPAT_PCVT |
140 | options WSDISPLAY_COMPAT_SYSCONS | | 140 | options WSDISPLAY_COMPAT_SYSCONS |
141 | options WSDISPLAY_COMPAT_USL | | 141 | options WSDISPLAY_COMPAT_USL |
142 | options WSDISPLAY_COMPAT_RAWKBD | | 142 | options WSDISPLAY_COMPAT_RAWKBD |
143 | options WSDISPLAY_DEFAULTSCREENS=4 | | 143 | options WSDISPLAY_DEFAULTSCREENS=4 |
144 | pseudo-device wsmux | | 144 | pseudo-device wsmux |
145 | pseudo-device wsfont | | 145 | pseudo-device wsfont |
146 | | | 146 | |
147 | # HDMI | | 147 | # HDMI |
148 | tegrahdmi0 at tegraio? # HDMI | | 148 | tegrahdmi0 at tegraio? # HDMI |
149 | tegracec0 at tegraio? # HDMI CEC | | 149 | tegracec0 at tegraio? # HDMI CEC |
150 | hdmicec* at hdmicecbus? | | 150 | hdmicec* at hdmicecbus? |
151 | | | 151 | |
| | | 152 | # GPU |
| | | 153 | #nouveau0 at tegraio? # GPU |
| | | 154 | |
152 | # USB 2.0 | | 155 | # USB 2.0 |
153 | ehci0 at tegraio? port 0 # USB1 | | 156 | ehci0 at tegraio? port 0 # USB1 |
154 | ehci1 at tegraio? port 1 # USB2 | | 157 | ehci1 at tegraio? port 1 # USB2 |
155 | ehci2 at tegraio? port 2 # USB3 | | 158 | ehci2 at tegraio? port 2 # USB3 |
156 | usb* at ehci? | | 159 | usb* at ehci? |
157 | | | 160 | |
158 | include "dev/usb/usbdevices.config" | | 161 | include "dev/usb/usbdevices.config" |
159 | midi* at midibus? | | 162 | midi* at midibus? |
160 | | | 163 | |
161 | cinclude "arch/evbarm/conf/JETSONTK1.local" | | 164 | cinclude "arch/evbarm/conf/JETSONTK1.local" |