-
Notifications
You must be signed in to change notification settings - Fork 1
/
pins.js
2427 lines (2402 loc) · 98.2 KB
/
pins.js
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
adapted from https://datasheets.raspberrypi.com/cm4/cm4-datasheet.pdf
pin description format
{
"name": the name that is displayed on the pinout diagram
"description": a short description of the pin, shown when the pin is clicked on or hovered over
"detailed_description": (optional) a longer (optionally HTML based) string with a more detailed description of the pin
"class": an overall idea of what type of pin it is, or what peripheral it belongs to. determines the Regular function used for colour coding
"controller_id": (optional) the id of the peripheral controller this pin belongs to
"functions": (optional) an array of strings that determine alternate functions for each pin
"other_classes": (optional) an array of strings to also set as classes for the pin (ie: for alternate functions)
Regular function is determined by "name" and "class", but additional alternate functions can be defined in the
"functions" property
other classes format
{
"name": the name of the pin / signal
"description": a description of the pin / signal
"class": an overall idea of what type of pin it is, or what peripheral it belongs to. determines the Regular function used for colour coding
"controller_id": (optional) the id of the peripheral controller this pin belongs to
}
}
function_name_columns defines the number of columns the filter table will have. you can add "blank" functions
to group similar functions together.
function names filter table format
{
"name": the name to show on the filter table
"description": a short string to describe the function
"detailed_description": (optional) a longer (optionally HTML based) string with a more detailed description of the function
"class": pins of this class (pin-function-<class>) will be highlighted. if this is missing, name.toLower() will be used
"controllers": (optional) an array of controller objects that represent each individual controller for that peripheral
controller object format
{
"name": the name to show on the controller filter table
"id": (optional) the id to use to identify which pins are connected to this controller. if not present, name.toLowerCase() is used
"other_classes": (optional) an array of strings to also set as classes for the controller filter table entry (ie: for alternate functions)
}
}
*/
function_name_columns = 2;
function_names = [
{
"name": "All Pins",
"description": "Show all pins",
"detailed_description": "",
"class": null
},
{ // blank
"name": "\u200b",
"description": "",
"detailed_description": "",
"class": null
},
{
"name": "Power",
"description": "Power inputs and outputs",
"detailed_description": "These are the CM4's power input and output pins: <ul> <li>6 x 5V input pins</li> <li>2 x 1.8V Output pins</li> <li>2 x 3.3V Output pins</li> <li>GPIO_VREF, which controls whether the GPIO pins operate at 3v3 or 1v8</li> </ul>",
"controllers": [
{ "name": "5V Input", "id": "5v" },
{ "name": "3.3V Output", "id": "3v3" },
{ "name": "1.8V Output", "id": "1v8" },
{ "name": "GPIO VRef", "id": "gpio" },
]
},
{
"name": "Ground",
"description": "Ground connections",
"detailed_description": "",
"class": "gnd"
},
{
"name": "System",
"description": "Raspberry Pi System pins",
"detailed_description": "These are pins for controlling and monitoring the Raspberry Pi system. <ul> <li>Wifi and Bluetooth disable pins</li> <li>Power and actvity output LEDs</li> <li>Reset and shutdown pins</li> <li>Many more</li> </ul>",
"class": "rpi"
},
{
"name": "GPIO",
"description": "General Purpose Input / Output",
"detailed_description": "Pins that can be used as digital inputs or outputs as needed. See <a href='https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#general-purpose-io-gpio'>the Raspberry Pi documentation</a>",
},
{
"name": "GPCLK",
"description": "General Purpose Clock",
"detailed_description": "Can be configured to output a fixed frequency on a pin. There's not much documentation on this, but <a href='https://pinout.xyz/pinout/gpclk'>pinout.xyz</a> has an introduction",
"controllers": [
{ "name": "0" },
{ "name": "1" },
{ "name": "2" }
]
},
{ // blank
"name": "\u200b",
"description": "",
"detailed_description": "",
"class": null
},
{
"name": "I2C / BSC",
"description": "Inter-integrated Circuit / Broadcom Serial Controller",
"detailed_description": "",
"class": "i2c",
"controllers": [
{ "name": "0", "other_classes": ["hat-i2c"] },
{ "name": "1" },
// { "name": "2" },
{ "name": "3" },
{ "name": "4" },
{ "name": "5" },
{ "name": "6" }
]
},
{
"name": "SPI",
"description": "Serial Peripheral Interface",
"detailed_description": "SPI Controller. The CM4 has 7 SPI controllers, details are on <a href='https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#serial-peripheral-interface-spi'>the Raspberry Pi documentation</a>",
"controllers": [
{ "name": "0" },
{ "name": "1" },
// { "name": "2" },
{ "name": "3" },
{ "name": "4" },
{ "name": "5" },
{ "name": "6" },
]
},
{
"name": "UART",
"description": "Universal Asynchronous Receiver Transmitter",
"detailed_description": "",
"controllers": [
{ "name": "0" },
{ "name": "1" },
{ "name": "2" },
{ "name": "3" },
{ "name": "4" },
{ "name": "5" },
]
},
{
"name": "SDIO",
"description": "Secure Digital Input Output",
"detailed_description": "Used to connect the CM4 Lite to an SD Card. If not using a CM4 Lite, this is used for the onboard eMMC, and shouldn't be used.",
"controllers": [
{ "name": "SD / eMMC", "id": "sd"},
{ "name": "0" },
{ "name": "1" }
]
},
{
"name": "USB",
"description": "Universal Serial Bus",
"detailed_description": "Hardware USB controller. Details are available on the <a href='https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#universal-serial-bus-usb'>Raspberry Pi documentation</a>"
},
{
"name": "Ethernet",
"description": "Gigabit Ethernet",
"detailed_description": "",
},
{
"name": "PCIe",
"description": "Peripheral Component Interconnect Express",
"detailed_description": "",
},
{ // blank
"name": "\u200b",
"description": "",
"detailed_description": "",
"class": null
},
{
"name": "PWM",
"description": "Pulse Width Modulation",
"detailed_description": ""
},
{
"name": "PCM",
"description": "Pulse Code Modulation",
"detailed_description": "",
},
{
"name": "SMI",
"description": "Secondary Memory Interface",
"detailed_description": "",
"class": "smi"
},
{
"name": "JTAG",
"description": "Joint Test Action Group Interface",
"detailed_description": "Protocol for external programming and debugging and testing",
},
{
"name": "HDMI",
"description": "High Definition Multimedia Interface",
"detailed_description": "",
"controllers": [
{ "name": "0" },
{ "name": "1" }
]
},
{
"name": "TV",
"description": "Analogue TV Video Output",
"detailed_description": "Analogue TV Video Output, commonly used with RCA / Phono / Composite connectors.",
},
{
"name": "DPI",
"description": "Display Parallel Interface",
"detailed_description": "Parallel interface for controlling LCD displays. See the <a href='https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#parallel-display-interface-dpi'>Raspberry Pi documentation</a>",
},
{
"name": "DSI",
"description": "Display Serial Interface",
"detailed_description": "Serial interface for controlling LCD displays (like the <a href='https://www.raspberrypi.com/documentation/accessories/display.html'>official Touch display</a>).",
"controllers": [
{ "name": "0" },
{ "name": "1" }
]
},
{
"name": "CSI",
"description": "Camera Serial Interface",
"detailed_description": "",
"controllers": [
{ "name": "0" },
{ "name": "1" }
]
},
{
"name": "Reserved",
"description": "Pins reserved for future use",
"detailed_description": "",
},
]
pinout = {
"headers": [
{ // header 0
"table_id": "pin-header-0",
"pins": [
{ // pin 1
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 2
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 3
"name": "Ethernet_Pair3_P",
"description": "Ethernet Pair 3 Positive",
"class": "ethernet"
},
{ // pin 4
"name": "Ethernet_Pair1_P",
"description": "Ethernet Pair 1 Positive",
"class": "ethernet"
},
{ // pin 5
"name": "Ethernet_Pair3_N",
"description": "Ethernet Pair 3 Negative",
"class": "ethernet"
},
{ // pin 6
"name": "Ethernet_Pair1_N",
"description": "Ethernet Pair 1 Negative",
"class": "ethernet"
},
{ // pin 7
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 8
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 9
"name": "Ethernet_Pair2_N",
"description": "Ethernet Pair 2 Negative",
"class": "ethernet"
},
{ // pin 10
"name": "Ethernet_Pair0_N",
"description": "Ethernet Pair 0 Negative",
"class": "ethernet"
},
{ // pin 11
"name": "Ethernet_Pair2_P",
"description": "Ethernet Pair 2 Positive",
"class": "ethernet"
},
{ // pin 12
"name": "Ethernet_Pair0_P",
"description": "Ethernet Pair 0 Positive",
"class": "ethernet"
},
{ // pin 13
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 14
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 15
"name": "Ethernet_nLED3",
"description": "Low Active Ethernet Activity indicator ( 3.3V signal) Typically a Green LED is connected to this pin: IOL = 8mA @ VOL< 0.4V",
"class": "ethernet"
},
{ // pin 16
"name": "Ethernet_SYNC_IN",
"description": "IEEE1588 SYNC Input pin ( 1.8V signal : IOL = 8mA @ VOL< 0.4V )",
"class": "ethernet"
},
{ // pin 17
"name": "Ethernet_nLED2",
"description": "Low Active Ethernet Activity indicator ( 3.3V signal) Typically a Green LED is connected to this pin: IOL = 8mA @ VOL< 0.4V",
"class": "ethernet"
},
{ // pin 18
"name": "Ethernet_SYNC_OUT",
"description": "IEEE1588 SYNC Output pin ( 1.8V signal : IOL = 8mA @ VOL< 0.4V )",
"class": "ethernet"
},
{ // pin 19
"name": "Ethernet_nLED1",
"description": "Low Active Ethernet speed indicator ( 3.3V signal) Typically a Yellow LED is connected to this pin. A low State indicates the 1Gbit or 10Mbit Link : IOL = 8mA @ VOL< 0.4V",
"class": "ethernet"
},
{ // pin 20
"name": "EEPROM_nWP",
"description": "Leaving floating NB internally pulled up to CM4_3.3V via 100K ( VIL <0.8V) but can be grounded to prevent writing to the on board EEPROM which stores the bootcode",
"class": "rpi"
},
{ // pin 21
"name": "Pi_nLED_Activity",
"description": "Low Active Pi Activity LED. 20mA Max 5V tolerant ( VOL<0.4V). ( this is the signal that drives the Green LED on the Raspberry Pi 4 Model B )",
"class": "rpi"
},
{ // pin 22
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 23
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 24
"name": "GPIO26",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "SD0_DAT2",
"description": "SDIO0 Data 2",
"class": "sdio",
"controller_id": "2"
},
{
"name": "Reserved",
"description": "Reserved",
"class": "reserved"
},
{
"name": "DPI_D22",
"description": "DPI Data 22",
"class": "dpi"
},
{
"name": "SD1_DAT2",
"description": "SDIO1 Data 2",
"class": "sdio",
"controller_id": "2"
},
{
"name": "ARM_TDI",
"description": "JTAG Data In",
"class": "jtag"
},
{
"name": "SPI5_CE1_N",
"descripion": "SPI5 Chip Select 1",
"class": "spi",
"controller_id": "5"
}
]
},
{ // pin 25
"name": "GPIO21",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "PCM_DOUT",
"description": "PCM Data Out",
"class": "pcm"
},
{
"name": "SD13",
"description": "SMI Data 13",
"class": "smi"
},
{
"name": "DPI_D17",
"description": "DPI Data 17",
"class": "dpi"
},
{
"name": "SPI6_SCLK",
"description": "SPI6 Clock",
"class": "spi",
"controller_id": "6"
},
{
"name": "SPI1_SCLK",
"description": "SPI1 Clock",
"class": "spi",
"controller_id": "1"
},
{
"name": "GPCLK1",
"descripion": "General Purpose Clock 1",
"class": "gpclk",
"controller_id": "1"
}
]
},
{ // pin 26
"name": "GPIO19",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "PCM_FS",
"description": "PCM Frame Sync",
"class": "pcm"
},
{
"name": "SD11",
"description": "SMI Data 11",
"class": "smi"
},
{
"name": "DPI_D15",
"description": "DPI Data 15",
"class": "dpi"
},
{
"name": "SPI6_MISO",
"description": "SPI6 MISO",
"class": "spi",
"controller_id": "6"
},
{
"name": "SPI1_MISO",
"description": "SPI1 MISO",
"class": "spi",
"controller_id": "1"
},
{
"name": "PWM0_1",
"description": "PWM0 Channel 0",
"class": "pwm",
"controller_id": "0"
}
]
},
{ // pin 27
"name": "GPIO20",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "PCM_DIN",
"description": "PCM Data In",
"class": "pcm"
},
{
"name": "SD12",
"description": "SMI Data 12",
"class": "smi"
},
{
"name": "DPI_D16",
"description": "DPI Data 16",
"class": "dpi"
},
{
"name": "SPI6_MOSI",
"description": "SPI6 MOSI",
"class": "spi",
"controller_id": "6"
},
{
"name": "SPI1_MOSI",
"description": "SPI1 MOSI",
"class": "spi",
"controller_id": "1"
},
{
"name": "GPCLK0",
"description": "General Purpose Clock 0",
"class": "gpclk",
"controller_id": "0"
}
]
},
{ // pin 28
"name": "GPIO13",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "PWM0_1",
"description": "PWM 0 Channel 1",
"class": "pwm",
"controller_id": "0"
},
{
"name": "SD5",
"description": "SMI Data 5",
"class": "smi"
},
{
"name": "DPI_D9",
"description": "DPI Data 9",
"class": "dpi"
},
{
"name": "SPI5_MISO",
"description": "SPI5 MISO",
"class": "spi",
"controller_id": "5"
},
{
"name": "RX5",
"description": "UART5 Receive",
"class": "uart",
"controller_id": "5"
},
{
"name": "SCL5",
"description": "I2C5 Clock",
"class": "i2c",
"controller_id": "5"
}
]
},
{ // pin 29
"name": "GPIO16",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "Reserved",
"description": "Reserved",
"class": "reserved"
},
{
"name": "SD8",
"description": "SMI Data 8",
"class": "smi"
},
{
"name": "DPI_D12",
"description": "DPI Data 12",
"class": "dpi"
},
{
"name": "CTS0",
"description": "UART0 CTS",
"class": "uart",
"controller_id": "0"
},
{
"name": "SPI1_CE2_N",
"description": "SPI1 Chip Select 2",
"class": "spi",
"controller_id": "1"
},
{
"name": "CTS1",
"description": "UART1 CTS",
"class": "uart",
"controller_id": "1"
}
]
},
{ // pin 30
"name": "GPIO6",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-up",
"class": "gpio",
"functions": [
{
"name": "GPCLK2",
"description": "General Purpose Clock 2",
"class": "gpclk",
"controller_id": "2"
},
{
"name": "SOE_N / SE",
"description": "SMI Controls",
"class": "smi"
},
{
"name": "DPI_D2",
"description": "DPI Data 2",
"class": "dpi"
},
{
"name": "SPI4_MOSI",
"description": "SPI4 MOSI",
"class": "spi",
"controller_id": "4"
},
{
"name": "CTS3",
"description": "UART3 CTS",
"class": "uart",
"controller_id": "3"
},
{
"name": "SDA4",
"description": "I2C4 Data",
"class": "i2c",
"controller_id": "4"
}
]
},
{ // pin 31
"name": "GPIO12",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "PWM0_0",
"description": "PWM0 Channel 0",
"class": "pwm",
"controller_id": "0"
},
{
"name": "SD4",
"description": "SMI Data 4",
"class": "smi"
},
{
"name": "DPI_D8",
"description": "DPI Data 8",
"class": "dpi"
},
{
"name": "SPI5_CE0_N",
"description": "SPI5 Chip Select 0",
"class": "spi",
"controller_id": "5"
},
{
"name": "TXD5",
"description": "UART5 Transmit",
"class": "uart",
"controller_id": "5"
},
{
"name": "SDA5",
"description": "I2C5 Data",
"class": "i2c",
"controller_id": "5"
}
]
},
{ // pin 32
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 33
"name": "GND",
"description": "Ground (0V)",
"class": "gnd"
},
{ // pin 34
"name": "GPIO5",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-up",
"class": "gpio",
"functions": [
{
"name": "GPCLK1",
"description": "General Purpose Clock 1",
"class": "gpclk",
"controller_id": "1"
},
{
"name": "SA0",
"description": "SMI Address 0",
"class": "smi"
},
{
"name": "DPI_D1",
"description": "DPI Data 1",
"class": "dpi"
},
{
"name": "SPI4_MISO",
"description": "SPI4 MISO",
"class": "spi",
"controller_id": "4"
},
{
"name": "RXD3",
"description": "UART3 Receive",
"class": "uart",
"controller_id": "3"
},
{
"name": "SCL3",
"description": "I2C3 Clock",
"class": "i2c",
"controller_id": "3"
}
]
},
{ // pin 35
"name": "ID_SC",
"description": "(BCM2711 GPIO 1) GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V",
"class": "rpi",
"other_classes": ["hat-i2c"],
"functions": [
{
"name": "SCL0",
"description": "I2C0 Clock",
"class": "i2c",
"controller_id": "0"
},
{
"name": "SA4",
"description": "SMI Address 4",
"class": "smi"
},
{
"name": "DPI_DE",
"description": "DPI Data Enable",
"class": "dpi"
},
{
"name": "SPI3_MISO",
"description": "SPI3 MISO",
"class": "spi",
"controller_id": "3"
},
{
"name": "RXD2",
"description": "UART2 Receive",
"class": "uart",
"controller_id": "2"
},
{
"name": "SCL6",
"description": "I2C6 Clock",
"class": "i2c",
"controller_id": "6"
}
]
},
{ // pin 36
"name": "ID_SD",
"description": "(BCM2711 GPIO 0) GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V",
"class": "rpi",
"other_classes": ["hat-i2c"],
"functions": [
{
"name": "SDA0",
"description": "I2C0 Data",
"class": "i2c",
"controller_id": "0"
},
{
"name": "SA5",
"description": "SMI Address 5",
"class": "smi"
},
{
"name": "DPI_PCLK",
"description": "DPI Pixel Clock",
"class": "dpi"
},
{
"name": "SPI3_CE0_N",
"description": "SPI3 Chip Select 0",
"class": "spi",
"controller_id": "3"
},
{
"name": "TXD2",
"description": "UART2 Transmit",
"class": "uart",
"controller_id": "2"
},
{
"name": "SDA6",
"description": "I2C6 Data",
"class": "i2c",
"controller_id": "6"
}
]
},
{ // pin 37
"name": "GPIO7",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-up",
"class": "gpio",
"functions": [
{
"name": "SPI0_CE1_N",
"description": "SPI0 Chip Select 1",
"class": "spi",
"controller_id": "0"
},
{
"name": "SWE_N / SRW_N",
"description": "SMI Control",
"class": "smi"
},
{
"name": "DPI_D3",
"description": "DPI Data 3",
"class": "dpi"
},
{
"name": "SPI4_SCLK",
"description": "SPI4 Clock",
"class": "spi",
"controller_id": "4"
},
{
"name": "RTS3",
"description": "UART3 RTS",
"class": "uart",
"controller_id": "3"
},
{
"name": "SCL4",
"description": "I2C4 Clock",
"class": "i2c",
"controller_id": "4"
}
]
},
{ // pin 38
"name": "GPIO11",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "SPI0_SCLK",
"description": "SPI0 Clock",
"class": "spi",
"controller_id": "0"
},
{
"name": "SD3",
"description": "SMI Data 3",
"class": "smi"
},
{
"name": "DPI_D7",
"description": "DPI Data 7",
"class": "dpi"
},
{
"name": "BSCSL SCL / SCLK",
"description": "BSC SPI Peripheral and I2C Device Clock",
"class": "spi",
"controller_id": "bsc"
},
{
"name": "RTS4",
"description": "UART4 RTS",
"class": "uart",
"controller_id": "4"
},
{
"name": "SCL5",
"description": "I2C5 SCL",
"class": "i2c",
"controller_id": "5"
}
]
},
{ // pin 39
"name": "GPIO8",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-up",
"class": "gpio",
"functions": [
{
"name": "SPI0_CE0_N",
"description": "SPI0 Chip Select 0",
"class": "spi",
"controller_id": "0"
},
{
"name": "SD0",
"description": "SMI Data 0",
"class": "smi"
},
{
"name": "DPI_D4",
"description": "DPI Data 4",
"class": "dpi"
},
{
"name": "BSCSL CE_N",
"description": "BSC SPI Peripheral Chip Select",
"class": "spi",
"controller_id": "bsc"
},
{
"name": "TXD4",
"description": "UART4 Transmit",
"class": "uart",
"controller_id": "4"
},
{
"name": "SDA4",
"description": "I2C4 SDA",
"class": "i2c",
"controller_id": "4"
}
]
},
{ // pin 40
"name": "GPIO9",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",
"class": "gpio",
"functions": [
{
"name": "SPI0_MISO",
"description": "SPI0 MISO",
"class": "spi",
"controller_id": "0"
},
{
"name": "SD1",
"description": "SMI Data 1",
"class": "smi"
},
{
"name": "DPI_D5",
"description": "DPI Data 5",
"class": "dpi"
},
{
"name": "BSCSL MISO",
"description": "BSC SPI Peripheral MISO",
"class": "spi",
"controller_id": "bsc"
},
{
"name": "RXD4",
"description": "UART4 Receive",
"class": "uart",
"controller_id": "4"
},
{
"name": "SCL4",
"description": "I2C4 SCL",
"class": "i2c",
"controller_id": "4"
}
]
},
{ // pin 41
"name": "GPIO25",
"description": "GPIO Typically a 3.3V signal but can be a 1.8V signal by connecting GPIO_Vref to 1.8V. Internal pull-down",