Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # For more options and information see
- # http://rptl.io/configtxt
- # Some settings may impact device functionality. See link above for details
- # Uncomment some or all of these to enable the optional hardware interfaces
- dtparam=i2c_arm=on
- #,i2c_arm_baudrate=10000
- #dtparam=i2s=on
- dtparam=spi=off
- # Enable audio (loads snd_bcm2835)
- dtparam=audio=on
- # Additional overlays and parameters are documented
- # /boot/firmware/overlays/README
- # Automatically load overlays for detected cameras
- camera_auto_detect=1
- # Automatically load overlays for detected DSI displays
- display_auto_detect=1
- # Automatically load initramfs files, if found
- auto_initramfs=1
- # Enable DRM VC4 V3D driver
- dtoverlay=vc4-kms-v3d
- max_framebuffers=2
- # Don't have the firmware create an initial video= setting in cmdline.txt.
- # Use the kernel's default instead.
- disable_fw_kms_setup=1
- # Run in 64-bit mode
- arm_64bit=1
- # Disable compensation for displays with overscan
- disable_overscan=1
- # Run as fast as firmware / board allows
- arm_boost=1
- [cm4]
- # Enable host mode on the 2711 built-in XHCI USB controller.
- # This line should be removed if the legacy DWC2 controller is required
- # (e.g. for USB device mode) or if USB support is not required.
- otg_mode=1
- [all]
- enable_uart=0
- +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+
- | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
- +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
- | | | 3.3v | | | 1 || 2 | | | 5v | | |
- | 2 | 8 | SDA.1 | ALT0 | 1 | 3 || 4 | | | 5v | | |
- | 3 | 9 | SCL.1 | ALT0 | 1 | 5 || 6 | | | 0v | | |
- | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | IN | TxD | 15 | 14 |
- | | | 0v | | | 9 || 10 | 1 | IN | RxD | 16 | 15 |
- | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 |
- | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | |
- | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |
- | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 |
- | 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | |
- | 9 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 |
- | 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 |
- | | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 |
- | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 |
- | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | |
- | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 |
- | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | |
- | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 |
- | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 |
- | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 |
- +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
- | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
- 0: ip pu | hi // ID_SDA/GPIO0 = input
- 1: ip pu | hi // ID_SCL/GPIO1 = input
- 2: a0 pu | hi // GPIO2 = SDA1
- 3: a0 pu | hi // GPIO3 = SCL1
- 4: ip pu | hi // GPIO4 = input
- 5: ip pu | hi // GPIO5 = input
- 6: ip pu | hi // GPIO6 = input
- 7: ip pu | hi // GPIO7 = input
- 8: ip pu | hi // GPIO8 = input
- 9: ip pd | lo // GPIO9 = input
- 10: ip pd | lo // GPIO10 = input
- 11: ip pd | lo // GPIO11 = input
- 12: ip pd | lo // GPIO12 = input
- 13: ip pd | lo // GPIO13 = input
- 14: ip pn | hi // GPIO14 = input
- 15: ip pu | hi // GPIO15 = input
- 16: ip pd | lo // GPIO16 = input
- 17: ip pd | lo // GPIO17 = input
- 18: ip pd | lo // GPIO18 = input
- 19: ip pd | lo // GPIO19 = input
- 20: ip pd | lo // GPIO20 = input
- 21: ip pd | lo // GPIO21 = input
- 22: ip pd | lo // GPIO22 = input
- 23: ip pd | lo // GPIO23 = input
- 24: ip pd | lo // GPIO24 = input
- 25: ip pd | lo // GPIO25 = input
- 26: ip pd | lo // GPIO26 = input
- 27: ip pd | lo // GPIO27 = input
- 28: a5 pu | hi // RGMII_MDIO/GPIO28 = RGMII_MDIO
- 29: a5 pd | lo // RGMIO_MDC/GPIO29 = RGMII_MDC
- 30: a3 pu | hi // CTS0/GPIO30 = CTS0
- 31: a3 pn | lo // RTS0/GPIO31 = RTS0
- 32: a3 pn | hi // TXD0/GPIO32 = TXD0
- 33: a3 pu | hi // RXD0/GPIO33 = RXD0
- 34: a3 pn | lo // SD1_CLK/GPIO34 = SD1_CLK
- 35: a3 pu | hi // SD1_CMD/GPIO35 = SD1_CMD
- 36: a3 pu | hi // SD1_DATA0/GPIO36 = SD1_DAT0
- 37: a3 pu | hi // SD1_DATA1/GPIO37 = SD1_DAT1
- 38: a3 pu | hi // SD1_DATA2/GPIO38 = SD1_DAT2
- 39: a3 pu | hi // SD1_DATA3/GPIO39 = SD1_DAT3
- 40: ip pd | hi // PWM0_MISO/GPIO40 = input
- 41: ip pd | lo // PWM1_MOSI/GPIO41 = input
- 42: op -- pd | lo // STATUS_LED_G_CLK/GPIO42 = output
- 43: ip pd | hi // SPIFLASH_CE_N/GPIO43 = input
- 44: ip pn | hi // SDA0/GPIO44 = input
- 45: ip pn | hi // SCL0/GPIO45 = input
- 46: ip pu | lo // RGMII_RXCLK/GPIO46 = input
- 47: ip pu | lo // RGMII_RXCTL/GPIO47 = input
- 48: a0 pd | lo // RGMII_RXD0/GPIO48 = SD0_CLK
- 49: a0 pd | lo // RGMII_RXD1/GPIO49 = SD0_CMD
- 50: a0 pd | lo // RGMII_RXD2/GPIO50 = SD0_DAT0
- 51: a0 pd | lo // RGMII_RXD3/GPIO51 = SD0_DAT1
- 52: a0 pd | lo // RGMII_TXCLK/GPIO52 = SD0_DAT2
- 53: a0 pd | lo // RGMII_TXCTL/GPIO53 = SD0_DAT3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement