From 7fc098bf90ba0014009229a8065e86b956a0a7c1 Mon Sep 17 00:00:00 2001 From: John Audia Date: Mon, 16 Dec 2024 11:04:14 -0500 Subject: [PATCH] patches-6.12: bcm27xx: refresh patch set The patches were generated from the RPi repo with the following command: git format-patch v6.12.5..rpi-6.12.y Then used update_kernel.sh to rebase against 6.12.5. Removed wireless drivers, Github workflows, and defconfigs patches. The following was used to flag potential patches to exclude: ls|grep -i brcm ls|grep -i github ls|grep -i config ls|grep -i readme Also helpful to grep for keywords in patches to manually inspect like: grep defconfig *.patch Signed-off-by: John Audia --- ...v-Fix-CS-polarity-if-GPIO-descriptor.patch | 22 + ...net-Request-APD-DLL-disable-and-IDDQ.patch | 29 + ...ci-add-quirk-for-host-controllers-th.patch | 69 + ...tb-Configure-HW-CLKREQ-mode-appropri.patch | 156 + ...dts-bcm2711-Add-BCM2711-xHCI-support.patch | 52 + ...-usb-phy-generic-Get-the-vbus-supply.patch | 26 + ...ypi-firmware-Update-mailbox-commands.patch | 102 + ...-fixup-modes-that-haven-t-been-reset.patch | 24 + ...r-the-gamma-lut-has-changed-before-u.patch | 30 + ...-the-meaning-and-spec-references-for.patch | 76 + ...762-Ignore-EPROBE_DEFER-when-logging.patch | 25 + ...015-drm-Add-chroma-siting-properties.patch | 170 + ...rs-remove-legacy_cursor_update-hacks.patch | 121 + ...argins-are-updated-update-all-planes.patch | 60 + ...0-0018-arm64-setup-Fix-build-warning.patch | 24 + ...BCM2708-Add-core-Device-Tree-support.patch | 48839 +++++++++++++ ...Allow-cpufreq-driver-to-also-adjust-.patch | 25 + ...eate-helper-to-retrieve-private-data.patch | 70 + ...spberrypi-Add-ISP-to-exported-clocks.patch | 85 + ...Register-the-clocks-early-during-the.patch | 83 + ...Mark-used-PLLs-and-dividers-CRITICAL.patch | 28 + ...lk-bcm2835-Add-claim-clocks-property.patch | 118 + ...35-Read-max-core-clock-from-firmware.patch | 122 + ...clk-bcm2835-Don-t-wait-for-pllh-lock.patch | 38 + ...support-for-setting-leaf-clock-rates.patch | 53 + ...w-reparenting-leaf-clocks-while-they.patch | 71 + ...bcm2835-Avoid-null-pointer-exception.patch | 29 + ...0-0032-clk-bcm2835-Disable-v3d-clock.patch | 84 + ...k-bcm2835-Use-PLLD-for-DSI0-HS-clock.patch | 35 + ...34-cache-export-clean-and-invalidate.patch | 53 + ...ental-Enable-turbo_mode-and-packetsi.patch | 43 + ...ow-mac-address-to-be-set-in-smsc95xx.patch | 72 + ...e_resource-against-resources-without.patch | 28 + ...cm2836-Avoid-Invalid-trigger-warning.patch | 24 + ...0039-irqchip-bcm2835-Add-FIQ-support.patch | 127 + ...hip-irq-bcm2835-Add-2836-FIQ-support.patch | 99 + ...ompletely-disable-the-spidev-warning.patch | 24 + ...5-Load-driver-early-and-support-lega.patch | 1216 + ...rtc-Add-SPI-alias-for-pcf2123-driver.patch | 20 + ...835-Support-setting-reboot-partition.patch | 102 + ...-off-rather-than-busy-spinning-when-.patch | 49 + ...void-initialising-if-already-enabled.patch | 25 + .../950-0047-Update-vfpmodule.c.patch | 137 + ...0-0048-i2c-bcm2835-Add-debug-support.patch | 189 + ...bcm2836-Remove-regmap-and-syscon-use.patch | 112 + ...-Insert-mb-for-correct-FIFO-handling.patch | 27 + ...Add-cts-event-workaround-DT-property.patch | 50 + ...011-Avoid-rare-write-when-full-error.patch | 42 + ...0053-Main-bcm2708-bcm2709-linux-port.patch | 150 + .../950-0054-Add-dwc_otg-driver.patch | 61017 ++++++++++++++++ ...55-bcm2708_fb-Add-framebuffer-driver.patch | 4042 + ...56-dmaengine-Add-support-for-BCM2708.patch | 652 + ...057-MMC-added-alternative-MMC-driver.patch | 2021 + ...do-single-sector-reads-during-recove.patch | 34 + ...dhost-driver-and-an-overlay-to-enabl.patch | 2517 + ...m-driver-for-querying-firmware-memor.patch | 771 + .../950-0061-Add-SMI-driver.patch | 1970 + ...950-0062-Add-Chris-Boot-s-i2c-driver.patch | 658 + ...com-char-drivers-back-to-build-files.patch | 30 + ...0-0064-char-broadcom-Add-vcio-module.patch | 273 + ...vers-char-add-generic-gpiomem-driver.patch | 327 + ...irmware-bcm2835-Support-ARCH_BCM270x.patch | 74 + ...ds-Add-the-input-trigger-for-pwr_led.patch | 168 + ...dded-Device-IDs-for-August-DVB-T-205.patch | 22 + ...o_user-and-__copy_from_user-performa.patch | 1598 + ...d-Raspberry-Pi-Sense-HAT-core-driver.patch | 408 + ...ehat-Add-Raspberry-Pi-Sense-HAT-to-s.patch | 29 + ...joystick-Revert-to-downstream-keymap.patch | 28 + ...-for-all-the-downstream-rpi-sound-ca.patch | 18637 +++++ ...lay-add-backlight-driver-and-overlay.patch | 171 + ...bcm2835-virtgpio-Virtual-GPIO-driver.patch | 275 + ...076-OF-DT-Overlay-configfs-interface.patch | 408 + ...-brcm-adds-support-for-BCM43341-wifi.patch | 102 + ...i_h5-Don-t-send-conf_req-when-ACTIVE.patch | 23 + ...und-Robin-dispatch-IRQs-between-CPUs.patch | 138 + ...ware-emulation-of-deprecated-instruc.patch | 27 + ...-AXI-performance-monitor-driver-2222.patch | 887 + ...m2835-Set-Serial-number-and-Revision.patch | 63 + ...Q-Fix-bad-mode-in-data-abort-handler.patch | 116 + ...FIQs-to-avoid-__irq_startup-warnings.patch | 36 + ...so-set-bus-numbers-from-reg-property.patch | 35 + ...ear-option-to-pps-gpio-via-dtoverlay.patch | 22 + ...fault-mouse-polling-interval-to-60Hz.patch | 46 + ...pberrypi-Notify-firmware-of-a-reboot.patch | 84 + ...bcm2835-Calc.-FIQ_START-at-boot-time.patch | 66 + ...c-Re-enable-firmware-roaming-support.patch | 29 + ...SPI_DRV-should-select-DVB_CXD2880-wi.patch | 20 + ...rypi-Add-backward-compatible-get_thr.patch | 79 + ...rypi-Report-the-fw-variant-during-pr.patch | 89 + ...Disable-TCP-Segmentation-Offload-TSO.patch | 56 + ...xx-Support-auto-downshift-to-100Mb-s.patch | 91 + ...e-link-events-to-minimize-poll-storm.patch | 45 + ...-Ack-pending-PHY-ints-when-resetting.patch | 32 + ...-for-SOF_TIMESTAMPING_TX_SOFTWARE-su.patch | 20 + ...8xx-Enable-LEDs-and-auto-negotiation.patch | 49 + ...-tc358743-Increase-FIFO-level-to-374.patch | 31 + ...-Add-support-for-972Mbit-s-link-freq.patch | 91 + ...743-Check-I2C-succeeded-during-probe.patch | 98 + ...180-Default-to-the-first-valid-input.patch | 45 + ...v7180-Add-YPrPb-support-for-ADV7282M.patch | 24 + ...Add-helper-defines-for-printing-FOUR.patch | 28 + ...-Document-BCM283x-CSI2-CCP2-receiver.patch | 103 + ...eturn-an-appropriate-colorspace-from.patch | 110 + ...chiq-Avoid-use-of-bool-in-structures.patch | 24 + ...chiq-Add-support-for-event-callbacks.patch | 356 + ...vices-Support-sending-data-to-MMAL-p.patch | 42 + ...2-Allow-exporting-of-a-struct-dmabuf.patch | 82 + ...iq-Fix-client_component-for-64-bit-k.patch | 35 + ...iq-Add-in-the-Bayer-encoding-formats.patch | 51 + ...iq-Update-mmal_parameters.h-with-rec.patch | 56 + ...iq-Free-the-event-context-for-contro.patch | 28 + ...-vchiq-Fix-memory-leak-in-error-path.patch | 76 + ...ake-GPIO-an-output-for-strong-pullup.patch | 169 + ...18-arm-bcm2835-Fix-FIQ-early-ioremap.patch | 73 + ...arm-bcm2835-DMA-can-only-address-1GB.patch | 25 + ...rng-iproc-rng200-Add-BCM2838-support.patch | 161 + ...genet-constrain-max-DMA-burst-length.patch | 20 + ...Better-coalescing-parameter-defaults.patch | 43 + ...-link-energy-detect-powerdown-for-ex.patch | 31 + ...-for-updating-interrupt-endpoint-int.patch | 104 + ...hci_fixup_endpoint-for-interval-adju.patch | 135 + ...und-for-bogus-SET_DEQ_PENDING-endpoi.patch | 41 + ...d-add-the-endpoint-context-in-xhci_f.patch | 30 + ...ckport-BCM2711-support-from-upstream.patch | 41 + ...35-Set-clock-stretch-timeout-to-35ms.patch | 47 + ...m-v3d-Clock-V3D-down-when-not-in-use.patch | 205 + ...-v3d-Switch-clock-setting-to-new-api.patch | 74 + ...ce-quirks-for-Freeway-Airmouse-T3-an.patch | 63 + ...t-Workaround-2-for-Pi4-Ethernet-fail.patch | 51 + ...arch-arm-Add-model-string-to-cpuinfo.patch | 36 + ...Add-Revision-Serial-Model-to-cpuinfo.patch | 57 + ...7-Support-for-the-Sony-IMX477-sensor.patch | 2816 + ...9-Support-for-the-Sony-IMX519-sensor.patch | 2390 + ...media-imx296-Disable-2x2-binned-mode.patch | 63 + ...mx296-Add-standby-delay-during-probe.patch | 26 + ...x296-Updated-imx296-driver-for-exter.patch | 40 + ...c-imx296-imx477-Configure-tigger_mod.patch | 34 + ...-Updated-register-setting-to-fix-Fas.patch | 25 + ...a-i2c-imx296-Get-sensor-crop-working.patch | 35 + ...imx296-Add-helper-for-hblank-control.patch | 84 + ...-i2c-imx296-Set-a-1-frame-gain-delay.patch | 25 + ...-Add-horizontal-vertical-flip-suppor.patch | 158 + ...ia-i2c-imx296-Adjust-cropping-limits.patch | 28 + ...vicetree-Add-documentation-for-imx37.patch | 142 + ...0-0149-v4l2-Add-a-Greyworld-AWB-mode.patch | 23 + ...cm2835-camera-Add-greyworld-AWB-mode.patch | 48 + ...-v4l2-Add-Greyworld-AWB-control-name.patch | 24 + ...binding-for-the-Infineon-IRS1125-sen.patch | 66 + ...driver-for-the-Infineon-IRS1125-dept.patch | 1493 + ...Suppress-all-but-the-first-MMU-error.patch | 39 + ...m-Register-vcsm-cma-as-a-platform-dr.patch | 40 + ...m-Register-bcm2835-codec-as-a-platfo.patch | 40 + ...-Allow-ethernet-LED-mode-to-be-set-v.patch | 77 + ...it-out-the-BCM54213PE-from-the-BCM54.patch | 71 + ...roadcom-Add-bcm54213pe-configuration.patch | 34 + ...-optionally-enable-link-down-powersa.patch | 26 + ...-phy-BCM54210PE-does-not-support-PTP.patch | 44 + ...m-Set-up-dma-ranges-on-child-devices.patch | 255 + ...q_arm-Usa-a-DMA-pool-for-small-bulks.patch | 118 + ...q-Load-bcm2835_isp-driver-from-vchiq.patch | 39 + ...trl-bcm2835-Remove-gpiochip-on-error.patch | 25 + ...f-overlay-Correct-symbol-path-fixups.patch | 37 + ...-Add-DT-docs-for-Brcmstb-PCIe-device.patch | 77 + ...t-Disable-skip_umac_reset-by-default.patch | 23 + ...h-Add-a-format-for-column-YUV4-2-0-m.patch | 309 + ...s-media-Add-binding-for-the-Raspberr.patch | 106 + ...dia-Add-media_request_-pin-unpin-API.patch | 94 + ...ivid-Add-Raspberry-Pi-V4L2-H265-deco.patch | 5275 ++ ...CS_HIGH-if-GPIO-descriptors-are-used.patch | 57 + ...core-Add-sensor-ancillary-data-V4L2-.patch | 85 + ...EDIA_BUS_FMT_SENSOR_DATA-media-bus-f.patch | 61 + ...core-Add-ISP-statistics-output-V4L2-.patch | 94 + ...trls-Add-CID-base-for-the-bcm2835-is.patch | 169 + ...vices-mmal-vchiq-Update-parameters-l.patch | 28 + ...vices-bcm2835-camera-Request-headers.patch | 30 + ...-t-prevent-IRQ-usage-of-output-GPIOs.patch | 50 + ...fer-a-ccode-from-OTP-over-nvram-file.patch | 130 + ...icam-Driver-for-CCP2-CSI2-camera-int.patch | 3144 + ...icam-Add-support-for-get_mbus_config.patch | 56 + ...icam-Avoid-gcc-warning-over-0-on-end.patch | 27 + ...50-bcm2835aux-defer-if-clock-is-zero.patch | 28 + ...icam-Reinstate-V4L2_CAP_READWRITE-in.patch | 28 + ...icam-Ensure-type-is-VIDEO_CAPTURE-in.patch | 36 + ...icam-Set-VPU-min-clock-freq-to-250Mh.patch | 127 + ...835-unicam-Update-documentation-with.patch | 38 + ...950-0190-leds-Add-the-actpwr-trigger.patch | 235 + ...icam-Drop-WARN-on-uing-direct-cache-.patch | 34 + ...835-unicam-Always-service-interrupts.patch | 51 + ...835-unicam-Fix-uninitialized-warning.patch | 21 + ...icam-Fixup-review-comments-from-Hans.patch | 215 + ...icam-Retain-packing-information-on-G.patch | 48 + ...icam-change-minimum-number-of-vb2_qu.patch | 28 + ...tft-Add-support-for-display-variants.patch | 293 + ...ac-Increase-power-saving-delay-to-2s.patch | 33 + ...camera-Replace-deprecated-V4L2_PIX_F.patch | 30 + ...04_services-Add-new-vc-sm-cma-driver.patch | 2880 + ...hiq-mmal-Add-support-for-14bit-Bayer.patch | 27 + ...l-vchiq-Add-monochrome-image-formats.patch | 29 + ...iq-Use-vc-sm-cma-to-support-zero-cop.patch | 178 + ...services-Add-a-V4L2-M2M-codec-driver.patch | 4704 ++ ...isp-Add-bcm2835-isp-uapi-header-file.patch | 338 + ...vices-ISP-Add-a-more-complex-ISP-pro.patch | 3127 + .../950-0207-gpio-Add-gpio-fsm-driver.patch | 1319 + ...-Ignore-params-after-the-partition-n.patch | 29 + ...rypi-Add-support-for-tryonce-reboot-.patch | 60 + ...-Poll-the-device-if-no-interrupt-is-.patch | 340 + ...ings-Add-compatible-for-BCM2711-DSI1.patch | 23 + ...icam-Correctly-handle-error-propagat.patch | 27 + ...icam-Return-early-from-stop_streamin.patch | 64 + ...icam-Clear-clock-state-when-stopping.patch | 25 + ...0215-PCI-brcmstb-Add-BCM2712-support.patch | 1235 + ...vices-Add-additional-unpacked-raw-fo.patch | 51 + ...isp-Add-colour-denoise-configuration.patch | 56 + ...around-fix-for-zero-length-transfers.patch | 50 + ...icam-Fix-bug-in-buffer-swapping-logi.patch | 75 + ...iases-to-different-AES-implementatio.patch | 107 + ...-return-codes-from-ov5647_write-ov56.patch | 55 + ...ov5647-Parse-and-register-properties.patch | 49 + ...m2835-camera-Add-support-for-DMABUFs.patch | 37 + ...taging-fbtft-Add-minipitft13-variant.patch | 104 + ...camera-Add-support-for-H264-levels-4.patch | 58 + ...2c-ov5647-Correct-pixel-array-offset.patch | 25 + ...-ov5647-Correct-minimum-VBLANK-value.patch | 26 + ...-Fix-v4l2-compliance-failure-subscri.patch | 26 + ...icam-Forward-input-status-from-subde.patch | 53 + ...v7251-Add-fwnode-properties-controls.patch | 48 + ...rrypi-touchscreen-Use-independent-I2.patch | 115 + ...-Add-a-timing-for-the-Raspberry-Pi-7.patch | 600 + ...070me05000-Use-gpiod_set_value_cansl.patch | 85 + ...881c-driver-support-for-nwe080-panel.patch | 1072 + ...881c-add-compatible-string-for-new-p.patch | 25 + ...nel-driver-for-TDO-Y17B-based-panels.patch | 330 + ...nel-driver-for-Waveshare-DSI-touchsc.patch | 568 + ...indings-vendor-prefixes-Add-Geekworm.patch | 23 + ...lay-simple-add-Geekworm-MZP280-Panel.patch | 34 + ...-bindings-display-panel-dsi-bindings.patch | 136 + ...al-Add-buffer-flags-for-interlaced-v.patch | 42 + ...al-Add-parameters-for-interlaced-vid.patch | 61 + ...al-Add-the-deinterlace-image-effects.patch | 26 + ...244-Add-Raspberry-Pi-PoE-HAT-support.patch | 269 + ...iq-Add-module-parameter-to-enable-lo.patch | 313 + ...iq-Reset-buffers_with_vpu-on-port_en.patch | 31 + ...m-fan-Add-fan-speed-register-support.patch | 164 + ...-a-driver-that-wraps-the-PWM-API-as-.patch | 196 + ...-Sensor-should-report-RAW-color-spac.patch | 51 + ...5-unicam-Parse-pad-numbers-correctly.patch | 232 + ...icam-Add-support-for-configuration-v.patch | 1941 + ...camera-Add-support-for-H264_MIN_QP-H.patch | 54 + ...camera-Add-support-for-MPEG_VIDEO_FO.patch | 43 + ...ac-Don-t-promote-INFO-logging-to-ERR.patch | 32 + ...a-i2c-ov5647-Support-HFLIP-and-VFLIP.patch | 189 + ...dev-Restore-loading-from-Device-Tree.patch | 25 + ...unicam-Add-logging-message-when-a-fr.patch | 26 + ...nel-attiny-Don-t-read-the-LCD-power-.patch | 158 + ...523-Fix-oscillator-stop-bit-handling.patch | 56 + ...47-Add-support-for-regulator-control.patch | 111 + ...ov7251-Make-the-enable-GPIO-optional.patch | 26 + ...ls-Reset-V4L2_CID_USER_BCM2835_ISP_B.patch | 33 + ...2c-Add-configuration-for-RPi-POE-HAT.patch | 63 + ...poe-Add-option-of-being-created-by-M.patch | 177 + ...op-CURRENT_AVG-as-it-is-not-hardware.patch | 43 + ...d-option-of-being-created-by-MFD-or-.patch | 234 + ...unicam-Disable-trigger-mode-operatio.patch | 57 + ...icam-Set-ret-on-error-path-in-unicam.patch | 43 + ...e-clock-stretch-timeout-configurable.patch | 44 + ...dings-Add-sck-idle-input-to-spi-gpio.patch | 23 + ...spi-gpio-Add-sck-idle-input-property.patch | 57 + ...icam-Handle-a-repeated-frame-start-w.patch | 63 + ...-Reinstate-setting-ov7251_global_ini.patch | 32 + ...i2c-Add-driver-for-Omnivision-OV2311.patch | 1236 + ...media-i2c-Add-binding-for-ad5398-VCM.patch | 39 + ...dd-driver-for-AD5398-VCM-lens-driver.patch | 396 + ...-Use-v4l2_async_register_subdev_sens.patch | 26 + ...a-introduce-a-customisable-threshold.patch | 67 + ...-Force-probe-routine-to-run-synchron.patch | 28 + ...bindings-vendor-prefixes-Add-Arducam.patch | 23 + ...s-media-i2c-Add-Arducam-Pivariety-Se.patch | 148 + ...iver-of-Arducam-Pivariety-series-cam.patch | 1649 + ...-Use-dev_err_probe-to-suppress-defer.patch | 26 + ...n-add-microchip-emc2305.yaml-dt-bind.patch | 81 + ...xups-for-driver-submitted-to-mailing.patch | 223 + ...hiq-mmal-Add-defines-for-mmal_es_for.patch | 34 + ...e-jump-labels-before-they-are-initia.patch | 86 + ...s-media-i2c-Add-Arducam-64MP-CMOS-se.patch | 151 + ...2c-Add-driver-of-Arducam-64MP-camera.patch | 2720 + ...290-Add-HDMI1-facility-to-the-driver.patch | 300 + ...late-phy-driver-block-for-BCM54213PE.patch | 33 + ...icam-Correctly-handle-FS-FE-ISR-cond.patch | 64 + ...Read-CSI2-config-from-FW-and-pass-to.patch | 158 + ...icam-Fix-for-possible-dummy-buffer-o.patch | 56 + ...-unicam-Fix-up-start-stop-api-change.patch | 39 + ...-Nasty-hack-to-allow-input-selection.patch | 89 + ...-Add-module-param-to-select-ext-trig.patch | 88 + ...et-bcmgenet-Add-eee-module-parameter.patch | 46 + ...indings-Add-DW9817-to-DW9807-binding.patch | 46 + ...-Add-support-for-DW9817-bidirectiona.patch | 223 + ...bindings-Add-regulator-to-dw9807-vcm.patch | 40 + ...-Add-regulator-support-to-the-driver.patch | 187 + ...-Smooth-the-first-user-movement-of-t.patch | 49 + ...a-i2c-Add-IMX708-CMOS-sensor-binding.patch | 155 + ...driver-for-the-Sony-IMX708-image-sen.patch | 2256 + ...icam-Use-mipi-csi2.h-header-for-data.patch | 288 + ...unicam-Add-support-for-RAW16-formats.patch | 64 + ...p3422-Add-correct-compatible-strings.patch | 28 + ...53x-Add-ti-tca9554-compatible-string.patch | 20 + ...hwmon-aht10-Add-DT-compatible-string.patch | 33 + ...mon-ds1621-Add-DT-compatible-strings.patch | 29 + ...-Add-DT-compatible-string-for-ds3234.patch | 29 + ...hwmon-sht3x-Add-DT-compatible-string.patch | 40 + ...ght-tsl4531-Add-DT-compatible-string.patch | 29 + ...ht-veml6070-Add-DT-compatible-string.patch | 29 + ...-Correct-the-minimum-vblanking-value.patch | 26 + ...rng-bcm2835-sleep-more-intelligently.patch | 66 + ...ncel-deferred-work-if-pagelist-empty.patch | 36 + ...a-i2c-Replace-IMX708-sensor-binding-.patch | 282 + ...icam-Start-and-stop-media_pipeline-w.patch | 43 + ...-option-to-poll-instead-of-relying-o.patch | 180 + ...al-8250-Add-NOMSI-bug-for-bcm2835aux.patch | 103 + ...ci_sync-Add-fallback-bd-address-prop.patch | 40 + ...oth-hci_bcm-Add-more-invalid-BDADDRs.patch | 45 + ...bcm2835-Workaround-for-edge-IRQ-loss.patch | 67 + ...-phys-addresses-for-slave-DMA-config.patch | 60 + ...-phys-addresses-for-slave-DMA-config.patch | 86 + ...bcm2835-Flush-FIFOs-cleanly-on-error.patch | 45 + ...ot-abort-transfers-on-ERR-if-still-a.patch | 28 + ...c-bcm2835-Implement-I2C_M_IGNORE_NAK.patch | 61 + ...tibility-hack-should-be-X86-specific.patch | 48 + ...7xx-Read-modem-line-state-at-startup.patch | 28 + ...m2835_unicam-Improve-frame-sequence-.patch | 79 + ...-quirks-add-link-TRB-quirk-for-VL805.patch | 65 + ...upstream-TRB_FETCH-quirk-on-VL805-ho.patch | 32 + ...b-xhci-add-VLI_SS_BULK_OUT_BUG-quirk.patch | 110 + ...7-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch | 154 + ...hip-debian-certificates-as-hex-files.patch | 1455 + ...Resolve-clash-in-spi_device_id-names.patch | 34 + ...35-unicam-hacks-to-allow-it-to-build.patch | 57 + ...8-Add-backup-switchover-mode-support.patch | 58 + ...mstb-Allow-to-build-for-ARCH_BCM2835.patch | 279 + ...-Allow-RESET_BRCMSTB-on-ARCH_BCM2835.patch | 20 + ...nctrl-bcm2712-pinctrl-pinconf-driver.patch | 1379 + ...-mmc-brcmstb-add-support-for-BCM2712.patch | 445 + .../950-0346-sdhci-Add-SD-Express-hook.patch | 91 + ...q-bcm2712-mip-Support-for-2712-s-MIP.patch | 384 + ...et-brcmstb-rescal-Support-shared-use.patch | 47 + ...-net-macb-Also-set-DMA-coherent-mask.patch | 419 + ...wc3-Set-DMA-and-coherent-masks-early.patch | 380 + ...V4L2-Add-PiSP-opaque-formats-to-V4L2.patch | 34 + ...-Add-PiSP-compressed-formats-to-V4L2.patch | 26 + ...mfd-Add-binding-for-Raspberry-Pi-RP1.patch | 249 + .../950-0354-mfd-Add-rp1-driver.patch | 455 + ...ck-Add-bindings-for-Raspberry-Pi-RP1.patch | 65 + .../950-0356-clk-Add-rp1-clock-driver.patch | 2678 + ...trl-Add-bindings-for-Raspberry-Pi-RP.patch | 61 + .../950-0358-pinctrl-Add-rp1-driver.patch | 1742 + ...0-0359-serial-pl011-rp1-uart-support.patch | 171 + ...f-dwcmshc-define-sdio-timeout-clocks.patch | 180 + ...950-0361-clk-rp1-Add-sdio-clk-driver.patch | 640 + ...ware-Add-SMBUS-quick-command-support.patch | 75 + ...-dmaengine-dw-axi-dmac-Fixes-for-RP1.patch | 341 + ...w-Handle-combined-tx-and-rx-messages.patch | 64 + ...950-0365-pwm-Add-support-for-RP1-PWM.patch | 275 + .../950-0366-drm-Add-RP1-DSI-driver.patch | 2861 + .../950-0367-drm-Add-RP1-DPI-driver.patch | 1595 + .../950-0368-drm-Add-RP1-VEC-driver.patch | 3334 + ...rp1-Add-CFE-Camera-Front-End-support.patch | 6000 ++ ...-net-cdns-macb-AXI-tuning-properties.patch | 38 + ...n-Add-RP1-ADC-and-temperature-driver.patch | 355 + ...d-bcm2835-pm-Add-support-for-BCM2712.patch | 69 + ...cm2835-power-Add-support-for-BCM2712.patch | 76 + ...-gpio-to-correctly-implement-sck-idl.patch | 135 + ...lement-spidelay-when-requested-bit-r.patch | 49 + ...-2712-v3d-as-a-compatible-V3D-device.patch | 19 + ...v3d-Add-BCM2712-to-compatibility-lis.patch | 20 + ...maengine-bcm2835-Add-BCM2712-support.patch | 36 + ...m2835-HACK-Support-DMA-Lite-channels.patch | 90 + ...5-Rename-to_bcm2711_cbaddr-to-to_40b.patch | 68 + ...0381-drivers-iommu-Add-BCM2712-IOMMU.patch | 884 + ...stb-l2-Add-config-for-2711-controlle.patch | 74 + ...d-simple-RTC-driver-for-Raspberry-Pi.patch | 348 + ...new-binding-for-Raspberry-Pi-RTC-dri.patch | 47 + ...gs-display-Add-BCM2712-HDMI-bindings.patch | 26 + ...ngs-display-Add-BCM2712-HVS-bindings.patch | 34 + ...play-Add-BCM2712-PixelValve-bindings.patch | 28 + ...ngs-display-Add-BCM2712-MOP-bindings.patch | 28 + ...-display-Add-BCM2712-MOPLET-bindings.patch | 25 + ...play-Add-BCM2712-KMS-driver-bindings.patch | 23 + ...config-entry-for-IMX477-to-the-camer.patch | 53 + ...alias-for-the-displays-to-use-as-the.patch | 117 + ...-i2c-ov9282-Read-chip-ID-via-2-reads.patch | 38 + ...nt-to-request-a-particular-dev-fbN-n.patch | 82 + ...ok-up-preferred-fbdev-node-number-fr.patch | 47 + ...ange-DRM-card-alias-from-underscore-.patch | 26 + ...brcmstb-add-optional-property-brcm-t.patch | 32 + ...mc-sdhci-add-SPURIOUS_INT_RESP-quirk.patch | 62 + ...sdhci-of-dwcmhsc-Add-Raspberry-Pi-RP.patch | 42 + ...to-export-gpio-used-by-gpio-poweroff.patch | 58 + ...-0401-gpio-poweroff-Disable-the-WARN.patch | 25 + .../950-0402-w1-Disable-kernel-log-spam.patch | 25 + ...ore-event-ring-segment-table-entries.patch | 32 + ...step_wise-add-support-for-hysteresis.patch | 93 + ...-Switch-from-V4L2_CID_GAIN-to-V4L2_C.patch | 38 + ...play-connector-Select-DRM_KMS_HELPER.patch | 29 + .../patches-6.12/950-0407-dtc-update.patch | 20 + ...ndings-i2c-Add-Rohm-BU64754-bindings.patch | 83 + ...HM-BU64754-Camera-Autofocus-Actuator.patch | 369 + ...-Pass-given-partition-number-through.patch | 33 + ...0-Use-MEDIA_BUS_FMT_UYVY8_1X16-for-C.patch | 48 + ...0-Add-support-for-V4L2_CID_LINK_FREQ.patch | 99 + ...-Support-spi0-0cs-and-SPI_NO_CS-mode.patch | 42 + ...update-dwc3-bindings-for-parkmode-di.patch | 37 + ...-add-FS-LS-bus-instance-parkmode-dis.patch | 72 + ...re-Use-SCL-rise-and-fall-times-in-DT.patch | 83 + ...ware-Support-non-standard-bus-speeds.patch | 124 + ...is7xx-Don-t-spin-if-no-data-received.patch | 26 + ...n-t-set-DMA_BOUNCE_UNALIGNED_KMALLOC.patch | 29 + ...btbcm-Add-entry-for-BCM43439-UART-BT.patch | 24 + ...d-additional-RP1-PLL-output-channels.patch | 23 + ...d-a-regulator-for-the-new-LCD-panels.patch | 238 + ...support-for-generic-base-nr-property.patch | 35 + ...upport-DS1-exit-firmware-re-download.patch | 721 + ...eroperating-DPP-and-other-encryption.patch | 129 + ...-external-SAE-authentication-in-stat.patch | 593 + .../950-0427-brcmfmac-Fix-802.1x.patch | 29 + ...st-use-Host-Software-Queueing-mechan.patch | 111 + ...-add-SD-support-for-Command-Queueing.patch | 247 + ...llocate-a-block-for-SD-extension-reg.patch | 155 + ...gger-activity-LED-when-CQE-is-active.patch | 23 + ...cmstb-work-around-mystery-CQE-CMD_ID.patch | 37 + ...-cqhci-clear-CQHCI_CTL-if-halt-fails.patch | 46 + ...rt-SD-extension-register-read-write-.patch | 304 + ...ore-cautious-when-manipulating-Comma.patch | 79 + ...debugfs-entries-for-SD-extension-reg.patch | 59 + ...le-1024-byte-SD-General-Info-lengths.patch | 53 + ...b-add-hs400_downgrade-callback-for-b.patch | 49 + ...-maximum-ADMA-transfer-length-to-4Mi.patch | 47 + ...i-brcmstb-improve-bcm2712-card-remov.patch | 52 + ...-handle-card-removal-when-running-CQ.patch | 43 + ...ted-write-counts-for-SD-cards-in-CQ-.patch | 183 + ...erence-requests-after-finishing-them.patch | 71 + ...ble-write-caching-on-Samsung-2023-mo.patch | 47 + ...le-cache-on-more-known-bad-Sandisk-c.patch | 35 + ...e-CQ-on-SD-cards-when-doing-non-Disc.patch | 55 + ...MC_QUIRK_BROKEN_ERASE-for-Phison-Int.patch | 33 + ...re-Add-support-for-bus-clear-feature.patch | 157 + ...are-Make-the-SDA-hold-time-half-LCNT.patch | 25 + ...i-Add-nvmem-driver-for-accessing-OTP.patch | 189 + ...-changes-when-debug-info-is-disabled.patch | 25 + ...icam-Add-option-for-a-GPIO-to-reflec.patch | 66 + ...form-Avoid-trampling-with-zero-lengt.patch | 34 + ...e-Add-remap-entries-for-mono-formats.patch | 32 + ...d-initialise-an-orientation-field-to.patch | 42 + ...762-Program-the-DPI-mode-into-the-ch.patch | 48 + ...e-tc358762-revert-move-ops-to-enable.patch | 38 + ...l-bcm2835-Persist-outputs-by-default.patch | 26 + ...-Handle-any-number-of-gpiod-CS-lines.patch | 28 + ...nel_v2-Add-remove-and-shutdown-hooks.patch | 55 + ...-rpi_panel_v2-Add-delay-on-I2C-reads.patch | 70 + ...display-name-to-the-core-and-a-funct.patch | 100 + ...-Name-an-associated-backlight-device.patch | 49 + ...i-Add-Hailo-accelerator-device-drive.patch | 7062 ++ ...s-media-pcie-hailo-Fix-include-paths.patch | 27 + ...i-Update-Hailo-accelerator-device-dr.patch | 3352 + ...i-Add-wrapper-after-removal-of-follo.patch | 77 + ...media-pci-Fix-Hailo-compile-warnings.patch | 41 + ...vices-Add-helpers-for-vchiq-driver-d.patch | 35 + ...vices-vc-sm-cma-Remove-deprecated-he.patch | 30 + ...vices-vc-sm-cma-Drop-include-Makefil.patch | 58 + ...vices-vc-sm-cma-Register-with-vchiq_.patch | 206 + ...cm2835-Add-bcm2838-compatible-string.patch | 20 + ...oard-clk-and-pinctrl-to-bcm2711-comp.patch | 26 + ...icam-Add-support-for-12bit-mono-pack.patch | 25 + ...icam-Add-support-for-14bit-mono-sour.patch | 29 + ...icam-Add-support-for-unpacked-14bit-.patch | 45 + ...78xx-Read-initial-EEE-status-from-DT.patch | 45 + ...Return-tx_lpi_timer-even-if-disabled.patch | 33 + ...vices-vc-sm-cma-Explicitly-set-DMA-m.patch | 34 + ...Backport-the-mainline-PiSP-BE-driver.patch | 553 + ...e-Re-introduce-multi-context-support.patch | 886 + ...sp_be-Re-introduce-video-node-offset.patch | 36 + ...-bindings-Add-RPI-RP2040-GPIO-Bridge.patch | 108 + ...river-for-the-RPI-RP2040-GPIO-bridge.patch | 1330 + ...e-dw-axi-dmac-Honour-snps-block-size.patch | 52 + ...ac-Only-match-complete-feature-names.patch | 40 + ...c-Add-extsae-as-an-alias-for-sae_ext.patch | 23 + ...upport-extsae-with-psk-1x-offloading.patch | 47 + ...rp1-Add-clocks-representing-MIPI-DSI.patch | 25 + ...icam-Reinstate-old-downstream-driver.patch | 150 + ...ove-bcm2835-unicam-compatible-to-dow.patch | 59 + ...-through-hoops-to-avoid-PCIe-latency.patch | 288 + ...e-bandwidth-with-the-TMOD_TO-feature.patch | 66 + ...e-bandwidth-with-the-TMOD_RO-feature.patch | 186 + ...ediately-kill-DMA-transfers-if-an-er.patch | 41 + ...mac-make-more-sensible-choices-about.patch | 124 + ...a-dma-maxburst-property-to-snps-desi.patch | 27 + ...s-choose-FIFO-thresholds-based-on-DM.patch | 99 + ...-Fix-non-DMA-transmit-only-transfers.patch | 143 + ...spi-dw-Clamp-the-minimum-clock-speed.patch | 26 + ...on-adt7410-Add-DT-compatible-strings.patch | 30 + ...ide-gpiochip-numbers-with-DT-aliases.patch | 50 + ...th-hci_sync-Fix-crash-on-NULL-parent.patch | 27 + ...oscillator-stop-bit-handling-reading.patch | 53 + ...edia-dt-bindings-i2c-Add-Sony-IMX500.patch | 166 + ...2c-Add-driver-for-Sony-IMX500-sensor.patch | 2956 + ...rlycpio-export-symbol-find_cpio_data.patch | 20 + ...v5647-Add-control-of-V4L2_CID_HBLANK.patch | 126 + ...1-Correct-symmetry-on-enable-disable.patch | 35 + ...1-Add-option-to-reconfigure-setup-co.patch | 102 + ...rs-media-imx500-Enable-LS-correction.patch | 408 + ...edia-video-mux-Propagate-controls-to.patch | 51 + ...platform-video-mux-Fix-mutex-locking.patch | 59 + ...-Tidy-up-mode-registers-to-make-the-.patch | 94 + ...47-Separate-out-the-common-registers.patch | 392 + ...-Use-the-same-PLL-config-for-full-10.patch | 53 + ...-Add-V4L2_CID_LINK_FREQUENCY-control.patch | 111 + ...eap-Allow-specifying-maximum-allocat.patch | 46 + ...erride-of-kernel-s-default-NUMA-poli.patch | 115 + ...heck-emulated-zones-around-the-CMA-w.patch | 108 + ...ia-bcm2835_isp-Cache-LS-table-dmabuf.patch | 141 + ...n-Maintain-TLB-coherency-in-LRU-code.patch | 27 + ...ore-broken-Kingston-Canvas-Go-SD-car.patch | 42 + ...snps-dwc3-add-FS-HS-periodic-NAK-pol.patch | 35 + ...d-support-for-setting-NAK-enhancemen.patch | 77 + ...-prevent-a-theoretical-race-on-non-c.patch | 50 + ...midity-dht11-Allow-non-zero-decimals.patch | 32 + ...top-property-to-true-for-writeback-a.patch | 30 + ...530-drm-Increase-plane_mask-to-64bit.patch | 101 + ...DE_TRANSPOSE-option-to-the-DRM-rotat.patch | 47 + ...d-a-rotation-parameter-to-connectors.patch | 164 + ...w-axi-dmac-Allow-client-chosen-width.patch | 40 + ...Let-the-DMAC-set-the-transfer-widths.patch | 31 + ...011-Request-a-memory-width-of-1-byte.patch | 25 + ...-set-HID-bit-in-streaming-endpoint-c.patch | 56 + ...-Add-options-for-slightly-modifying-.patch | 199 + ...ink-frequency-override-to-imx477-378.patch | 44 + ...dw-axi-dmac-Only-start-idle-channels.patch | 29 + ...0540-mailbox-Add-RP1-mailbox-support.patch | 252 + ...-an-RP1-firmware-interface-over-mbox.patch | 419 + ...2-rpi-Add-RP1-firmware-and-mailboxes.patch | 118 + .../950-0543-misc-Add-RP1-PIO-driver.patch | 3010 + ...s-bcm2712-rpi-Add-the-RP1-PIO-device.patch | 55 + .../950-0546-pwm-Add-pwm-pio-rp1-driver.patch | 298 + ...50-0548-overlays-Add-pwm-pio-overlay.patch | 99 + ...i-Update-Hailo-accelerator-device-dr.patch | 3585 + ...dtoverlays-enable-SPI-CS-active-high.patch | 108 + ...Raspberry-Touch-2-rotation-with-over.patch | 32 + ...link-speed-before-deasserting-fundam.patch | 41 + ...itialise-max_bpc-to-the-minimum-valu.patch | 45 + ...mi-Disable-the-infoframes-by-default.patch | 55 + ...mi-Attempt-YUV422-output-if-RGB-isn-.patch | 29 + ...950-0557-Adding-Pimidi-kernel-module.patch | 1167 + .../950-0559-Adding-pimidi-overlay.dts.patch | 100 + ...a-i2c-imx477-Fix-link-frequency-menu.patch | 25 + ...io-Fix-copy-paste-error-in-pio_rp1.h.patch | 25 + ...o-Fix-parameter-checks-wihout-client.patch | 25 + ...le-the-different-command-FIFO-widths.patch | 148 + ...For-CM5IO-i2c_csi_dsi-needs-to-be-CA.patch | 30 + ...rpi-cm5-Remove-inaccessible-USB_OC_N.patch | 25 + ...ca7000-replace-URL-with-textual-hint.patch | 33 + ...cdns-macb-Add-compatible-for-Raspber.patch | 24 + ...port-for-Raspberry-Pi-RP1-ethernet-c.patch | 43 + ...t-PLL_SEC_RST-in-rp1_pll_divider_off.patch | 26 + ...ise-the-use-of-the-CLK_IS_CRITICAL-f.patch | 124 + ...-Fixup-RP1-ethernet-DT-configuration.patch | 50 + .../950-0572-clk-rp1-Add-RP1_CLK_DMA.patch | 44 + ...1-clk-Remove-CLK_IGNORE_UNUSED-flags.patch | 59 + ...e-clk_sys-for-ethernet-hclk-and-pclk.patch | 45 + ...Link-RP1-DMA-to-the-associated-clock.patch | 24 + ...2-ds-Restore-the-A76-PMU-declaration.patch | 33 + ...7-dts-rp1-Re-enable-DMA-to-RP1-UART0.patch | 32 + ...12-ds-Restore-gpio-direct-to-gio_aon.patch | 26 + ...ep-fractional-source-coords-inside-s.patch | 218 + ...ndle-fractional-coordinates-using-th.patch | 144 + ...ce-trigger-of-dlist-update-on-margin.patch | 61 + ...plane-Add-support-for-YUV444-formats.patch | 58 + ...n-if-writing-to-an-unknown-HDMI-regi.patch | 35 + ...vs-More-logging-for-dlist-generation.patch | 43 + ...Print-error-if-we-fail-an-allocation.patch | 60 + ...dd-more-debugging-for-LBM-allocation.patch | 39 + ...-Use-return-variable-in-atomic_check.patch | 34 + ...-Move-assigned_channel-to-a-variable.patch | 50 + ...V-planes-require-vertical-scaling-to.patch | 33 + ...m-vc4-hvs-Remove-ABORT_ON_EMPTY-flag.patch | 53 + ...-paths-unavailable-on-any-generation.patch | 580 + ...switch-statement-to-simplify-vc4_hvs.patch | 122 + ...-drm-vc4-hvs-Create-hw_init-function.patch | 191 + ...drm-vc4-hvs-Create-cob_init-function.patch | 170 + ...595-drm-vc4-hvs-Rename-hvs_regs-list.patch | 41 + ...plane-Change-ptr0_offset-to-an-array.patch | 106 + ...597-drm-vc4-hvs-Rework-LBM-alignment.patch | 48 + ...ge-prototype-of-__vc4_hvs_alloc-to-p.patch | 96 + ...ve-the-buffer-offset-out-of-the-vc4_.patch | 157 + ...ble-SCALER_CONTROL-early-in-HVS-init.patch | 62 + ...50-0601-drm-vc4-Use-vc4_perfmon_find.patch | 35 + ...evice_get_match_data-to-set-generati.patch | 44 + ...x-reading-of-frame-count-on-GEN5-Pi4.patch | 96 + ...950-0604-drm-vc4-drv-Support-BCM2712.patch | 38 + ...-vc4-hvs-Add-support-for-BCM2712-HVS.patch | 2217 + ...-Add-support-for-BCM2712-PixelValves.patch | 159 + ...-support-for-BCM2712-HDMI-controller.patch | 1080 + ...oduce-structure-to-deal-with-revisio.patch | 119 + ...rm-vc4-txp-Rename-TXP-data-structure.patch | 68 + ...m-vc4-txp-Add-byte-enable-toggle-bit.patch | 58 + ...horizontal-and-vertical-size-offset-.patch | 61 + ...vc4-txp-Handle-40-bits-DMA-Addresses.patch | 66 + ...-the-encoder-type-in-the-variant-str.patch | 47 + ...m-vc4-txp-Add-a-new-TXP-encoder-type.patch | 477 + ...-vc4-txp-Add-support-for-BCM2712-MOP.patch | 67 + ...m-vc4-txp-Add-BCM2712-MOPLET-support.patch | 45 + ...-vc4-drv-Add-support-for-2712-D-step.patch | 62 + ...4-hvs-Add-in-support-for-2712-D-step.patch | 458 + ...c4-plane-Add-support-for-2712-D-step.patch | 162 + ...dmi-Support-2712-D-step-register-map.patch | 73 + ...tional-warn_on-for-incorrect-revisio.patch | 232 + ...g_fill-if-there-are-no-planes-enable.patch | 32 + ...nes-that-are-completely-off-screen-o.patch | 70 + ...4-dt-Disabled-vc4-by-default-on-2712.patch | 19 + ...64-broadcom-Add-firmware-clocks-node.patch | 47 + ...om-Add-display-pipeline-support-to-B.patch | 240 + ...om-Add-DT-for-D-step-version-of-BCM2.patch | 68 + ...om-Fixup-downstream-DT-changes-due-t.patch | 303 + ...enable-gpu-node-from-vc4-kms-v3d-pi5.patch | 19 + ...-phys-addresses-for-slave-DMA-config.patch | 51 + ...om-Fixup-HVS-address-for-downstream-.patch | 29 + ...4-hvs-Defer-dlist-slots-deallocation.patch | 634 + ...dd-hvs_dlist_allocs-debugfs-function.patch | 61 + ...4-drm-vc4-Disable-overrun-interrupts.patch | 40 + ...iotlb-bounce-buffers-being-imported-.patch | 78 + ...on-to-call-from-crtc-to-encoder-on-v.patch | 60 + ...locks-should-be-running-before-reset.patch | 60 + ...638-drm-vc4-Reset-DSI-AFE-on-disable.patch | 49 + ...nsure-DSI-is-enabled-for-FIFO-resets.patch | 57 + ...blank-callback-to-DSI0-to-reset-FIFO.patch | 42 + ...4-Fixup-mode-for-7inch-panel-on-DSI0.patch | 60 + ...-t-reset-the-host-until-post_disable.patch | 49 + ...le-video-and-then-retry-failed-trans.patch | 111 + ...tting-the-TV-norm-via-module-paramet.patch | 213 + ...-progressive-modes-readily-accessibl.patch | 68 + ...se-the-tv_mode-property-default-from.patch | 28 + ...-jack-detection-to-HDMI-audio-driver.patch | 188 + ...-vc4-hdmi-Add-a-clear_infoframe-hook.patch | 49 + ...mi-Allow-hotplug-detect-to-be-forced.patch | 58 + ...hotplug-interrupt-with-force_hotplug.patch | 41 + ...elay-after-disabling-hdmi-phy-output.patch | 33 + ...m-vc4-Implement-vc6_hdmi_phy_disable.patch | 25 + ...er-down-the-PLL-core-when-resetting-.patch | 35 + ...m-vc4-dpi-Add-override-for-RGB-order.patch | 67 + ...-Make-use-of-chroma-siting-parameter.patch | 65 + ...ort-for-per-plane-scaling-filter-sel.patch | 166 + ...TPZ-scaling-filter-for-1x1-source-im.patch | 60 + ...r-updating-the-enable_bg_fill-until-.patch | 65 + ...-number-of-overlay-planes-from-16-to.patch | 31 + ...-32-overlay-planes-to-writeback-only.patch | 71 + ...nclude-writeback-conn-load-in-load-t.patch | 48 + ...nic-priority-for-writeback-connector.patch | 53 + ...a-rotation-property-to-the-writeback.patch | 65 + ...equest-for-min-clocks-when-hdmi-outp.patch | 74 + ...the-2pixel-clock-odd-timings-workaro.patch | 204 + ...6-drm-vc4-fkms-Add-firmware-kms-mode.patch | 2645 + ...Switch-generation-mockup-to-a-switch.patch | 47 + ...op-drm-parameter-for-vc4_find_crtc_f.patch | 63 + ...c4-tests-Return-the-allocated-output.patch | 174 + ...rm-vc4-tests-Add-BCM2712-mock-driver.patch | 108 + ...d-tests-for-BCM2712-PixelValve-Muxin.patch | 139 + ...ests-Use-custom-plane-state-for-mock.patch | 99 + ...d-function-to-lookup-a-plane-for-a-C.patch | 41 + ...d-helper-to-add-a-new-plane-to-a-sta.patch | 62 + ...sts-Support-a-few-more-plane-formats.patch | 26 + ...Introduce-a-test-for-LBM-buffer-size.patch | 350 + ...ckport-27e0a194a256-and-b3bf19552ea3.patch | 63 + ...M-allocations-to-avoid-double-buffer.patch | 298 + ...12d0-Don-t-change-vc4-compatible-str.patch | 55 + ...com-Add-dma-names-for-HDMI-audio-DMA.patch | 28 + ...mware-Add-the-RPI-firmware-UART-APIs.patch | 23 + ...dd-the-Raspberry-Pi-firmware-UART-id.patch | 24 + ...d-a-driver-for-the-RPi-firmware-UART.patch | 629 + ...onfigs-Enable-the-RPi-FW-UART-driver.patch | 0 ...-overlay-for-the-Raspberry-Pi-firmwa.patch | 96 + ...0-0686-ARM-dts-Remove-duplicate-tags.patch | 142 + ...C-clock-frequency-via-i2c_arm_baudra.patch | 25 + ...pci-Disable-Host-Memory-Buffer-usage.patch | 48 + ...pi-fw-uart-Demote-debug-log-messages.patch | 28 + ...lays-Add-Arducam-override-for-ov9281.patch | 54 + ...support-for-no-irq-to-ili210x-driver.patch | 117 + ...panel-Added-waveshare-13.3inch-panel.patch | 308 + ...ded-waveshare-13.3inch-panel-support.patch | 45 + ...ds-Dedup-as-upstream-support-expands.patch | 732 + ...0695-cgroup-Add-cgroup_enable-option.patch | 59 + ...c-ov9282-Correct-the-exposure-offset.patch | 31 + ...rrect-clock-settng-calls-to-new-APIs.patch | 44 + .../960-hwrng-iproc-set-quality-to-1000.patch | 25 + 690 files changed, 295008 insertions(+) create mode 100644 target/linux/bcm27xx/patches-6.12/950-0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0005-Revert-net-bcmgenet-Request-APD-DLL-disable-and-IDDQ.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0006-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0007-Revert-PCI-brcmstb-Configure-HW-CLKREQ-mode-appropri.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0008-Revert-ARM-dts-bcm2711-Add-BCM2711-xHCI-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0009-Revert-usb-phy-generic-Get-the-vbus-supply.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0010-raspberrypi-firmware-Update-mailbox-commands.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0011-drm-atomic-Don-t-fixup-modes-that-haven-t-been-reset.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0012-drm-Check-whether-the-gamma-lut-has-changed-before-u.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0013-drm-dsi-Document-the-meaning-and-spec-references-for.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0014-drm-bridge-tc358762-Ignore-EPROBE_DEFER-when-logging.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0015-drm-Add-chroma-siting-properties.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0016-drm-atomic-helpers-remove-legacy_cursor_update-hacks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0017-drm-atomic-If-margins-are-updated-update-all-planes.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0018-arm64-setup-Fix-build-warning.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0019-BCM2708-Add-core-Device-Tree-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0021-clk-raspberrypi-Allow-cpufreq-driver-to-also-adjust-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0022-clk-bcm-rpi-Create-helper-to-retrieve-private-data.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0023-clk-raspberrypi-Add-ISP-to-exported-clocks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0024-clk-clk-bcm2835-Register-the-clocks-early-during-the.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0025-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0026-clk-bcm2835-Add-claim-clocks-property.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0027-clk-bcm2835-Read-max-core-clock-from-firmware.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0028-clk-bcm2835-Don-t-wait-for-pllh-lock.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0029-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0030-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0031-clk-bcm2835-Avoid-null-pointer-exception.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0032-clk-bcm2835-Disable-v3d-clock.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0033-clk-bcm2835-Use-PLLD-for-DSI0-HS-clock.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0034-cache-export-clean-and-invalidate.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0035-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0036-Allow-mac-address-to-be-set-in-smsc95xx.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0037-Protect-__release_resource-against-resources-without.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0038-irq-bcm2836-Avoid-Invalid-trigger-warning.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0039-irqchip-bcm2835-Add-FIQ-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0040-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0041-spi-spidev-Completely-disable-the-spidev-warning.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0042-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0043-rtc-Add-SPI-alias-for-pcf2123-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0044-watchdog-bcm2835-Support-setting-reboot-partition.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0045-reboot-Use-power-off-rather-than-busy-spinning-when-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0046-bcm2835-rng-Avoid-initialising-if-already-enabled.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0047-Update-vfpmodule.c.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0048-i2c-bcm2835-Add-debug-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0049-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0050-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0051-amba_pl011-Add-cts-event-workaround-DT-property.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0052-tty-amba-pl011-Avoid-rare-write-when-full-error.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0053-Main-bcm2708-bcm2709-linux-port.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0054-Add-dwc_otg-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0055-bcm2708_fb-Add-framebuffer-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0056-dmaengine-Add-support-for-BCM2708.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0057-MMC-added-alternative-MMC-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0058-mmc-block-Don-t-do-single-sector-reads-during-recove.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0059-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0060-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0061-Add-SMI-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0062-Add-Chris-Boot-s-i2c-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0063-char-Add-broadcom-char-drivers-back-to-build-files.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0064-char-broadcom-Add-vcio-module.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0065-drivers-char-add-generic-gpiomem-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0066-firmware-bcm2835-Support-ARCH_BCM270x.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0067-leds-Add-the-input-trigger-for-pwr_led.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0068-Added-Device-IDs-for-August-DVB-T-205.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0069-Improve-__copy_to_user-and-__copy_from_user-performa.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0070-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0071-drivers-mfd-sensehat-Add-Raspberry-Pi-Sense-HAT-to-s.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0072-Input-sensehat-joystick-Revert-to-downstream-keymap.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0073-ASoC-Add-support-for-all-the-downstream-rpi-sound-ca.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0074-rpi_display-add-backlight-driver-and-overlay.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0075-bcm2835-virtgpio-Virtual-GPIO-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0076-OF-DT-Overlay-configfs-interface.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0077-brcm-adds-support-for-BCM43341-wifi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0078-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0079-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0080-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0081-AXI-performance-monitor-driver-2222.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0082-ARM-bcm2835-Set-Serial-number-and-Revision.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0083-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0084-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0085-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0086-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0087-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0088-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0089-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0090-brcmfmac-Re-enable-firmware-roaming-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0091-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0092-firmware-raspberrypi-Add-backward-compatible-get_thr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0093-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0094-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0095-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0096-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0097-net-lan78xx-Ack-pending-PHY-ints-when-resetting.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0098-Patching-lan78xx-for-SOF_TIMESTAMPING_TX_SOFTWARE-su.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0099-lan78xx-Enable-LEDs-and-auto-negotiation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0100-media-tc358743-Increase-FIFO-level-to-374.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0101-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0102-media-tc358743-Check-I2C-succeeded-during-probe.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0103-media-adv7180-Default-to-the-first-valid-input.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0104-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0105-media-videodev2-Add-helper-defines-for-printing-FOUR.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0106-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0107-media-tc358743-Return-an-appropriate-colorspace-from.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0108-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0109-staging-mmal-vchiq-Add-support-for-event-callbacks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0110-staging-vc04_services-Support-sending-data-to-MMAL-p.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0111-media-videobuf2-Allow-exporting-of-a-struct-dmabuf.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0112-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0113-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0114-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0115-staging-mmal-vchiq-Free-the-event-context-for-contro.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0116-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0117-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0118-arm-bcm2835-Fix-FIQ-early-ioremap.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0119-arm-bcm2835-DMA-can-only-address-1GB.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0120-hwrng-iproc-rng200-Add-BCM2838-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0121-bcmgenet-constrain-max-DMA-burst-length.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0122-bcmgenet-Better-coalescing-parameter-defaults.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0123-net-genet-enable-link-energy-detect-powerdown-for-ex.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0124-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0125-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0126-usb-xhci-workaround-for-bogus-SET_DEQ_PENDING-endpoi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0127-usb-xhci-drop-and-add-the-endpoint-context-in-xhci_f.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0128-ARM-bcm-Backport-BCM2711-support-from-upstream.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0129-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0130-drm-v3d-Clock-V3D-down-when-not-in-use.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0131-drm-v3d-Switch-clock-setting-to-new-api.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0132-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0133-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0134-arch-arm-Add-model-string-to-cpuinfo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0135-arch-arm64-Add-Revision-Serial-Model-to-cpuinfo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0136-media-i2c-imx477-Support-for-the-Sony-IMX477-sensor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0137-media-i2c-imx519-Support-for-the-Sony-IMX519-sensor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0138-drivers-media-imx296-Disable-2x2-binned-mode.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0139-drivers-media-imx296-Add-standby-delay-during-probe.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0140-drivers-media-imx296-Updated-imx296-driver-for-exter.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0141-drivers-media-i2c-imx296-imx477-Configure-tigger_mod.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0142-media-i2c-imx296-Updated-register-setting-to-fix-Fas.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0143-media-i2c-imx296-Get-sensor-crop-working.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0144-media-i2c-imx296-Add-helper-for-hblank-control.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0145-media-i2c-imx296-Set-a-1-frame-gain-delay.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0146-media-i2c-imx296-Add-horizontal-vertical-flip-suppor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0147-media-i2c-imx296-Adjust-cropping-limits.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0148-Documentation-devicetree-Add-documentation-for-imx37.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0149-v4l2-Add-a-Greyworld-AWB-mode.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0150-staging-bcm2835-camera-Add-greyworld-AWB-mode.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0151-media-v4l2-Add-Greyworld-AWB-control-name.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0152-dt-bindings-Add-binding-for-the-Infineon-IRS1125-sen.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0153-media-i2c-Add-a-driver-for-the-Infineon-IRS1125-dept.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0154-drm-v3d-Suppress-all-but-the-first-MMU-error.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0155-staging-vchiq_arm-Register-vcsm-cma-as-a-platform-dr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0156-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0157-net-phy-broadcom-Allow-ethernet-LED-mode-to-be-set-v.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0158-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0159-phy-broadcom-Add-bcm54213pe-configuration.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0160-net-phy-broadcom-optionally-enable-link-down-powersa.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0161-net-phy-BCM54210PE-does-not-support-PTP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0162-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0163-staging-vchiq_arm-Usa-a-DMA-pool-for-small-bulks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0164-staging-vchiq-Load-bcm2835_isp-driver-from-vchiq.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0165-pinctrl-bcm2835-Remove-gpiochip-on-error.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0166-of-overlay-Correct-symbol-path-fixups.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0167-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0168-bcmgenet-Disable-skip_umac_reset-by-default.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0169-media-videodev2.h-Add-a-format-for-column-YUV4-2-0-m.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0170-media-dt-bindings-media-Add-binding-for-the-Raspberr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0171-RFC-media-Add-media_request_-pin-unpin-API.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0172-staging-media-rpivid-Add-Raspberry-Pi-V4L2-H265-deco.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0173-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0174-media-uapi-v4l2-core-Add-sensor-ancillary-data-V4L2-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0175-media-uapi-Add-MEDIA_BUS_FMT_SENSOR_DATA-media-bus-f.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0176-media-uapi-v4l2-core-Add-ISP-statistics-output-V4L2-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0177-media-uapi-v4l-ctrls-Add-CID-base-for-the-bcm2835-is.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0178-staging-vc04_services-mmal-vchiq-Update-parameters-l.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0179-staging-vc04_services-bcm2835-camera-Request-headers.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0180-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0181-brcmfmac-Prefer-a-ccode-from-OTP-over-nvram-file.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0182-media-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-int.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0183-media-bcm2835-unicam-Add-support-for-get_mbus_config.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0184-media-bcm2835-unicam-Avoid-gcc-warning-over-0-on-end.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0185-serial-8250-bcm2835aux-defer-if-clock-is-zero.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0186-media-bcm2835-unicam-Reinstate-V4L2_CAP_READWRITE-in.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0187-media-bcm2835-unicam-Ensure-type-is-VIDEO_CAPTURE-in.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0188-media-bcm2835-unicam-Set-VPU-min-clock-freq-to-250Mh.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0189-dt-bindings-bcm2835-unicam-Update-documentation-with.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0190-leds-Add-the-actpwr-trigger.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0191-media-bcm2835-unicam-Drop-WARN-on-uing-direct-cache-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0192-media-bcm2835-unicam-Always-service-interrupts.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0193-media-bcm2835-unicam-Fix-uninitialized-warning.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0194-media-bcm2835-unicam-Fixup-review-comments-from-Hans.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0195-media-bcm2835-unicam-Retain-packing-information-on-G.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0196-media-bcm2835-unicam-change-minimum-number-of-vb2_qu.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0197-staging-fbtft-Add-support-for-display-variants.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0198-brcmfmac-Increase-power-saving-delay-to-2s.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0199-staging-bcm2835-camera-Replace-deprecated-V4L2_PIX_F.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0200-staging-vc04_services-Add-new-vc-sm-cma-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0201-staging-vchiq-mmal-Add-support-for-14bit-Bayer.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0202-staging-mmal-vchiq-Add-monochrome-image-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0203-staging-mmal-vchiq-Use-vc-sm-cma-to-support-zero-cop.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0204-staging-vc04_services-Add-a-V4L2-M2M-codec-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0205-uapi-bcm2835-isp-Add-bcm2835-isp-uapi-header-file.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0206-staging-vc04_services-ISP-Add-a-more-complex-ISP-pro.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0207-gpio-Add-gpio-fsm-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0208-watchdog-bcm2835-Ignore-params-after-the-partition-n.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0209-firmware-raspberrypi-Add-support-for-tryonce-reboot-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0210-Input-edt-ft5x06-Poll-the-device-if-no-interrupt-is-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0211-dt-bindings-Add-compatible-for-BCM2711-DSI1.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0212-media-bcm2835-unicam-Correctly-handle-error-propagat.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0213-media-bcm2835-unicam-Return-early-from-stop_streamin.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0214-media-bcm2835-unicam-Clear-clock-state-when-stopping.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0215-PCI-brcmstb-Add-BCM2712-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0216-staging-vc04_services-Add-additional-unpacked-raw-fo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0217-uapi-bcm2835-isp-Add-colour-denoise-configuration.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0218-spi-bcm2835-Workaround-fix-for-zero-length-transfers.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0219-media-bcm2835-unicam-Fix-bug-in-buffer-swapping-logi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0220-Assign-crypto-aliases-to-different-AES-implementatio.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0221-media-ov5647-Fix-return-codes-from-ov5647_write-ov56.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0222-media-i2c-ov5647-Parse-and-register-properties.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0223-staging-bcm2835-camera-Add-support-for-DMABUFs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0224-staging-fbtft-Add-minipitft13-variant.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0225-staging-bcm2835-camera-Add-support-for-H264-levels-4.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0226-media-i2c-ov5647-Correct-pixel-array-offset.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0227-media-i2c-ov5647-Correct-minimum-VBLANK-value.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0228-media-i2c-ov5647-Fix-v4l2-compliance-failure-subscri.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0229-media-bcm2835-unicam-Forward-input-status-from-subde.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0230-media-i2c-ov7251-Add-fwnode-properties-controls.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0231-drm-panel-raspberrypi-touchscreen-Use-independent-I2.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0232-drm-panel-simple-Add-a-timing-for-the-Raspberry-Pi-7.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0233-drm-panel-jdi-lt070me05000-Use-gpiod_set_value_cansl.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0234-Extending-ili9881c-driver-support-for-nwe080-panel.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0235-dt-bindings-ili9881c-add-compatible-string-for-new-p.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0236-drm-panel-Add-panel-driver-for-TDO-Y17B-based-panels.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0237-drm-panel-Add-panel-driver-for-Waveshare-DSI-touchsc.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0238-dt-bindings-vendor-prefixes-Add-Geekworm.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0239-dt-bindings-display-simple-add-Geekworm-MZP280-Panel.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0240-dt-bindings-display-panel-dsi-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0241-staging-vchiq-mmal-Add-buffer-flags-for-interlaced-v.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0242-staging-vchiq-mmal-Add-parameters-for-interlaced-vid.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0243-staging-vchiq-mmal-Add-the-deinterlace-image-effects.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0244-Add-Raspberry-Pi-PoE-HAT-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0245-staging-mmal-vchiq-Add-module-parameter-to-enable-lo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0246-staging-mmal-vchiq-Reset-buffers_with_vpu-on-port_en.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0247-hwmon-pwm-fan-Add-fan-speed-register-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0248-drivers-gpio-Add-a-driver-that-wraps-the-PWM-API-as-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0249-media-i2c-ov5647-Sensor-should-report-RAW-color-spac.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0250-media-bcm2835-unicam-Parse-pad-numbers-correctly.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0251-media-bcm2835-unicam-Add-support-for-configuration-v.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0252-staging-bcm2835-camera-Add-support-for-H264_MIN_QP-H.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0253-staging-bcm2835-camera-Add-support-for-MPEG_VIDEO_FO.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0254-brcmfmac-Don-t-promote-INFO-logging-to-ERR.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0255-media-i2c-ov5647-Support-HFLIP-and-VFLIP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0256-spi-spidev-Restore-loading-from-Device-Tree.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0257-drivers-bcm2835_unicam-Add-logging-message-when-a-fr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0258-regulator-rpi-panel-attiny-Don-t-read-the-LCD-power-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0259-rtc-pcf8523-Fix-oscillator-stop-bit-handling.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0260-media-i2c-ov5647-Add-support-for-regulator-control.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0261-media-i2c-ov7251-Make-the-enable-GPIO-optional.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0262-uapi-v4l2-controls-Reset-V4L2_CID_USER_BCM2835_ISP_B.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0263-mfd-simple-mfd-i2c-Add-configuration-for-RPi-POE-HAT.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0264-pwm-raspberrypi-poe-Add-option-of-being-created-by-M.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0265-power-rpi-poe-Drop-CURRENT_AVG-as-it-is-not-hardware.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0266-power-rpi-poe-Add-option-of-being-created-by-MFD-or-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0267-drivers-bcm2835_unicam-Disable-trigger-mode-operatio.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0268-media-bcm2835-unicam-Set-ret-on-error-path-in-unicam.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0269-i2c-bcm2835-Make-clock-stretch-timeout-configurable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0270-bindings-Add-sck-idle-input-to-spi-gpio.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0271-spi-gpio-Add-sck-idle-input-property.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0272-media-bcm2835-unicam-Handle-a-repeated-frame-start-w.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0273-media-i2c-ov7251-Reinstate-setting-ov7251_global_ini.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0274-media-i2c-Add-driver-for-Omnivision-OV2311.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0275-dt-bindings-media-i2c-Add-binding-for-ad5398-VCM.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0276-media-i2c-Add-driver-for-AD5398-VCM-lens-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0277-media-i2c-ov5647-Use-v4l2_async_register_subdev_sens.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0278-mm-page_alloc-cma-introduce-a-customisable-threshold.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0279-tpm_tis_spi_main-Force-probe-routine-to-run-synchron.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0280-dt-bindings-vendor-prefixes-Add-Arducam.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0281-media-dt-bindings-media-i2c-Add-Arducam-Pivariety-Se.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0282-media-i2c-Add-driver-of-Arducam-Pivariety-series-cam.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0283-thermal-broadcom-Use-dev_err_probe-to-suppress-defer.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0284-dt-bindings-hwmon-add-microchip-emc2305.yaml-dt-bind.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0285-hwmon-emc2305-fixups-for-driver-submitted-to-mailing.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0286-vc04_services-vchiq-mmal-Add-defines-for-mmal_es_for.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0287-random-do-not-use-jump-labels-before-they-are-initia.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0288-media-dt-bindings-media-i2c-Add-Arducam-64MP-CMOS-se.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0289-media-i2c-Add-driver-of-Arducam-64MP-camera.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0290-Add-HDMI1-facility-to-the-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0291-Populate-phy-driver-block-for-BCM54213PE.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0292-media-bcm2835-unicam-Correctly-handle-FS-FE-ISR-cond.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0293-media-video-mux-Read-CSI2-config-from-FW-and-pass-to.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0294-media-bcm2835-unicam-Fix-for-possible-dummy-buffer-o.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0295-media-bcm2835-unicam-Fix-up-start-stop-api-change.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0296-media-adv7180-Nasty-hack-to-allow-input-selection.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0297-media-i2c-ov7251-Add-module-param-to-select-ext-trig.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0298-net-bcmgenet-Add-eee-module-parameter.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0299-media-dt-bindings-Add-DW9817-to-DW9807-binding.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0300-media-dw9807-vcm-Add-support-for-DW9817-bidirectiona.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0301-media-dt-bindings-Add-regulator-to-dw9807-vcm.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0302-media-dw9807-vcm-Add-regulator-support-to-the-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0303-media-dw9807-vcm-Smooth-the-first-user-movement-of-t.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0304-dtbindings-media-i2c-Add-IMX708-CMOS-sensor-binding.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0305-media-i2c-Add-a-driver-for-the-Sony-IMX708-image-sen.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0306-media-bcm2835-unicam-Use-mipi-csi2.h-header-for-data.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0307-media-bcm2835-unicam-Add-support-for-RAW16-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0308-iio-adc-mcp3422-Add-correct-compatible-strings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0309-gpio-pca953x-Add-ti-tca9554-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0310-hwmon-aht10-Add-DT-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0311-hwmon-ds1621-Add-DT-compatible-strings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0312-rtc-ds3232-Add-DT-compatible-string-for-ds3234.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0313-hwmon-sht3x-Add-DT-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0314-iio-light-tsl4531-Add-DT-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0315-iio-light-veml6070-Add-DT-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0316-media-i2c-imx219-Correct-the-minimum-vblanking-value.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0317-hwrng-bcm2835-sleep-more-intelligently.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0318-fbdev-Don-t-cancel-deferred-work-if-pagelist-empty.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0319-dt-bindings-media-i2c-Replace-IMX708-sensor-binding-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0320-media-bcm2835-unicam-Start-and-stop-media_pipeline-w.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0321-input-goodix-Add-option-to-poll-instead-of-relying-o.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0322-serial-8250-Add-NOMSI-bug-for-bcm2835aux.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0323-Bluetooth-hci_sync-Add-fallback-bd-address-prop.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0324-Bluetooth-hci_bcm-Add-more-invalid-BDADDRs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0325-pinctrl-bcm2835-Workaround-for-edge-IRQ-loss.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0326-mmc-bcm2835-Use-phys-addresses-for-slave-DMA-config.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0327-spi-bcm2835-Use-phys-addresses-for-slave-DMA-config.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0328-i2c-bcm2835-Flush-FIFOs-cleanly-on-error.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0329-i2c-bcm2835-Do-not-abort-transfers-on-ERR-if-still-a.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0330-i2c-bcm2835-Implement-I2C_M_IGNORE_NAK.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0331-pps-Compatibility-hack-should-be-X86-specific.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0332-serial-sc16is7xx-Read-modem-line-state-at-startup.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0333-drivers-media-bcm2835_unicam-Improve-frame-sequence-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0334-xhci-quirks-add-link-TRB-quirk-for-VL805.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0335-usb-xhci-borrow-upstream-TRB_FETCH-quirk-on-VL805-ho.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0336-usb-xhci-add-VLI_SS_BULK_OUT_BUG-quirk.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0337-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0338-cfg80211-ship-debian-certificates-as-hex-files.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0339-drm-ili9486-Resolve-clash-in-spi_device_id-names.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0340-bcm2835-unicam-hacks-to-allow-it-to-build.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0341-rtc-rv3028-Add-backup-switchover-mode-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0342-gpio_brcmstb-Allow-to-build-for-ARCH_BCM2835.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0343-Allow-RESET_BRCMSTB-on-ARCH_BCM2835.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0344-pinctrl-bcm2712-pinctrl-pinconf-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0345-mmc-brcmstb-add-support-for-BCM2712.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0346-sdhci-Add-SD-Express-hook.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0347-irqchip-irq-bcm2712-mip-Support-for-2712-s-MIP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0348-reset-reset-brcmstb-rescal-Support-shared-use.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0349-net-macb-Also-set-DMA-coherent-mask.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0350-usb-dwc3-Set-DMA-and-coherent-masks-early.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0351-V4L2-Add-PiSP-opaque-formats-to-V4L2.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0352-V4L2-Add-PiSP-compressed-formats-to-V4L2.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0353-dt-binding-mfd-Add-binding-for-Raspberry-Pi-RP1.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0354-mfd-Add-rp1-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0355-dt-bindings-clock-Add-bindings-for-Raspberry-Pi-RP1.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0356-clk-Add-rp1-clock-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0357-dt-bindings-pinctrl-Add-bindings-for-Raspberry-Pi-RP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0358-pinctrl-Add-rp1-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0359-serial-pl011-rp1-uart-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0360-mmc-sdhci-of-dwcmshc-define-sdio-timeout-clocks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0361-clk-rp1-Add-sdio-clk-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0362-i2c-designware-Add-SMBUS-quick-command-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0363-dmaengine-dw-axi-dmac-Fixes-for-RP1.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0364-spi-dw-Handle-combined-tx-and-rx-messages.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0365-pwm-Add-support-for-RP1-PWM.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0366-drm-Add-RP1-DSI-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0367-drm-Add-RP1-DPI-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0368-drm-Add-RP1-VEC-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0369-media-rp1-Add-CFE-Camera-Front-End-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0370-dt-bindings-net-cdns-macb-AXI-tuning-properties.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0371-hwmon-Add-RP1-ADC-and-temperature-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0372-mfd-bcm2835-pm-Add-support-for-BCM2712.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0373-soc-bcm-bcm2835-power-Add-support-for-BCM2712.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0374-spi-gpio-Fix-spi-gpio-to-correctly-implement-sck-idl.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0375-spi-spi-gpio-Implement-spidelay-when-requested-bit-r.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0376-drm-v3d-add-brcm-2712-v3d-as-a-compatible-V3D-device.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0377-dt-bindings-gpu-v3d-Add-BCM2712-to-compatibility-lis.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0378-dmaengine-bcm2835-Add-BCM2712-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0379-dmaengine-bcm2835-HACK-Support-DMA-Lite-channels.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0380-dmaengine-bcm2835-Rename-to_bcm2711_cbaddr-to-to_40b.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0381-drivers-iommu-Add-BCM2712-IOMMU.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0382-irqchip-irq-brcmstb-l2-Add-config-for-2711-controlle.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0383-rtc-rtc-rpi-Add-simple-RTC-driver-for-Raspberry-Pi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0384-dt-bindings-rtc-new-binding-for-Raspberry-Pi-RTC-dri.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0385-dt-bindings-display-Add-BCM2712-HDMI-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0386-dt-bindings-display-Add-BCM2712-HVS-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0387-dt-bindings-display-Add-BCM2712-PixelValve-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0388-dt-bindings-display-Add-BCM2712-MOP-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0389-dt-bindings-display-Add-BCM2712-MOPLET-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0390-dt-bindings-display-Add-BCM2712-KMS-driver-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0391-media-i2c-Move-Kconfig-entry-for-IMX477-to-the-camer.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0392-drm-Look-for-an-alias-for-the-displays-to-use-as-the.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0393-media-i2c-ov9282-Read-chip-ID-via-2-reads.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0394-fbdev-Allow-client-to-request-a-particular-dev-fbN-n.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0395-drm-fb-helper-Look-up-preferred-fbdev-node-number-fr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0396-drm-connector-Change-DRM-card-alias-from-underscore-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0397-dt-bindings-PCI-brcmstb-add-optional-property-brcm-t.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0398-drivers-mmc-sdhci-add-SPURIOUS_INT_RESP-quirk.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0399-dt-bindings-mmc-sdhci-of-dwcmhsc-Add-Raspberry-Pi-RP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0400-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0401-gpio-poweroff-Disable-the-WARN.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0402-w1-Disable-kernel-log-spam.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0403-xhci-Use-more-event-ring-segment-table-entries.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0404-drivers-thermal-step_wise-add-support-for-hysteresis.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0405-media-i2c-ov7251-Switch-from-V4L2_CID_GAIN-to-V4L2_C.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0406-drm-bridge-display-connector-Select-DRM_KMS_HELPER.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0407-dtc-update.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0408-media-dt-bindings-i2c-Add-Rohm-BU64754-bindings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0409-media-i2c-Add-ROHM-BU64754-Camera-Autofocus-Actuator.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0410-firmware-psci-Pass-given-partition-number-through.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0411-media-i2c-adv7180-Use-MEDIA_BUS_FMT_UYVY8_1X16-for-C.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0412-media-i2c-adv7180-Add-support-for-V4L2_CID_LINK_FREQ.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0413-spi-bcm2835-Support-spi0-0cs-and-SPI_NO_CS-mode.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0414-dt-bindings-usb-update-dwc3-bindings-for-parkmode-di.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0415-drivers-usb-dwc3-add-FS-LS-bus-instance-parkmode-dis.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0416-i2c-designware-Use-SCL-rise-and-fall-times-in-DT.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0417-i2c-designware-Support-non-standard-bus-speeds.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0418-serial-sc16is7xx-Don-t-spin-if-no-data-received.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0419-arm64-Kconfig-Don-t-set-DMA_BOUNCE_UNALIGNED_KMALLOC.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0420-Bluetooth-btbcm-Add-entry-for-BCM43439-UART-BT.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0421-dt-bindings-add-additional-RP1-PLL-output-channels.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0422-regulator-Add-a-regulator-for-the-new-LCD-panels.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0423-i2c-mux-Add-support-for-generic-base-nr-property.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0424-non-upstream-support-DS1-exit-firmware-re-download.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0425-brcmfmac-Fix-interoperating-DPP-and-other-encryption.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0426-brcmfmac-support-external-SAE-authentication-in-stat.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0427-brcmfmac-Fix-802.1x.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0428-mmc-bcm2835-sdhost-use-Host-Software-Queueing-mechan.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0429-drivers-mmc-add-SD-support-for-Command-Queueing.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0430-drivers-mmc-preallocate-a-block-for-SD-extension-reg.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0431-drivers-mmc-trigger-activity-LED-when-CQE-is-active.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0432-drivers-sdhci-brcmstb-work-around-mystery-CQE-CMD_ID.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0433-drivers-mmc-cqhci-clear-CQHCI_CTL-if-halt-fails.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0434-drivers-mmc-export-SD-extension-register-read-write-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0435-drivers-mmc-be-more-cautious-when-manipulating-Comma.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0436-drivers-mmc-add-debugfs-entries-for-SD-extension-reg.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0437-drivers-mmc-handle-1024-byte-SD-General-Info-lengths.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0438-mmc-sdhci-brcmstb-add-hs400_downgrade-callback-for-b.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0439-mmc-sdhci-extend-maximum-ADMA-transfer-length-to-4Mi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0440-drivers-mmc-sdhci-brcmstb-improve-bcm2712-card-remov.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0441-drivers-mmc-core-handle-card-removal-when-running-CQ.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0442-mmc-restrict-posted-write-counts-for-SD-cards-in-CQ-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0443-mmc-don-t-reference-requests-after-finishing-them.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0444-drivers-mmc-disable-write-caching-on-Samsung-2023-mo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0445-mmc-quirks-disable-cache-on-more-known-bad-Sandisk-c.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0446-mmc-block-disable-CQ-on-SD-cards-when-doing-non-Disc.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0447-mmc-quirks-add-MMC_QUIRK_BROKEN_ERASE-for-Phison-Int.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0448-i2c-designware-Add-support-for-bus-clear-feature.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0449-i2c-designware-Make-the-SDA-hold-time-half-LCNT.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0450-nvmem-raspberrypi-Add-nvmem-driver-for-accessing-OTP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0451-module-Avoid-ABI-changes-when-debug-info-is-disabled.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0452-media-bcm2835-unicam-Add-option-for-a-GPIO-to-reflec.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0453-dw-axi-dmac-platform-Avoid-trampling-with-zero-lengt.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0454-drivers-media-cfe-Add-remap-entries-for-mono-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0455-drm-panel-Add-and-initialise-an-orientation-field-to.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0456-drm-bridge-tc358762-Program-the-DPI-mode-into-the-ch.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0457-drm-bridge-tc358762-revert-move-ops-to-enable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0458-pinctrl-bcm2835-Persist-outputs-by-default.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0459-spi-dw-Handle-any-number-of-gpiod-CS-lines.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0460-regulator-rpi_panel_v2-Add-remove-and-shutdown-hooks.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0461-regulator-rpi_panel_v2-Add-delay-on-I2C-reads.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0462-backlight-Add-a-display-name-to-the-core-and-a-funct.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0463-drm-bridge-panel-Name-an-associated-backlight-device.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0464-drivers-media-pci-Add-Hailo-accelerator-device-drive.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0465-drivers-media-pcie-hailo-Fix-include-paths.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0466-drivers-media-pci-Update-Hailo-accelerator-device-dr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0467-drivers-media-pci-Add-wrapper-after-removal-of-follo.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0468-drivers-media-pci-Fix-Hailo-compile-warnings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0469-staging-vc04_services-Add-helpers-for-vchiq-driver-d.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0470-staging-vc04_services-vc-sm-cma-Remove-deprecated-he.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0471-staging-vc04_services-vc-sm-cma-Drop-include-Makefil.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0472-staging-vc04_services-vc-sm-cma-Register-with-vchiq_.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0473-arm-bcm2835-Add-bcm2838-compatible-string.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0474-ARM-bcm-Switch-board-clk-and-pinctrl-to-bcm2711-comp.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0475-media-bcm2835-unicam-Add-support-for-12bit-mono-pack.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0476-media-bcm2835-unicam-Add-support-for-14bit-mono-sour.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0477-media-bcm2835-unicam-Add-support-for-unpacked-14bit-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0478-lan78xx-Read-initial-EEE-status-from-DT.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0479-lan78xx-Return-tx_lpi_timer-even-if-disabled.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0480-staging-vc04_services-vc-sm-cma-Explicitly-set-DMA-m.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0481-media-pisp-be-Backport-the-mainline-PiSP-BE-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0482-media-pisp_be-Re-introduce-multi-context-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0483-media-pisp_be-Re-introduce-video-node-offset.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0484-spi-dt-bindings-Add-RPI-RP2040-GPIO-Bridge.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0485-spi-Add-a-driver-for-the-RPI-RP2040-GPIO-bridge.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0486-dmaengine-dw-axi-dmac-Honour-snps-block-size.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0487-brcmfmac-Only-match-complete-feature-names.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0488-brcmfmac-Add-extsae-as-an-alias-for-sae_ext.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0489-brcmfmac-support-extsae-with-psk-1x-offloading.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0490-dt-bindings-clk-rp1-Add-clocks-representing-MIPI-DSI.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0491-media-bcm2835-unicam-Reinstate-old-downstream-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0492-media-platform-Move-bcm2835-unicam-compatible-to-dow.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0493-pinctrl-rp1-jump-through-hoops-to-avoid-PCIe-latency.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0494-spi-dw-Save-bandwidth-with-the-TMOD_TO-feature.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0495-spi-dw-Save-bandwidth-with-the-TMOD_RO-feature.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0496-spi-dw-don-t-immediately-kill-DMA-transfers-if-an-er.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0497-drivers-dw-axi-dmac-make-more-sensible-choices-about.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0498-DT-bindings-add-a-dma-maxburst-property-to-snps-desi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0499-sound-soc-dwc-i2s-choose-FIFO-thresholds-based-on-DM.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0500-spi-dw-Fix-non-DMA-transmit-only-transfers.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0501-spi-dw-Clamp-the-minimum-clock-speed.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0502-hwmon-adt7410-Add-DT-compatible-strings.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0503-gpiolib-Override-gpiochip-numbers-with-DT-aliases.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0504-Bluetooth-hci_sync-Fix-crash-on-NULL-parent.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0505-rtc-pcf8523-Fix-oscillator-stop-bit-handling-reading.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0506-media-dt-bindings-i2c-Add-Sony-IMX500.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0507-media-i2c-Add-driver-for-Sony-IMX500-sensor.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0508-lib-earlycpio-export-symbol-find_cpio_data.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0509-media-i2c-ov5647-Add-control-of-V4L2_CID_HBLANK.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0510-drm-panel-ili9881-Correct-symmetry-on-enable-disable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0511-drm-panel-ili9881-Add-option-to-reconfigure-setup-co.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0512-drivers-media-imx500-Enable-LS-correction.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0513-NotForUpstream-media-video-mux-Propagate-controls-to.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0514-media-platform-video-mux-Fix-mutex-locking.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0515-media-i2c-ov5647-Tidy-up-mode-registers-to-make-the-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0516-media-i2c-ov5647-Separate-out-the-common-registers.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0517-media-i2c-ov5647-Use-the-same-PLL-config-for-full-10.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0518-media-i2c-ov5647-Add-V4L2_CID_LINK_FREQUENCY-control.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0519-dma-buf-system_heap-Allow-specifying-maximum-allocat.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0520-mm-numa-Allow-override-of-kernel-s-default-NUMA-poli.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0521-numa-emulation-Check-emulated-zones-around-the-CMA-w.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0522-drivers-media-bcm2835_isp-Cache-LS-table-dmabuf.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0523-mm-vmscan-Maintain-TLB-coherency-in-LRU-code.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0524-mmc-quirks-add-more-broken-Kingston-Canvas-Go-SD-car.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0525-dt-bindings-usb-snps-dwc3-add-FS-HS-periodic-NAK-pol.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0526-usb-dwc3-core-add-support-for-setting-NAK-enhancemen.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0527-drivers-usb-xhci-prevent-a-theoretical-race-on-non-c.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0528-iio-humidity-dht11-Allow-non-zero-decimals.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0529-drm-Set-non-desktop-property-to-true-for-writeback-a.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0530-drm-Increase-plane_mask-to-64bit.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0531-drm-Add-a-DRM_MODE_TRANSPOSE-option-to-the-DRM-rotat.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0532-drm-Add-a-rotation-parameter-to-connectors.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0533-dmaengine-dw-axi-dmac-Allow-client-chosen-width.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0534-spi-dw-Let-the-DMAC-set-the-transfer-widths.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0535-serial-pl011-Request-a-memory-width-of-1-byte.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0536-drivers-usb-xhci-set-HID-bit-in-streaming-endpoint-c.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0537-media-i2c-imx477-Add-options-for-slightly-modifying-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0538-dtoverlays-Add-link-frequency-override-to-imx477-378.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0539-dmaengine-dw-axi-dmac-Only-start-idle-channels.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0540-mailbox-Add-RP1-mailbox-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0541-firmware-Add-an-RP1-firmware-interface-over-mbox.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0542-dts-bcm2712-rpi-Add-RP1-firmware-and-mailboxes.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0543-misc-Add-RP1-PIO-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0545-dts-bcm2712-rpi-Add-the-RP1-PIO-device.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0546-pwm-Add-pwm-pio-rp1-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0548-overlays-Add-pwm-pio-overlay.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0550-drivers-media-pci-Update-Hailo-accelerator-device-dr.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0551-dtoverlays-enable-SPI-CS-active-high.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0552-overlays-Enable-Raspberry-Touch-2-rotation-with-over.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0553-PCI-brcmstb-set-link-speed-before-deasserting-fundam.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0554-drm-connector-Initialise-max_bpc-to-the-minimum-valu.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0555-drm-connector-hdmi-Disable-the-infoframes-by-default.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0556-drm-connector-hdmi-Attempt-YUV422-output-if-RGB-isn-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0557-Adding-Pimidi-kernel-module.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0559-Adding-pimidi-overlay.dts.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0560-media-i2c-imx477-Fix-link-frequency-menu.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0561-misc-rp1-pio-Fix-copy-paste-error-in-pio_rp1.h.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0562-misc-rp1-pio-Fix-parameter-checks-wihout-client.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0563-drm-vc4-dsi-Handle-the-different-command-FIFO-widths.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0564-dts-bcm2712-rpi-For-CM5IO-i2c_csi_dsi-needs-to-be-CA.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0565-dts-bcm2712-rpi-cm5-Remove-inaccessible-USB_OC_N.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0566-overlays-qca7000-replace-URL-with-textual-hint.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0567-dt-bindings-net-cdns-macb-Add-compatible-for-Raspber.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0568-net-macb-Add-support-for-Raspberry-Pi-RP1-ethernet-c.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0569-rp1-clk-Only-set-PLL_SEC_RST-in-rp1_pll_divider_off.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0570-rp1-clk-Rationalise-the-use-of-the-CLK_IS_CRITICAL-f.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0571-dt-arm64-Fixup-RP1-ethernet-DT-configuration.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0572-clk-rp1-Add-RP1_CLK_DMA.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0573-rp1-clk-Remove-CLK_IGNORE_UNUSED-flags.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0574-dt-rp1-Use-clk_sys-for-ethernet-hclk-and-pclk.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0575-dt-rp1-Link-RP1-DMA-to-the-associated-clock.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0576-dts-bcm2712-ds-Restore-the-A76-PMU-declaration.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0577-dts-rp1-Re-enable-DMA-to-RP1-UART0.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0578-dts-bcm2712-ds-Restore-gpio-direct-to-gio_aon.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0579-drm-vc4-plane-Keep-fractional-source-coords-inside-s.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0580-drm-vc4-plane-Handle-fractional-coordinates-using-th.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0581-drm-vc4-crtc-Force-trigger-of-dlist-update-on-margin.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0582-drm-vc4-plane-Add-support-for-YUV444-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0583-drm-vc4-hdmi-Warn-if-writing-to-an-unknown-HDMI-regi.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0584-drm-vc4-hvs-More-logging-for-dlist-generation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0585-drm-vc4-hvs-Print-error-if-we-fail-an-allocation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0586-drm-vc4-plane-Add-more-debugging-for-LBM-allocation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0587-drm-vc4-plane-Use-return-variable-in-atomic_check.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0588-drm-vc4-crtc-Move-assigned_channel-to-a-variable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0589-drm-vc4-plane-YUV-planes-require-vertical-scaling-to.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0590-drm-vc4-hvs-Remove-ABORT_ON_EMPTY-flag.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0591-drm-vc4-Make-v3d-paths-unavailable-on-any-generation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0592-drm-vc4-hvs-Use-switch-statement-to-simplify-vc4_hvs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0593-drm-vc4-hvs-Create-hw_init-function.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0594-drm-vc4-hvs-Create-cob_init-function.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0595-drm-vc4-hvs-Rename-hvs_regs-list.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0596-drm-vc4-plane-Change-ptr0_offset-to-an-array.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0597-drm-vc4-hvs-Rework-LBM-alignment.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0598-drm-vc4-hvs-Change-prototype-of-__vc4_hvs_alloc-to-p.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0599-drm-vc4-plane-Move-the-buffer-offset-out-of-the-vc4_.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0600-drm-vc4-hvs-Enable-SCALER_CONTROL-early-in-HVS-init.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0601-drm-vc4-Use-vc4_perfmon_find.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0602-drm-vc4-Use-of_device_get_match_data-to-set-generati.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0603-drm-vc4-Fix-reading-of-frame-count-on-GEN5-Pi4.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0604-drm-vc4-drv-Support-BCM2712.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0605-drm-vc4-hvs-Add-support-for-BCM2712-HVS.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0606-drm-vc4-crtc-Add-support-for-BCM2712-PixelValves.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0607-drm-vc4-hdmi-Add-support-for-BCM2712-HDMI-controller.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0608-drm-vc4-txp-Introduce-structure-to-deal-with-revisio.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0609-drm-vc4-txp-Rename-TXP-data-structure.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0610-drm-vc4-txp-Add-byte-enable-toggle-bit.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0611-drm-vc4-txp-Add-horizontal-and-vertical-size-offset-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0612-drm-vc4-txp-Handle-40-bits-DMA-Addresses.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0613-drm-vc4-txp-Move-the-encoder-type-in-the-variant-str.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0614-drm-vc4-txp-Add-a-new-TXP-encoder-type.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0615-drm-vc4-txp-Add-support-for-BCM2712-MOP.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0616-drm-vc4-txp-Add-BCM2712-MOPLET-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0617-drm-vc4-drv-Add-support-for-2712-D-step.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0618-drm-vc4-hvs-Add-in-support-for-2712-D-step.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0619-drm-vc4-plane-Add-support-for-2712-D-step.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0620-drm-vc4-hdmi-Support-2712-D-step-register-map.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0621-drm-vc4-Add-additional-warn_on-for-incorrect-revisio.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0622-drm-vc4-Enable-bg_fill-if-there-are-no-planes-enable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0623-drm-vc4-Drop-planes-that-are-completely-off-screen-o.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0624-dt-Disabled-vc4-by-default-on-2712.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0625-arch-arm64-broadcom-Add-firmware-clocks-node.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0626-arm64-dts-broadcom-Add-display-pipeline-support-to-B.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0627-arm64-dts-broadcom-Add-DT-for-D-step-version-of-BCM2.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0628-arm64-dts-broadcom-Fixup-downstream-DT-changes-due-t.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0629-dtoverlays-enable-gpu-node-from-vc4-kms-v3d-pi5.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0630-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0631-arm64-dts-broadcom-Fixup-HVS-address-for-downstream-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0632-drm-vc4-hvs-Defer-dlist-slots-deallocation.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0633-drm-vc4-Add-hvs_dlist_allocs-debugfs-function.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0634-drm-vc4-Disable-overrun-interrupts.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0635-drm-vc4-Block-swiotlb-bounce-buffers-being-imported-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0636-drm-vc4-Add-option-to-call-from-crtc-to-encoder-on-v.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0637-drm-vc4-dsi-Clocks-should-be-running-before-reset.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0638-drm-vc4-Reset-DSI-AFE-on-disable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0639-drm-vc4-Ensure-DSI-is-enabled-for-FIFO-resets.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0640-drm-vc4-Add-vblank-callback-to-DSI0-to-reset-FIFO.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0641-drm-vc4-Fixup-mode-for-7inch-panel-on-DSI0.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0642-drm-vc4-dsi-Don-t-reset-the-host-until-post_disable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0643-drm-vc4-dsi-enable-video-and-then-retry-failed-trans.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0644-drm-vc4-Allow-setting-the-TV-norm-via-module-paramet.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0645-drm-vc4-Make-VEC-progressive-modes-readily-accessibl.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0646-drm-vc4-Initialise-the-tv_mode-property-default-from.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0647-vc4-Add-jack-detection-to-HDMI-audio-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0648-drm-vc4-hdmi-Add-a-clear_infoframe-hook.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0649-drm-vc4_hdmi-Allow-hotplug-detect-to-be-forced.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0650-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0651-drm-vc4-Add-a-delay-after-disabling-hdmi-phy-output.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0652-drm-vc4-Implement-vc6_hdmi_phy_disable.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0653-drm-vc4-Also-power-down-the-PLL-core-when-resetting-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0654-drm-vc4-dpi-Add-override-for-RGB-order.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0655-vc4-drm-plane-Make-use-of-chroma-siting-parameter.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0656-drm-vc4-Add-support-for-per-plane-scaling-filter-sel.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0657-drm-vc4-Use-the-TPZ-scaling-filter-for-1x1-source-im.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0658-drm-vc4-hvs-Defer-updating-the-enable_bg_fill-until-.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0659-drm-vc4-Increase-number-of-overlay-planes-from-16-to.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0660-drm-vc4-Assign-32-overlay-planes-to-writeback-only.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0661-drm-vc4-Do-not-include-writeback-conn-load-in-load-t.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0662-drm-vc4-Drop-panic-priority-for-writeback-connector.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0663-drm-vc4-txp-Add-a-rotation-property-to-the-writeback.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0664-drm-vc4-Remove-request-for-min-clocks-when-hdmi-outp.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0665-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0666-drm-vc4-fkms-Add-firmware-kms-mode.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0667-drm-vc4-tests-Switch-generation-mockup-to-a-switch.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0668-drm-vc4-tests-Drop-drm-parameter-for-vc4_find_crtc_f.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0669-drm-vc4-tests-Return-the-allocated-output.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0670-drm-vc4-tests-Add-BCM2712-mock-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0671-drm-vc4-tests-Add-tests-for-BCM2712-PixelValve-Muxin.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0672-drm-vc4-tests-Use-custom-plane-state-for-mock.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0673-drm-vc4-tests-Add-function-to-lookup-a-plane-for-a-C.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0674-drm-vc4-tests-Add-helper-to-add-a-new-plane-to-a-sta.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0675-drm-vc4-tests-Support-a-few-more-plane-formats.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0676-drm-vc4-tests-Introduce-a-test-for-LBM-buffer-size.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0677-drm-vc4-backport-27e0a194a256-and-b3bf19552ea3.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0678-drm-vc4-Cache-LBM-allocations-to-avoid-double-buffer.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0679-dtoverlays-bcm2712d0-Don-t-change-vc4-compatible-str.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0680-arm64-dts-broadcom-Add-dma-names-for-HDMI-audio-DMA.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0681-raspberrypi-firmware-Add-the-RPI-firmware-UART-APIs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0682-serial-core-Add-the-Raspberry-Pi-firmware-UART-id.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0683-serial-tty-Add-a-driver-for-the-RPi-firmware-UART.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0684-configs-Enable-the-RPi-FW-UART-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0685-dtoverlay-Add-an-overlay-for-the-Raspberry-Pi-firmwa.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0686-ARM-dts-Remove-duplicate-tags.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0687-Allow-setting-I-C-clock-frequency-via-i2c_arm_baudra.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0688-nvme-pci-Disable-Host-Memory-Buffer-usage.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0689-serial-rpi-fw-uart-Demote-debug-log-messages.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0690-dtoverlays-Add-Arducam-override-for-ov9281.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0691-input-Add-support-for-no-irq-to-ili210x-driver.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0692-drm-panel-Added-waveshare-13.3inch-panel.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0693-overlays-Added-waveshare-13.3inch-panel-support.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0694-dts-bcm2712-ds-Dedup-as-upstream-support-expands.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0695-cgroup-Add-cgroup_enable-option.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0696-media-i2c-ov9282-Correct-the-exposure-offset.patch create mode 100644 target/linux/bcm27xx/patches-6.12/950-0697-drm-v3d-Correct-clock-settng-calls-to-new-APIs.patch create mode 100644 target/linux/bcm27xx/patches-6.12/960-hwrng-iproc-set-quality-to-1000.patch diff --git a/target/linux/bcm27xx/patches-6.12/950-0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch b/target/linux/bcm27xx/patches-6.12/950-0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch new file mode 100644 index 0000000000..7795f60e67 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch @@ -0,0 +1,22 @@ +From 99b87b80f2e12dfecaa0d63267769203ebb04d04 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 20 Apr 2020 13:41:10 +0100 +Subject: [PATCH 004/697] Revert "spi: spidev: Fix CS polarity if GPIO + descriptors are used" + +This reverts commit 83b2a8fe43bda0c11981ad6afa5dd0104d78be28. +--- + drivers/spi/spidev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/spi/spidev.c ++++ b/drivers/spi/spidev.c +@@ -428,7 +428,7 @@ spidev_ioctl(struct file *filp, unsigned + } + + if (ctlr->use_gpio_descriptors && spi_get_csgpiod(spi, 0)) +- tmp |= SPI_CS_HIGH; ++ { /*tmp |= SPI_CS_HIGH;*/ } + + tmp |= spi->mode & ~SPI_MODE_MASK; + spi->mode = tmp & SPI_MODE_USER_MASK; diff --git a/target/linux/bcm27xx/patches-6.12/950-0005-Revert-net-bcmgenet-Request-APD-DLL-disable-and-IDDQ.patch b/target/linux/bcm27xx/patches-6.12/950-0005-Revert-net-bcmgenet-Request-APD-DLL-disable-and-IDDQ.patch new file mode 100644 index 0000000000..04bd164b18 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0005-Revert-net-bcmgenet-Request-APD-DLL-disable-and-IDDQ.patch @@ -0,0 +1,29 @@ +From d1f6582242f7b5ee85a46b10c496957ee38e62b5 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 7 Mar 2022 16:18:55 +0000 +Subject: [PATCH 005/697] Revert "net: bcmgenet: Request APD, DLL disable and + IDDQ-SR" + +This reverts commit c3a4c69360ab43560f212eed326c9d8bde35b14c, which +broke rebooting when network booting. + +See: https://github.com/raspberrypi/rpi-eeprom/issues/417 + +Signed-off-by: Phil Elwell +--- + drivers/net/ethernet/broadcom/genet/bcmmii.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +--- a/drivers/net/ethernet/broadcom/genet/bcmmii.c ++++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c +@@ -304,9 +304,7 @@ int bcmgenet_mii_probe(struct net_device + struct device_node *dn = kdev->of_node; + phy_interface_t phy_iface = priv->phy_interface; + struct phy_device *phydev; +- u32 phy_flags = PHY_BRCM_AUTO_PWRDWN_ENABLE | +- PHY_BRCM_DIS_TXCRXC_NOENRGY | +- PHY_BRCM_IDDQ_SUSPEND; ++ u32 phy_flags = 0; + int ret; + + /* Communicate the integrated PHY revision */ diff --git a/target/linux/bcm27xx/patches-6.12/950-0006-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch b/target/linux/bcm27xx/patches-6.12/950-0006-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch new file mode 100644 index 0000000000..b3d402d66f --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0006-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch @@ -0,0 +1,69 @@ +From f7aff06f3804aef99910922397bf196cfaa5479e Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Mon, 31 Jul 2023 13:47:10 +0100 +Subject: [PATCH 006/697] Revert "Revert "xhci: add quirk for host controllers + that don't update endpoint DCS"" + +This reverts commit 5bef4b3cb95a5b883dfec8b3ffc0d671323d55bb. + +We don't agree with upstream revert so undo it. +--- + drivers/usb/host/xhci-pci.c | 4 +++- + drivers/usb/host/xhci-ring.c | 23 ++++++++++++++++++++++- + 2 files changed, 25 insertions(+), 2 deletions(-) + +--- a/drivers/usb/host/xhci-pci.c ++++ b/drivers/usb/host/xhci-pci.c +@@ -424,8 +424,10 @@ static void xhci_pci_quirks(struct devic + pdev->device == 0x3432) + xhci->quirks |= XHCI_BROKEN_STREAMS; + +- if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) ++ if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { + xhci->quirks |= XHCI_LPM_SUPPORT; ++ xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS; ++ } + + if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && + pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) { +--- a/drivers/usb/host/xhci-ring.c ++++ b/drivers/usb/host/xhci-ring.c +@@ -637,8 +637,11 @@ static int xhci_move_dequeue_past_td(str + struct xhci_ring *ep_ring; + struct xhci_command *cmd; + struct xhci_segment *new_seg; ++ struct xhci_segment *halted_seg = NULL; + union xhci_trb *new_deq; + int new_cycle; ++ union xhci_trb *halted_trb; ++ int index = 0; + dma_addr_t addr; + u64 hw_dequeue; + bool cycle_found = false; +@@ -657,7 +660,25 @@ static int xhci_move_dequeue_past_td(str + hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id); + new_seg = ep_ring->deq_seg; + new_deq = ep_ring->dequeue; +- new_cycle = hw_dequeue & 0x1; ++ ++ /* ++ * Quirk: xHC write-back of the DCS field in the hardware dequeue ++ * pointer is wrong - use the cycle state of the TRB pointed to by ++ * the dequeue pointer. ++ */ ++ if (xhci->quirks & XHCI_EP_CTX_BROKEN_DCS && ++ !(ep->ep_state & EP_HAS_STREAMS)) ++ halted_seg = trb_in_td(xhci, td, hw_dequeue & ~0xf, false); ++ if (halted_seg) { ++ index = ((dma_addr_t)(hw_dequeue & ~0xf) - halted_seg->dma) / ++ sizeof(*halted_trb); ++ halted_trb = &halted_seg->trbs[index]; ++ new_cycle = halted_trb->generic.field[3] & 0x1; ++ xhci_dbg(xhci, "Endpoint DCS = %d TRB index = %d cycle = %d\n", ++ (u8)(hw_dequeue & 0x1), index, new_cycle); ++ } else { ++ new_cycle = hw_dequeue & 0x1; ++ } + + /* + * We want to find the pointer, segment and cycle state of the new trb diff --git a/target/linux/bcm27xx/patches-6.12/950-0007-Revert-PCI-brcmstb-Configure-HW-CLKREQ-mode-appropri.patch b/target/linux/bcm27xx/patches-6.12/950-0007-Revert-PCI-brcmstb-Configure-HW-CLKREQ-mode-appropri.patch new file mode 100644 index 0000000000..d372dbf2d9 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0007-Revert-PCI-brcmstb-Configure-HW-CLKREQ-mode-appropri.patch @@ -0,0 +1,156 @@ +From faa6f87df4d488431743607a8158f15bdcb2afdd Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Fri, 2 Feb 2024 13:04:00 +0000 +Subject: [PATCH 007/697] Revert "PCI: brcmstb: Configure HW CLKREQ# mode + appropriate for downstream device" + +This reverts commit e2596dcf1e9dfd5904d50f796c19b03c94a3b8b4. +--- + drivers/pci/controller/pcie-brcmstb.c | 100 +++----------------------- + 1 file changed, 10 insertions(+), 90 deletions(-) + +--- a/drivers/pci/controller/pcie-brcmstb.c ++++ b/drivers/pci/controller/pcie-brcmstb.c +@@ -48,9 +48,6 @@ + #define PCIE_RC_CFG_PRIV1_LINK_CAPABILITY 0x04dc + #define PCIE_RC_CFG_PRIV1_LINK_CAPABILITY_ASPM_SUPPORT_MASK 0xc00 + +-#define PCIE_RC_CFG_PRIV1_ROOT_CAP 0x4f8 +-#define PCIE_RC_CFG_PRIV1_ROOT_CAP_L1SS_MODE_MASK 0xf8 +- + #define PCIE_RC_DL_MDIO_ADDR 0x1100 + #define PCIE_RC_DL_MDIO_WR_DATA 0x1104 + #define PCIE_RC_DL_MDIO_RD_DATA 0x1108 +@@ -127,12 +124,9 @@ + PCIE_MISC_CPU_2_PCIE_MEM_WIN0_LIMIT_HI + ((win) * 8) + + #define PCIE_MISC_HARD_PCIE_HARD_DEBUG_CLKREQ_DEBUG_ENABLE_MASK 0x2 +-#define PCIE_MISC_HARD_PCIE_HARD_DEBUG_L1SS_ENABLE_MASK 0x200000 + #define PCIE_MISC_HARD_PCIE_HARD_DEBUG_SERDES_IDDQ_MASK 0x08000000 + #define PCIE_BMIPS_MISC_HARD_PCIE_HARD_DEBUG_SERDES_IDDQ_MASK 0x00800000 +-#define PCIE_CLKREQ_MASK \ +- (PCIE_MISC_HARD_PCIE_HARD_DEBUG_CLKREQ_DEBUG_ENABLE_MASK | \ +- PCIE_MISC_HARD_PCIE_HARD_DEBUG_L1SS_ENABLE_MASK) ++ + + #define PCIE_MISC_UBUS_BAR1_CONFIG_REMAP 0x40ac + #define PCIE_MISC_UBUS_BAR1_CONFIG_REMAP_ACCESS_EN_MASK BIT(0) +@@ -1187,93 +1181,13 @@ static int brcm_pcie_setup(struct brcm_p + return 0; + } + +-/* +- * This extends the timeout period for an access to an internal bus. This +- * access timeout may occur during L1SS sleep periods, even without the +- * presence of a PCIe access. +- */ +-static void brcm_extend_rbus_timeout(struct brcm_pcie *pcie) +-{ +- /* TIMEOUT register is two registers before RGR1_SW_INIT_1 */ +- const unsigned int REG_OFFSET = PCIE_RGR1_SW_INIT_1(pcie) - 8; +- u32 timeout_us = 4000000; /* 4 seconds, our setting for L1SS */ +- +- /* 7712 does not have this (RGR1) timer */ +- if (pcie->soc_base == BCM7712) +- return; +- +- /* Each unit in timeout register is 1/216,000,000 seconds */ +- writel(216 * timeout_us, pcie->base + REG_OFFSET); +-} +- +-static void brcm_config_clkreq(struct brcm_pcie *pcie) +-{ +- static const char err_msg[] = "invalid 'brcm,clkreq-mode' DT string\n"; +- const char *mode = "default"; +- u32 clkreq_cntl; +- int ret, tmp; +- +- ret = of_property_read_string(pcie->np, "brcm,clkreq-mode", &mode); +- if (ret && ret != -EINVAL) { +- dev_err(pcie->dev, err_msg); +- mode = "safe"; +- } +- +- /* Start out assuming safe mode (both mode bits cleared) */ +- clkreq_cntl = readl(pcie->base + HARD_DEBUG(pcie)); +- clkreq_cntl &= ~PCIE_CLKREQ_MASK; +- +- if (strcmp(mode, "no-l1ss") == 0) { +- /* +- * "no-l1ss" -- Provides Clock Power Management, L0s, and +- * L1, but cannot provide L1 substate (L1SS) power +- * savings. If the downstream device connected to the RC is +- * L1SS capable AND the OS enables L1SS, all PCIe traffic +- * may abruptly halt, potentially hanging the system. +- */ +- clkreq_cntl |= PCIE_MISC_HARD_PCIE_HARD_DEBUG_CLKREQ_DEBUG_ENABLE_MASK; +- /* +- * We want to un-advertise L1 substates because if the OS +- * tries to configure the controller into using L1 substate +- * power savings it may fail or hang when the RC HW is in +- * "no-l1ss" mode. +- */ +- tmp = readl(pcie->base + PCIE_RC_CFG_PRIV1_ROOT_CAP); +- u32p_replace_bits(&tmp, 2, PCIE_RC_CFG_PRIV1_ROOT_CAP_L1SS_MODE_MASK); +- writel(tmp, pcie->base + PCIE_RC_CFG_PRIV1_ROOT_CAP); +- +- } else if (strcmp(mode, "default") == 0) { +- /* +- * "default" -- Provides L0s, L1, and L1SS, but not +- * compliant to provide Clock Power Management; +- * specifically, may not be able to meet the Tclron max +- * timing of 400ns as specified in "Dynamic Clock Control", +- * section 3.2.5.2.2 of the PCIe spec. This situation is +- * atypical and should happen only with older devices. +- */ +- clkreq_cntl |= PCIE_MISC_HARD_PCIE_HARD_DEBUG_L1SS_ENABLE_MASK; +- brcm_extend_rbus_timeout(pcie); +- +- } else { +- /* +- * "safe" -- No power savings; refclk is driven by RC +- * unconditionally. +- */ +- if (strcmp(mode, "safe") != 0) +- dev_err(pcie->dev, err_msg); +- mode = "safe"; +- } +- writel(clkreq_cntl, pcie->base + HARD_DEBUG(pcie)); +- +- dev_info(pcie->dev, "clkreq-mode set to %s\n", mode); +-} +- + static int brcm_pcie_start_link(struct brcm_pcie *pcie) + { + struct device *dev = pcie->dev; + void __iomem *base = pcie->base; + u16 nlw, cls, lnksta; + bool ssc_good = false; ++ u32 tmp; + int ret, i; + + /* Unassert the fundamental reset */ +@@ -1300,8 +1214,6 @@ static int brcm_pcie_start_link(struct b + return -ENODEV; + } + +- brcm_config_clkreq(pcie); +- + if (pcie->gen) + brcm_pcie_set_gen(pcie, pcie->gen); + +@@ -1320,6 +1232,14 @@ static int brcm_pcie_start_link(struct b + pci_speed_string(pcie_link_speed[cls]), nlw, + ssc_good ? "(SSC)" : "(!SSC)"); + ++ /* ++ * Refclk from RC should be gated with CLKREQ# input when ASPM L0s,L1 ++ * is enabled => setting the CLKREQ_DEBUG_ENABLE field to 1. ++ */ ++ tmp = readl(base + PCIE_MISC_HARD_PCIE_HARD_DEBUG); ++ tmp |= PCIE_MISC_HARD_PCIE_HARD_DEBUG_CLKREQ_DEBUG_ENABLE_MASK; ++ writel(tmp, base + PCIE_MISC_HARD_PCIE_HARD_DEBUG); ++ + return 0; + } + diff --git a/target/linux/bcm27xx/patches-6.12/950-0008-Revert-ARM-dts-bcm2711-Add-BCM2711-xHCI-support.patch b/target/linux/bcm27xx/patches-6.12/950-0008-Revert-ARM-dts-bcm2711-Add-BCM2711-xHCI-support.patch new file mode 100644 index 0000000000..7173d912c4 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0008-Revert-ARM-dts-bcm2711-Add-BCM2711-xHCI-support.patch @@ -0,0 +1,52 @@ +From fee8daf3147a30ddbfe2ac759ee5b7481bace2ca Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Wed, 31 Jan 2024 19:47:39 +0000 +Subject: [PATCH 008/697] Revert "ARM: dts: bcm2711: Add BCM2711 xHCI support" + +This reverts commit 522c35e08b53f157ad3e51848caa861b258001e4. +--- + arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi | 5 ----- + arch/arm/boot/dts/broadcom/bcm2711.dtsi | 14 -------------- + 2 files changed, 19 deletions(-) + +--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi +@@ -1,7 +1,6 @@ + // SPDX-License-Identifier: GPL-2.0 + #include "bcm2835-rpi.dtsi" + +-#include + #include + + / { +@@ -101,7 +100,3 @@ + &vchiq { + interrupts = ; + }; +- +-&xhci { +- power-domains = <&power RPI_POWER_DOMAIN_USB>; +-}; +--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi ++++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi +@@ -604,20 +604,6 @@ + }; + }; + +- xhci: usb@7e9c0000 { +- compatible = "brcm,bcm2711-xhci", "brcm,xhci-brcm-v2"; +- reg = <0x0 0x7e9c0000 0x100000>; +- #address-cells = <1>; +- #size-cells = <0>; +- interrupts = ; +- /* DWC2 and this IP block share the same USB PHY, +- * enabling both at the same time results in lockups. +- * So keep this node disabled and let the bootloader +- * decide which interface should be enabled. +- */ +- status = "disabled"; +- }; +- + v3d: gpu@7ec00000 { + compatible = "brcm,2711-v3d"; + reg = <0x0 0x7ec00000 0x4000>, diff --git a/target/linux/bcm27xx/patches-6.12/950-0009-Revert-usb-phy-generic-Get-the-vbus-supply.patch b/target/linux/bcm27xx/patches-6.12/950-0009-Revert-usb-phy-generic-Get-the-vbus-supply.patch new file mode 100644 index 0000000000..50c9e12c96 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0009-Revert-usb-phy-generic-Get-the-vbus-supply.patch @@ -0,0 +1,26 @@ +From 3063c20ced293f1f214fa77b71adac0ce3385d81 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 28 Mar 2024 16:16:37 +0000 +Subject: [PATCH 009/697] Revert "usb: phy: generic: Get the vbus supply" + +This reverts commit 03e607cbb2931374db1825f371e9c7f28526d3f4. +--- + drivers/usb/phy/phy-generic.c | 7 ------- + 1 file changed, 7 deletions(-) + +--- a/drivers/usb/phy/phy-generic.c ++++ b/drivers/usb/phy/phy-generic.c +@@ -256,13 +256,6 @@ int usb_phy_gen_create_phy(struct device + return dev_err_probe(dev, PTR_ERR(nop->vcc), + "could not get vcc regulator\n"); + +- nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus"); +- if (PTR_ERR(nop->vbus_draw) == -ENODEV) +- nop->vbus_draw = NULL; +- if (IS_ERR(nop->vbus_draw)) +- return dev_err_probe(dev, PTR_ERR(nop->vbus_draw), +- "could not get vbus regulator\n"); +- + nop->dev = dev; + nop->phy.dev = nop->dev; + nop->phy.label = "nop-xceiv"; diff --git a/target/linux/bcm27xx/patches-6.12/950-0010-raspberrypi-firmware-Update-mailbox-commands.patch b/target/linux/bcm27xx/patches-6.12/950-0010-raspberrypi-firmware-Update-mailbox-commands.patch new file mode 100644 index 0000000000..f1a546f9dc --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0010-raspberrypi-firmware-Update-mailbox-commands.patch @@ -0,0 +1,102 @@ +From c1d90b3d7f207b203d8f8b32e02dbd1d7636cb6a Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Thu, 7 Apr 2022 18:23:07 +0100 +Subject: [PATCH 010/697] raspberrypi-firmware: Update mailbox commands + +Signed-off-by: Dom Cobley +--- + include/soc/bcm2835/raspberrypi-firmware.h | 28 +++++++++++++++++++++- + 1 file changed, 27 insertions(+), 1 deletion(-) + +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -36,6 +36,8 @@ struct rpi_firmware_property_tag_header + enum rpi_firmware_property_tag { + RPI_FIRMWARE_PROPERTY_END = 0, + RPI_FIRMWARE_GET_FIRMWARE_REVISION = 0x00000001, ++ RPI_FIRMWARE_GET_FIRMWARE_VARIANT = 0x00000002, ++ RPI_FIRMWARE_GET_FIRMWARE_HASH = 0x00000003, + + RPI_FIRMWARE_SET_CURSOR_INFO = 0x00008010, + RPI_FIRMWARE_SET_CURSOR_STATE = 0x00008011, +@@ -71,6 +73,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_GET_DISPMANX_RESOURCE_MEM_HANDLE = 0x00030014, + RPI_FIRMWARE_GET_EDID_BLOCK = 0x00030020, + RPI_FIRMWARE_GET_CUSTOMER_OTP = 0x00030021, ++ RPI_FIRMWARE_GET_EDID_BLOCK_DISPLAY = 0x00030023, + RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030, + RPI_FIRMWARE_GET_THROTTLED = 0x00030046, + RPI_FIRMWARE_GET_CLOCK_MEASURED = 0x00030047, +@@ -89,8 +92,11 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_GET_PERIPH_REG = 0x00030045, + RPI_FIRMWARE_SET_PERIPH_REG = 0x00038045, + RPI_FIRMWARE_GET_POE_HAT_VAL = 0x00030049, +- RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00030050, ++ RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00038049, ++ RPI_FIRMWARE_SET_POE_HAT_VAL_OLD = 0x00030050, + RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058, ++ RPI_FIRMWARE_GET_REBOOT_FLAGS = 0x00030064, ++ RPI_FIRMWARE_SET_REBOOT_FLAGS = 0x00038064, + RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066, + + /* Dispmanx TAGS */ +@@ -105,9 +111,16 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_GET_VIRTUAL_OFFSET = 0x00040009, + RPI_FIRMWARE_FRAMEBUFFER_GET_OVERSCAN = 0x0004000a, + RPI_FIRMWARE_FRAMEBUFFER_GET_PALETTE = 0x0004000b, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_LAYER = 0x0004000c, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_TRANSFORM = 0x0004000d, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_VSYNC = 0x0004000e, + RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF = 0x0004000f, + RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF = 0x00040010, + RPI_FIRMWARE_FRAMEBUFFER_RELEASE = 0x00048001, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_ID = 0x00040016, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_DISPLAY_NUM = 0x00048013, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_NUM_DISPLAYS = 0x00040013, ++ RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_SETTINGS = 0x00040014, + RPI_FIRMWARE_FRAMEBUFFER_TEST_PHYSICAL_WIDTH_HEIGHT = 0x00044003, + RPI_FIRMWARE_FRAMEBUFFER_TEST_VIRTUAL_WIDTH_HEIGHT = 0x00044004, + RPI_FIRMWARE_FRAMEBUFFER_TEST_DEPTH = 0x00044005, +@@ -116,22 +129,33 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_TEST_VIRTUAL_OFFSET = 0x00044009, + RPI_FIRMWARE_FRAMEBUFFER_TEST_OVERSCAN = 0x0004400a, + RPI_FIRMWARE_FRAMEBUFFER_TEST_PALETTE = 0x0004400b, ++ RPI_FIRMWARE_FRAMEBUFFER_TEST_LAYER = 0x0004400c, ++ RPI_FIRMWARE_FRAMEBUFFER_TEST_TRANSFORM = 0x0004400d, + RPI_FIRMWARE_FRAMEBUFFER_TEST_VSYNC = 0x0004400e, + RPI_FIRMWARE_FRAMEBUFFER_SET_PHYSICAL_WIDTH_HEIGHT = 0x00048003, + RPI_FIRMWARE_FRAMEBUFFER_SET_VIRTUAL_WIDTH_HEIGHT = 0x00048004, + RPI_FIRMWARE_FRAMEBUFFER_SET_DEPTH = 0x00048005, + RPI_FIRMWARE_FRAMEBUFFER_SET_PIXEL_ORDER = 0x00048006, + RPI_FIRMWARE_FRAMEBUFFER_SET_ALPHA_MODE = 0x00048007, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_PITCH = 0x00048008, + RPI_FIRMWARE_FRAMEBUFFER_SET_VIRTUAL_OFFSET = 0x00048009, + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, ++ + RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF = 0x0004801f, + RPI_FIRMWARE_FRAMEBUFFER_SET_GPIOVIRTBUF = 0x00048020, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_LAYER = 0x0004800c, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_TRANSFORM = 0x0004800d, + RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, + ++ RPI_FIRMWARE_SET_PLANE = 0x00048015, ++ RPI_FIRMWARE_GET_DISPLAY_TIMING = 0x00040017, ++ RPI_FIRMWARE_SET_TIMING = 0x00048017, ++ RPI_FIRMWARE_GET_DISPLAY_CFG = 0x00040018, ++ RPI_FIRMWARE_SET_DISPLAY_POWER = 0x00048019, + RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, + RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, + }; +@@ -155,6 +179,8 @@ enum rpi_firmware_clk_id { + RPI_FIRMWARE_NUM_CLK_ID, + }; + ++#define GET_DISPLAY_SETTINGS_PAYLOAD_SIZE 64 ++ + /** + * struct rpi_firmware_clk_rate_request - Firmware Request for a rate + * @id: ID of the clock being queried diff --git a/target/linux/bcm27xx/patches-6.12/950-0011-drm-atomic-Don-t-fixup-modes-that-haven-t-been-reset.patch b/target/linux/bcm27xx/patches-6.12/950-0011-drm-atomic-Don-t-fixup-modes-that-haven-t-been-reset.patch new file mode 100644 index 0000000000..5a0f1b3ade --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0011-drm-atomic-Don-t-fixup-modes-that-haven-t-been-reset.patch @@ -0,0 +1,24 @@ +From fce77d9309edd4d813e45ea2868a6a3307787193 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Thu, 7 Jan 2021 16:30:55 +0000 +Subject: [PATCH 011/697] drm/atomic: Don't fixup modes that haven't been reset + +Signed-off-by: Dave Stevenson +--- + drivers/gpu/drm/drm_atomic_helper.c | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/drivers/gpu/drm/drm_atomic_helper.c ++++ b/drivers/gpu/drm/drm_atomic_helper.c +@@ -444,6 +444,11 @@ mode_fixup(struct drm_atomic_state *stat + new_crtc_state = + drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); + ++ if (!new_crtc_state->mode_changed && ++ !new_crtc_state->connectors_changed) { ++ continue; ++ } ++ + /* + * Each encoder has at most one connector (since we always steal + * it away), so we won't call ->mode_fixup twice. diff --git a/target/linux/bcm27xx/patches-6.12/950-0012-drm-Check-whether-the-gamma-lut-has-changed-before-u.patch b/target/linux/bcm27xx/patches-6.12/950-0012-drm-Check-whether-the-gamma-lut-has-changed-before-u.patch new file mode 100644 index 0000000000..808149b562 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0012-drm-Check-whether-the-gamma-lut-has-changed-before-u.patch @@ -0,0 +1,30 @@ +From 6030529dd021bc882eb9ade9eec009c77c40316e Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Tue, 2 Nov 2021 16:01:36 +0000 +Subject: [PATCH 012/697] drm: Check whether the gamma lut has changed before + updating + +drm_crtc_legacy_gamma_set updates the gamma_lut blob unconditionally, +which leads to unnecessary reprogramming of hardware. + +Check whether the blob contents has actually changed before +signalling that it has been updated. + +Signed-off-by: Dave Stevenson +--- + drivers/gpu/drm/drm_color_mgmt.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +--- a/drivers/gpu/drm/drm_color_mgmt.c ++++ b/drivers/gpu/drm/drm_color_mgmt.c +@@ -330,7 +330,9 @@ static int drm_crtc_legacy_gamma_set(str + replaced = drm_property_replace_blob(&crtc_state->degamma_lut, + use_gamma_lut ? NULL : blob); + replaced |= drm_property_replace_blob(&crtc_state->ctm, NULL); +- replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, ++ if (!crtc_state->gamma_lut || !crtc_state->gamma_lut->data || ++ memcmp(crtc_state->gamma_lut->data, blob_data, blob->length)) ++ replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, + use_gamma_lut ? blob : NULL); + crtc_state->color_mgmt_changed |= replaced; + diff --git a/target/linux/bcm27xx/patches-6.12/950-0013-drm-dsi-Document-the-meaning-and-spec-references-for.patch b/target/linux/bcm27xx/patches-6.12/950-0013-drm-dsi-Document-the-meaning-and-spec-references-for.patch new file mode 100644 index 0000000000..75f912e7d5 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0013-drm-dsi-Document-the-meaning-and-spec-references-for.patch @@ -0,0 +1,76 @@ +From 4d523d624f8ac39c56c431d411750c11492d5dbe Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 17 Dec 2021 13:36:52 +0000 +Subject: [PATCH 013/697] drm/dsi: Document the meaning and spec references for + MIPI_DSI_MODE_* + +The MIPI_DSI_MODE_* flags have fairly terse descriptions and no reference +to the DSI specification as to their exact meaning. Usage has therefore +been rather fluid. + +Extend the descriptions and provide references to the part of the +MIPI DSI specification regarding what they mean. + +Signed-off-by: Dave Stevenson +--- + include/drm/drm_mipi_dsi.h | 38 ++++++++++++++++++++++++++------------ + 1 file changed, 26 insertions(+), 12 deletions(-) + +--- a/include/drm/drm_mipi_dsi.h ++++ b/include/drm/drm_mipi_dsi.h +@@ -114,29 +114,43 @@ struct mipi_dsi_host *of_find_mipi_dsi_h + + /* DSI mode flags */ + +-/* video mode */ ++/* Video mode display. ++ * Not set denotes a command mode display. ++ */ + #define MIPI_DSI_MODE_VIDEO BIT(0) +-/* video burst mode */ ++/* Video burst mode. ++ * Link frequency to be configured via platform configuration. ++ * This should always be set in conjunction with MIPI_DSI_MODE_VIDEO. ++ * (DSI spec V1.1 8.11.4) ++ */ + #define MIPI_DSI_MODE_VIDEO_BURST BIT(1) +-/* video pulse mode */ ++/* Video pulse mode. ++ * Not set denotes sync event mode. (DSI spec V1.1 8.11.2) ++ */ + #define MIPI_DSI_MODE_VIDEO_SYNC_PULSE BIT(2) +-/* enable auto vertical count mode */ ++/* Enable auto vertical count mode */ + #define MIPI_DSI_MODE_VIDEO_AUTO_VERT BIT(3) +-/* enable hsync-end packets in vsync-pulse and v-porch area */ ++/* Enable hsync-end packets in vsync-pulse and v-porch area */ + #define MIPI_DSI_MODE_VIDEO_HSE BIT(4) +-/* disable hfront-porch area */ ++/* Transmit NULL packets or LP mode during hfront-porch area. ++ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1) ++ */ + #define MIPI_DSI_MODE_VIDEO_NO_HFP BIT(5) +-/* disable hback-porch area */ ++/* Transmit NULL packets or LP mode during hback-porch area. ++ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1) ++ */ + #define MIPI_DSI_MODE_VIDEO_NO_HBP BIT(6) +-/* disable hsync-active area */ ++/* Transmit NULL packets or LP mode during hsync-active area. ++ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1) ++ */ + #define MIPI_DSI_MODE_VIDEO_NO_HSA BIT(7) +-/* flush display FIFO on vsync pulse */ ++/* Flush display FIFO on vsync pulse */ + #define MIPI_DSI_MODE_VSYNC_FLUSH BIT(8) +-/* disable EoT packets in HS mode */ ++/* Disable EoT packets in HS mode. (DSI spec V1.1 8.1) */ + #define MIPI_DSI_MODE_NO_EOT_PACKET BIT(9) +-/* device supports non-continuous clock behavior (DSI spec 5.6.1) */ ++/* Device supports non-continuous clock behavior (DSI spec V1.1 5.6.1) */ + #define MIPI_DSI_CLOCK_NON_CONTINUOUS BIT(10) +-/* transmit data in low power */ ++/* Transmit data in low power */ + #define MIPI_DSI_MODE_LPM BIT(11) + /* transmit data ending at the same time for all lanes within one hsync */ + #define MIPI_DSI_HS_PKT_END_ALIGNED BIT(12) diff --git a/target/linux/bcm27xx/patches-6.12/950-0014-drm-bridge-tc358762-Ignore-EPROBE_DEFER-when-logging.patch b/target/linux/bcm27xx/patches-6.12/950-0014-drm-bridge-tc358762-Ignore-EPROBE_DEFER-when-logging.patch new file mode 100644 index 0000000000..b96ffd5983 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0014-drm-bridge-tc358762-Ignore-EPROBE_DEFER-when-logging.patch @@ -0,0 +1,25 @@ +From 5be301d72c1923bf6fbcf43f6dea728f50702cee Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Thu, 20 Jan 2022 17:29:36 +0000 +Subject: [PATCH 014/697] drm/bridge: tc358762: Ignore EPROBE_DEFER when + logging errors + +mipi_dsi_attach can fail due to resources not being available +yet, therefore do not log error messages should they occur. + +Signed-off-by: Dave Stevenson +--- + drivers/gpu/drm/bridge/tc358762.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/gpu/drm/bridge/tc358762.c ++++ b/drivers/gpu/drm/bridge/tc358762.c +@@ -294,7 +294,7 @@ static int tc358762_probe(struct mipi_ds + ret = mipi_dsi_attach(dsi); + if (ret < 0) { + drm_bridge_remove(&ctx->bridge); +- dev_err(dev, "failed to attach dsi\n"); ++ dev_err_probe(dev, ret, "failed to attach dsi\n"); + } + + return ret; diff --git a/target/linux/bcm27xx/patches-6.12/950-0015-drm-Add-chroma-siting-properties.patch b/target/linux/bcm27xx/patches-6.12/950-0015-drm-Add-chroma-siting-properties.patch new file mode 100644 index 0000000000..6f3fa85893 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0015-drm-Add-chroma-siting-properties.patch @@ -0,0 +1,170 @@ +From d234bb9caf5309340b7afdb7e8bf6f8ae346eab8 Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Wed, 26 Jan 2022 15:58:13 +0000 +Subject: [PATCH 015/697] drm: Add chroma siting properties + +Signed-off-by: Dom Cobley +--- + drivers/gpu/drm/drm_atomic_state_helper.c | 14 +++++++++ + drivers/gpu/drm/drm_atomic_uapi.c | 8 +++++ + drivers/gpu/drm/drm_color_mgmt.c | 36 +++++++++++++++++++++++ + include/drm/drm_color_mgmt.h | 3 ++ + include/drm/drm_plane.h | 35 ++++++++++++++++++++-- + 5 files changed, 94 insertions(+), 2 deletions(-) + +--- a/drivers/gpu/drm/drm_atomic_state_helper.c ++++ b/drivers/gpu/drm/drm_atomic_state_helper.c +@@ -267,6 +267,20 @@ void __drm_atomic_helper_plane_state_res + plane_state->color_range = val; + } + ++ if (plane->chroma_siting_h_property) { ++ if (!drm_object_property_get_default_value(&plane->base, ++ plane->chroma_siting_h_property, ++ &val)) ++ plane_state->chroma_siting_h = val; ++ } ++ ++ if (plane->chroma_siting_v_property) { ++ if (!drm_object_property_get_default_value(&plane->base, ++ plane->chroma_siting_v_property, ++ &val)) ++ plane_state->chroma_siting_v = val; ++ } ++ + if (plane->zpos_property) { + if (!drm_object_property_get_default_value(&plane->base, + plane->zpos_property, +--- a/drivers/gpu/drm/drm_atomic_uapi.c ++++ b/drivers/gpu/drm/drm_atomic_uapi.c +@@ -538,6 +538,10 @@ static int drm_atomic_plane_set_property + state->color_encoding = val; + } else if (property == plane->color_range_property) { + state->color_range = val; ++ } else if (property == plane->chroma_siting_h_property) { ++ state->chroma_siting_h = val; ++ } else if (property == plane->chroma_siting_v_property) { ++ state->chroma_siting_v = val; + } else if (property == config->prop_fb_damage_clips) { + ret = drm_property_replace_blob_from_id(dev, + &state->fb_damage_clips, +@@ -620,6 +624,10 @@ drm_atomic_plane_get_property(struct drm + *val = state->color_encoding; + } else if (property == plane->color_range_property) { + *val = state->color_range; ++ } else if (property == plane->chroma_siting_h_property) { ++ *val = state->chroma_siting_h; ++ } else if (property == plane->chroma_siting_v_property) { ++ *val = state->chroma_siting_v; + } else if (property == config->prop_fb_damage_clips) { + *val = (state->fb_damage_clips) ? + state->fb_damage_clips->base.id : 0; +--- a/drivers/gpu/drm/drm_color_mgmt.c ++++ b/drivers/gpu/drm/drm_color_mgmt.c +@@ -591,6 +591,42 @@ int drm_plane_create_color_properties(st + EXPORT_SYMBOL(drm_plane_create_color_properties); + + /** ++ * drm_plane_create_chroma_siting_properties - chroma siting related plane properties ++ * @plane: plane object ++ * ++ * Create and attach plane specific CHROMA_SITING ++ * properties to @plane. ++ */ ++int drm_plane_create_chroma_siting_properties(struct drm_plane *plane, ++ int32_t default_chroma_siting_h, ++ int32_t default_chroma_siting_v) ++{ ++ struct drm_device *dev = plane->dev; ++ struct drm_property *prop; ++ ++ prop = drm_property_create_range(dev, 0, "CHROMA_SITING_H", ++ 0, 1<<16); ++ if (!prop) ++ return -ENOMEM; ++ plane->chroma_siting_h_property = prop; ++ drm_object_attach_property(&plane->base, prop, default_chroma_siting_h); ++ ++ prop = drm_property_create_range(dev, 0, "CHROMA_SITING_V", ++ 0, 1<<16); ++ if (!prop) ++ return -ENOMEM; ++ plane->chroma_siting_v_property = prop; ++ drm_object_attach_property(&plane->base, prop, default_chroma_siting_v); ++ ++ if (plane->state) { ++ plane->state->chroma_siting_h = default_chroma_siting_h; ++ plane->state->chroma_siting_v = default_chroma_siting_v; ++ } ++ return 0; ++} ++EXPORT_SYMBOL(drm_plane_create_chroma_siting_properties); ++ ++/** + * drm_color_lut_check - check validity of lookup table + * @lut: property blob containing LUT to check + * @tests: bitmask of tests to run +--- a/include/drm/drm_color_mgmt.h ++++ b/include/drm/drm_color_mgmt.h +@@ -91,6 +91,9 @@ int drm_plane_create_color_properties(st + enum drm_color_encoding default_encoding, + enum drm_color_range default_range); + ++int drm_plane_create_chroma_siting_properties(struct drm_plane *plane, ++ int32_t default_chroma_siting_h, int32_t default_chroma_siting_v); ++ + /** + * enum drm_color_lut_tests - hw-specific LUT tests to perform + * +--- a/include/drm/drm_plane.h ++++ b/include/drm/drm_plane.h +@@ -184,6 +184,24 @@ struct drm_plane_state { + enum drm_color_range color_range; + + /** ++ * @chroma_siting_h: ++ * ++ * Location of chroma samples horizontally compared to luma ++ * 0 means chroma is sited with left luma ++ * 0x8000 is interstitial. 0x10000 is sited with right luma ++ */ ++ int32_t chroma_siting_h; ++ ++ /** ++ * @chroma_siting_v: ++ * ++ * Location of chroma samples vertically compared to luma ++ * 0 means chroma is sited with top luma ++ * 0x8000 is interstitial. 0x10000 is sited with bottom luma ++ */ ++ int32_t chroma_siting_v; ++ ++ /** + * @fb_damage_clips: + * + * Blob representing damage (area in plane framebuffer that changed +@@ -783,9 +801,22 @@ struct drm_plane { + struct drm_property *hotspot_y_property; + + /** +- * @kmsg_panic: Used to register a panic notifier for this plane ++ * @chroma_siting_h_property: ++ * ++ * Optional "CHROMA_SITING_H" property for specifying ++ * chroma siting for YUV formats. ++ * See drm_plane_create_chroma_siting_properties(). ++ */ ++ struct drm_property *chroma_siting_h_property; ++ ++ /** ++ * @chroma_siting_v_property: ++ * ++ * Optional "CHROMA_SITING_V" property for specifying ++ * chroma siting for YUV formats. ++ * See drm_plane_create_chroma_siting_properties(). + */ +- struct kmsg_dumper kmsg_panic; ++ struct drm_property *chroma_siting_v_property; + }; + + #define obj_to_plane(x) container_of(x, struct drm_plane, base) diff --git a/target/linux/bcm27xx/patches-6.12/950-0016-drm-atomic-helpers-remove-legacy_cursor_update-hacks.patch b/target/linux/bcm27xx/patches-6.12/950-0016-drm-atomic-helpers-remove-legacy_cursor_update-hacks.patch new file mode 100644 index 0000000000..f0814c06d3 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0016-drm-atomic-helpers-remove-legacy_cursor_update-hacks.patch @@ -0,0 +1,121 @@ +From fa34363447ef39ae5b02c350ae2650cd4c1308f6 Mon Sep 17 00:00:00 2001 +From: Daniel Vetter +Date: Fri, 23 Oct 2020 14:39:23 +0200 +Subject: [PATCH 016/697] drm/atomic-helpers: remove legacy_cursor_update hacks +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The stuff never really worked, and leads to lots of fun because it +out-of-order frees atomic states. Which upsets KASAN, among other +things. + +For async updates we now have a more solid solution with the +->atomic_async_check and ->atomic_async_commit hooks. Support for that +for msm and vc4 landed. nouveau and i915 have their own commit +routines, doing something similar. + +For everyone else it's probably better to remove the use-after-free +bug, and encourage folks to use the async support instead. The +affected drivers which register a legacy cursor plane and don't either +use the new async stuff or their own commit routine are: amdgpu, +atmel, mediatek, qxl, rockchip, sti, sun4i, tegra, virtio, and vmwgfx. + +Inspired by an amdgpu bug report. + +v2: Drop RFC, I think with amdgpu converted over to use +atomic_async_check/commit done in + +commit 674e78acae0dfb4beb56132e41cbae5b60f7d662 +Author: Nicholas Kazlauskas +Date: Wed Dec 5 14:59:07 2018 -0500 + + drm/amd/display: Add fast path for cursor plane updates + +we don't have any driver anymore where we have userspace expecting +solid legacy cursor support _and_ they are using the atomic helpers in +their fully glory. So we can retire this. + +v3: Paper over msm and i915 regression. The complete_all is the only +thing missing afaict. + +v4: Rebased on recent kernel, added extra link for vc4 bug. + +Link: https://bugzilla.kernel.org/show_bug.cgi?id=199425 +Link: https://lore.kernel.org/all/20220221134155.125447-9-maxime@cerno.tech/ +Cc: mikita.lipski@amd.com +Cc: Michel Dänzer +Cc: harry.wentland@amd.com +Cc: Rob Clark +Cc: "Kazlauskas, Nicholas" +Tested-by: Maxime Ripard +Signed-off-by: Daniel Vetter +Signed-off-by: Maxime Ripard +--- + drivers/gpu/drm/drm_atomic_helper.c | 13 ------------- + drivers/gpu/drm/i915/display/intel_display.c | 13 +++++++++++++ + drivers/gpu/drm/msm/msm_atomic.c | 2 ++ + 3 files changed, 15 insertions(+), 13 deletions(-) + +--- a/drivers/gpu/drm/drm_atomic_helper.c ++++ b/drivers/gpu/drm/drm_atomic_helper.c +@@ -1656,13 +1656,6 @@ drm_atomic_helper_wait_for_vblanks(struc + int i, ret; + unsigned int crtc_mask = 0; + +- /* +- * Legacy cursor ioctls are completely unsynced, and userspace +- * relies on that (by doing tons of cursor updates). +- */ +- if (old_state->legacy_cursor_update) +- return; +- + for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { + if (!new_crtc_state->active) + continue; +@@ -2311,12 +2304,6 @@ int drm_atomic_helper_setup_commit(struc + complete_all(&commit->flip_done); + continue; + } +- +- /* Legacy cursor updates are fully unsynced. */ +- if (state->legacy_cursor_update) { +- complete_all(&commit->flip_done); +- continue; +- } + + if (!new_crtc_state->event) { + commit->event = kzalloc(sizeof(*commit->event), +--- a/drivers/gpu/drm/i915/display/intel_display.c ++++ b/drivers/gpu/drm/i915/display/intel_display.c +@@ -7648,6 +7648,19 @@ int intel_atomic_commit(struct drm_devic + state->base.legacy_cursor_update = false; + } + ++ /* ++ * FIXME: Cut over to (async) commit helpers instead of hand-rolling ++ * everything. ++ */ ++ if (state->base.legacy_cursor_update) { ++ struct intel_crtc_state *new_crtc_state; ++ struct intel_crtc *crtc; ++ int i; ++ ++ for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) ++ complete_all(&new_crtc_state->uapi.commit->flip_done); ++ } ++ + ret = intel_atomic_prepare_commit(state); + if (ret) { + drm_dbg_atomic(&dev_priv->drm, +--- a/drivers/gpu/drm/msm/msm_atomic.c ++++ b/drivers/gpu/drm/msm/msm_atomic.c +@@ -242,6 +242,8 @@ void msm_atomic_commit_tail(struct drm_a + /* async updates are limited to single-crtc updates: */ + WARN_ON(crtc_mask != drm_crtc_mask(async_crtc)); + ++ complete_all(&async_crtc->state->commit->flip_done); ++ + /* + * Start timer if we don't already have an update pending + * on this crtc: diff --git a/target/linux/bcm27xx/patches-6.12/950-0017-drm-atomic-If-margins-are-updated-update-all-planes.patch b/target/linux/bcm27xx/patches-6.12/950-0017-drm-atomic-If-margins-are-updated-update-all-planes.patch new file mode 100644 index 0000000000..ee13018127 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0017-drm-atomic-If-margins-are-updated-update-all-planes.patch @@ -0,0 +1,60 @@ +From 5350800c62c07a2f1e90332039a09d3be55b960b Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 1 Apr 2022 17:10:37 +0100 +Subject: [PATCH 017/697] drm/atomic: If margins are updated, update all + planes. + +Margins may be implemented by scaling the planes, but as there +is no way of intercepting the set_property for a standard property, +and all planes are checked in drm_atomic_check_only before the +connectors, there's now way to add the planes into the state +from the driver. + +If the margin properties change, add all corresponding planes to +the state. + +Signed-off-by: Dave Stevenson +--- + drivers/gpu/drm/drm_atomic_uapi.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +--- a/drivers/gpu/drm/drm_atomic_uapi.c ++++ b/drivers/gpu/drm/drm_atomic_uapi.c +@@ -679,6 +679,7 @@ static int drm_atomic_connector_set_prop + { + struct drm_device *dev = connector->dev; + struct drm_mode_config *config = &dev->mode_config; ++ bool margins_updated = false; + bool replaced = false; + int ret; + +@@ -707,12 +708,16 @@ static int drm_atomic_connector_set_prop + state->tv.subconnector = val; + } else if (property == config->tv_left_margin_property) { + state->tv.margins.left = val; ++ margins_updated = true; + } else if (property == config->tv_right_margin_property) { + state->tv.margins.right = val; ++ margins_updated = true; + } else if (property == config->tv_top_margin_property) { + state->tv.margins.top = val; ++ margins_updated = true; + } else if (property == config->tv_bottom_margin_property) { + state->tv.margins.bottom = val; ++ margins_updated = true; + } else if (property == config->legacy_tv_mode_property) { + state->tv.legacy_mode = val; + } else if (property == config->tv_mode_property) { +@@ -797,6 +802,12 @@ static int drm_atomic_connector_set_prop + return -EINVAL; + } + ++ if (margins_updated && state->crtc) { ++ ret = drm_atomic_add_affected_planes(state->state, state->crtc); ++ ++ return ret; ++ } ++ + return 0; + } + diff --git a/target/linux/bcm27xx/patches-6.12/950-0018-arm64-setup-Fix-build-warning.patch b/target/linux/bcm27xx/patches-6.12/950-0018-arm64-setup-Fix-build-warning.patch new file mode 100644 index 0000000000..bafeb76750 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0018-arm64-setup-Fix-build-warning.patch @@ -0,0 +1,24 @@ +From 4cdcf8e2c3eb6acfce367b06f0e3a82529ad8a20 Mon Sep 17 00:00:00 2001 +From: Maxime Ripard +Date: Mon, 6 Jun 2022 11:02:16 +0200 +Subject: [PATCH 018/697] arm64: setup: Fix build warning + +Signed-off-by: Maxime Ripard +--- + arch/arm64/kernel/setup.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/arch/arm64/kernel/setup.c ++++ b/arch/arm64/kernel/setup.c +@@ -214,9 +214,9 @@ static void __init request_standard_reso + size_t res_size; + + kernel_code.start = __pa_symbol(_stext); +- kernel_code.end = __pa_symbol(__init_begin - 1); ++ kernel_code.end = __pa_symbol(__init_begin) - 1; + kernel_data.start = __pa_symbol(_sdata); +- kernel_data.end = __pa_symbol(_end - 1); ++ kernel_data.end = __pa_symbol(_end) - 1; + insert_resource(&iomem_resource, &kernel_code); + insert_resource(&iomem_resource, &kernel_data); + diff --git a/target/linux/bcm27xx/patches-6.12/950-0019-BCM2708-Add-core-Device-Tree-support.patch b/target/linux/bcm27xx/patches-6.12/950-0019-BCM2708-Add-core-Device-Tree-support.patch new file mode 100644 index 0000000000..d9774125f2 --- /dev/null +++ b/target/linux/bcm27xx/patches-6.12/950-0019-BCM2708-Add-core-Device-Tree-support.patch @@ -0,0 +1,48839 @@ +From 5f6c0206488177a698f006686b693eec62f8fe42 Mon Sep 17 00:00:00 2001 +From: Dom Cobley +Date: Mon, 30 Sep 2024 16:40:14 +0100 +Subject: [PATCH 019/697] BCM2708: Add core Device Tree support +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Add the bare minimum needed to boot BCM2708 from a Device Tree. + +Signed-off-by: Noralf Tronnes + +BCM2708: DT: change 'axi' nodename to 'soc' + +Change DT node named 'axi' to 'soc' so it matches ARCH_BCM2835. +The VC4 bootloader fills in certain properties in the 'axi' subtree, +but since this is part of an upstreaming effort, the name is changed. + +Signed-off-by: Noralf Tronnes notro@tronnes.org + +BCM2708_DT: Correct length of the peripheral space + +Use dts-dirs feature for overlays. + +The kernel makefiles have a dts-dirs target that is for vendor subdirectories. + +Using this fixes the install_dtbs target, which previously did not install the overlays. + +BCM270X_DT: configure I2S DMA channels + +Signed-off-by: Matthias Reichl + +BCM270X_DT: switch to bcm2835-i2s + +I2S soundcard drivers with proper devicetree support (i.e. not linking +to the cpu_dai/platform via name but to cpu/platform via of_node) +will work out of the box without any modifications. + +When the kernel is compiled without devicetree support the platform +code will instantiate the bcm2708-i2s driver and I2S soundcard drivers +will link to it via name, as before. + +Signed-off-by: Matthias Reichl + +SDIO-overlay: add poll_once-boolean parameter + +Add paramter to toggle sdio-device-polling +done every second or once at boot-time. + +Signed-off-by: Patrick Boettcher + +BCM270X_DT: Make mmc overlay compatible with current firmware + +The original DT overlay logic followed a merge-then-patch procedure, +i.e. parameters are applied to the loaded overlay before the overlay +is merged into the base DTB. This sequence has been changed to +patch-then-merge, in order to support parameterised node names, and +to protect against bad overlays. As a result, overrides (parameters) +must only target labels in the overlay, but the overlay can obviously target nodes in the base DTB. + +mmc-overlay.dts (that switches back to the original mmc sdcard +driver) is the only overlay violating that rule, and this patch +fixes it. + +bcm270x_dt: Use the sdhost MMC controller by default + +The "mmc" overlay reverts to using the other controller. + +squash: Add cprman to dt + +BCM270X_DT: Use clk_core for I2C interfaces + +BCM270X_DT: Use bcm283x.dtsi, bcm2835.dtsi and bcm2836.dtsi + +The mainline Device Tree files are quite close to downstream now. +Let's use bcm283x.dtsi, bcm2835.dtsi and bcm2836.dtsi as base files +for our dts files. + +Mainline dts files are based on these files: + + bcm2835-rpi.dtsi + bcm2835.dtsi bcm2836.dtsi + bcm283x.dtsi + +Current downstream are based on these: + + bcm2708.dtsi bcm2709.dtsi bcm2710.dtsi + bcm2708_common.dtsi + +This patch introduces this dependency: + + bcm2708.dtsi bcm2709.dtsi + bcm2708-rpi.dtsi + bcm270x.dtsi + bcm2835.dtsi bcm2836.dtsi + bcm283x.dtsi + +And: + bcm2710.dtsi + bcm2708-rpi.dtsi + bcm270x.dtsi + bcm283x.dtsi + +bcm270x.dtsi contains the downstream bcm283x.dtsi diff. +bcm2708-rpi.dtsi is the downstream version of bcm2835-rpi.dtsi. + +Other changes: +- The led node has moved from /soc/leds to /leds. This is not a problem + since the label is used to reference it. +- The clk_osc reg property changes from 6 to 3. +- The gpu nodes has their interrupt property set in the base file. +- the clocks label does not point to the /clocks node anymore, but + points to the cprman node. This is not a problem since the overlays + that use the clock node refer to it directly: target-path = "/clocks"; +- some nodes now have 2 labels since mainline and downstream differs in + this respect: cprman/clocks, spi0/spi, gpu/vc4. +- some nodes doesn't have an explicit status = "okay" since they're not + disabled in the base file: watchdog and random. +- gpiomem doesn't need an explicit status = "okay". +- bcm2708-rpi-cm.dts got the hpd-gpios property from bcm2708_common.dtsi, + it's now set directly in that file. +- bcm2709-rpi-2-b.dts has the timer node moved from /soc/timer to /timer. +- Removed clock-frequency property on the bcm{2709,2710}.dtsi timer nodes. + +Signed-off-by: Noralf Trønnes + +BCM270X_DT: Use raspberrypi-power to turn on USB power + +Use the raspberrypi-power driver to turn on USB power. + +Signed-off-by: Noralf Trønnes + +BCM270X_DT: Add a .dtbo target, use for overlays + +Change the filenames and extensions to keep the pre-DDT style of +overlay (-overlay.dtb) distinct from new ones that use a +different style of local fixups (.dtbo), and to match other +platforms. + +The RPi firmware uses the DDTK trailer atom to choose which type of +overlay to use for each kernel. + +Signed-off-by: Phil Elwell + +BCM270X_DT: Don't generate "linux,phandle" props + +The EPAPR standard says to use "phandle" properties to store phandles, +rather than the deprecated "linux,phandle" version. By default, dtc +generates both, but adding "-H epapr" causes it to only generate +"phandle"s, saving some space and clutter. + +Signed-off-by: Phil Elwell + +BCM270X_DT: Add overlay for enc28j60 on SPI2 + +Works on SPI2 for compute module + +BCM270X_DT: Add midi-uart0 overlay + +MIDI requires 31.25kbaud, a baudrate unsupported by Linux. The +midi-uart0 overlay configures uart0 (ttyAMA0) to use a fake clock +so that requesting 38.4kbaud actually gets 31.25kbaud. + +Signed-off-by: Phil Elwell + +BCM270X_DT: Add i2c-sensor overlay + +The i2c-sensor overlay is a container for various pressure and +temperature sensors, currently bmp085 and bmp280. The standalone +bmp085_i2c-sensor overlay is now deprecated. + +Signed-off-by: Phil Elwell + +BCM270X_DT: overlays/*-overlay.dtb -> overlays/*.dtbo (#1752) + +We now create overlays as .dtbo files. + +build: support for .dtbo files for dtb overlays + +Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. +Patch the kernel, which has faulty rules to generate .dtbo the way yocto does + +Signed-off-by: Herve Jourdain +Signed-off-by: Khem Raj + +BCM270X: Drop position requirement for CMA in VC4 overlay. + +No longer necessary since 2aefcd576195a739a7a256099571c9c4a401005f, +and will probably let peeople that want to choose a larger CMA +allocation (particularly on pi0/1). + +Signed-off-by: Eric Anholt + +BCM270X_DT: RPi Device Tree tidy + +Use the upstream sdhost node, add thermal-zones, and factor out some +common elements. + +Signed-off-by: Phil Elwell + +kbuild: Silence unhelpful DTC warnings + +Signed-off-by: Phil Elwell + +BCM270X_DT: DT build rules no longer arch-specific + +Signed-off-by: Phil Elwell + +kbuild: Silence unavoidable dtc overlay warnings + +Much effort has been put into finding ways to avoid warnings from dtc +about overlays, usually to do with the presence of #address-cells and +size-cells, but not exclusively so. Since the issues being warned about +are harmless, suppress the warnings to declutter the build output and +to avoid alarming users. + +Signed-off-by: Phil Elwell + +overlays: Suppress another dtc warning + +I'm sure the dtc warnings mean well, but overlays don't have enough +context for the checkers to give meaningful results. + +Signed-off-by: Phil Elwell + +overlays: Use dtbs-list for overlay installation + +Update the overlay build rules to use the dtbs-list mechanism. Also +include the README, and don't set the executable bits. + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/Makefile | 5 + + arch/arm/boot/dts/broadcom/Makefile | 35 + + .../boot/dts/broadcom/bcm2708-rpi-b-plus.dts | 210 + + .../boot/dts/broadcom/bcm2708-rpi-b-rev1.dts | 223 + + arch/arm/boot/dts/broadcom/bcm2708-rpi-b.dts | 198 + + .../arm/boot/dts/broadcom/bcm2708-rpi-bt.dtsi | 42 + + arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dts | 174 + + .../arm/boot/dts/broadcom/bcm2708-rpi-cm.dtsi | 23 + + .../boot/dts/broadcom/bcm2708-rpi-zero-w.dts | 250 + + .../boot/dts/broadcom/bcm2708-rpi-zero.dts | 189 + + arch/arm/boot/dts/broadcom/bcm2708-rpi.dtsi | 63 + + arch/arm/boot/dts/broadcom/bcm2708.dtsi | 19 + + .../arm/boot/dts/broadcom/bcm2709-rpi-2-b.dts | 204 + + .../arm/boot/dts/broadcom/bcm2709-rpi-cm2.dts | 215 + + arch/arm/boot/dts/broadcom/bcm2709-rpi.dtsi | 8 + + arch/arm/boot/dts/broadcom/bcm2709.dtsi | 29 + + arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi | 201 + + arch/arm/boot/dts/broadcom/bcm270x.dtsi | 264 + + .../arm/boot/dts/broadcom/bcm2710-rpi-2-b.dts | 204 + + .../dts/broadcom/bcm2710-rpi-3-b-plus.dts | 295 + + .../arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts | 293 + + .../arm/boot/dts/broadcom/bcm2710-rpi-cm3.dts | 215 + + .../dts/broadcom/bcm2710-rpi-zero-2-w.dts | 257 + + .../boot/dts/broadcom/bcm2710-rpi-zero-2.dts | 1 + + arch/arm/boot/dts/broadcom/bcm2710.dtsi | 32 + + .../arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts | 266 +- + .../arm/boot/dts/broadcom/bcm2711-rpi-400.dts | 49 +- + .../arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts | 499 ++ + .../boot/dts/broadcom/bcm2711-rpi-cm4s.dts | 293 + + .../arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi | 562 ++ + arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi | 13 + + arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 +- + .../arm/boot/dts/broadcom/bcm271x-rpi-bt.dtsi | 42 + + .../dts/broadcom/bcm283x-rpi-csi0-2lane.dtsi | 4 + + .../dts/broadcom/bcm283x-rpi-csi1-2lane.dtsi | 4 + + .../dts/broadcom/bcm283x-rpi-csi1-4lane.dtsi | 4 + + .../broadcom/bcm283x-rpi-i2c0mux_0_28.dtsi | 4 + + .../broadcom/bcm283x-rpi-i2c0mux_0_44.dtsi | 4 + + arch/arm/boot/dts/broadcom/bcm283x.dtsi | 8 +- + arch/arm/boot/dts/overlays/Makefile | 349 ++ + arch/arm/boot/dts/overlays/README | 5558 +++++++++++++++++ + .../arm/boot/dts/overlays/act-led-overlay.dts | 28 + + .../dts/overlays/adafruit-st7735r-overlay.dts | 83 + + .../boot/dts/overlays/adafruit18-overlay.dts | 55 + + .../dts/overlays/adau1977-adc-overlay.dts | 40 + + .../dts/overlays/adau7002-simple-overlay.dts | 52 + + .../arm/boot/dts/overlays/ads1015-overlay.dts | 98 + + .../arm/boot/dts/overlays/ads1115-overlay.dts | 135 + + .../arm/boot/dts/overlays/ads7846-overlay.dts | 89 + + .../boot/dts/overlays/adv7282m-overlay.dts | 73 + + .../boot/dts/overlays/adv728x-m-overlay.dts | 37 + + .../overlays/akkordion-iqdacplus-overlay.dts | 49 + + .../allo-boss-dac-pcm512x-audio-overlay.dts | 61 + + .../overlays/allo-boss2-dac-audio-overlay.dts | 57 + + .../dts/overlays/allo-digione-overlay.dts | 44 + + .../allo-katana-dac-audio-overlay.dts | 58 + + .../allo-piano-dac-pcm512x-audio-overlay.dts | 54 + + ...o-piano-dac-plus-pcm512x-audio-overlay.dts | 57 + + arch/arm/boot/dts/overlays/anyspi-overlay.dts | 205 + + .../boot/dts/overlays/apds9960-overlay.dts | 55 + + .../boot/dts/overlays/applepi-dac-overlay.dts | 57 + + .../dts/overlays/arducam-64mp-overlay.dts | 97 + + arch/arm/boot/dts/overlays/arducam-64mp.dtsi | 34 + + .../overlays/arducam-pivariety-overlay.dts | 100 + + .../boot/dts/overlays/at86rf233-overlay.dts | 57 + + .../overlays/audioinjector-addons-overlay.dts | 60 + + .../audioinjector-bare-i2s-overlay.dts | 50 + + ...dioinjector-isolated-soundcard-overlay.dts | 55 + + .../overlays/audioinjector-ultra-overlay.dts | 71 + + .../audioinjector-wm8731-audio-overlay.dts | 39 + + .../dts/overlays/audiosense-pi-overlay.dts | 82 + + .../boot/dts/overlays/audremap-overlay.dts | 38 + + .../boot/dts/overlays/balena-fin-overlay.dts | 125 + + .../boot/dts/overlays/bcm2712d0-overlay.dts | 75 + + .../dts/overlays/camera-mux-2port-overlay.dts | 545 ++ + .../dts/overlays/camera-mux-4port-overlay.dts | 954 +++ + .../arm/boot/dts/overlays/cap1106-overlay.dts | 52 + + .../boot/dts/overlays/chipcap2-overlay.dts | 66 + + .../boot/dts/overlays/chipdip-dac-overlay.dts | 46 + + .../dts/overlays/cirrus-wm5102-overlay.dts | 172 + + .../dts/overlays/cm-swap-i2c0-overlay.dts | 27 + + arch/arm/boot/dts/overlays/cma-overlay.dts | 36 + + .../crystalfontz-cfa050_pi_m-overlay.dts | 124 + + .../dts/overlays/cutiepi-panel-overlay.dts | 117 + + .../boot/dts/overlays/dacberry400-overlay.dts | 71 + + arch/arm/boot/dts/overlays/dht11-overlay.dts | 48 + + .../dts/overlays/dionaudio-kiwi-overlay.dts | 39 + + .../dts/overlays/dionaudio-loco-overlay.dts | 39 + + .../overlays/dionaudio-loco-v2-overlay.dts | 49 + + .../boot/dts/overlays/disable-bt-overlay.dts | 59 + + .../dts/overlays/disable-bt-pi5-overlay.dts | 17 + + .../dts/overlays/disable-emmc2-overlay.dts | 13 + + .../dts/overlays/disable-wifi-overlay.dts | 20 + + .../dts/overlays/disable-wifi-pi5-overlay.dts | 13 + + arch/arm/boot/dts/overlays/dpi18-overlay.dts | 39 + + .../boot/dts/overlays/dpi18cpadhi-overlay.dts | 26 + + arch/arm/boot/dts/overlays/dpi24-overlay.dts | 39 + + arch/arm/boot/dts/overlays/draws-overlay.dts | 208 + + .../arm/boot/dts/overlays/dwc-otg-overlay.dts | 14 + + arch/arm/boot/dts/overlays/dwc2-overlay.dts | 26 + + .../boot/dts/overlays/edt-ft5406-overlay.dts | 46 + + arch/arm/boot/dts/overlays/edt-ft5406.dtsi | 49 + + .../boot/dts/overlays/enc28j60-overlay.dts | 53 + + .../dts/overlays/enc28j60-spi2-overlay.dts | 47 + + .../arm/boot/dts/overlays/exc3000-overlay.dts | 48 + + arch/arm/boot/dts/overlays/fbtft-overlay.dts | 611 ++ + .../boot/dts/overlays/fe-pi-audio-overlay.dts | 70 + + .../boot/dts/overlays/fsm-demo-overlay.dts | 104 + + arch/arm/boot/dts/overlays/gc9a01-overlay.dts | 151 + + .../boot/dts/overlays/ghost-amp-overlay.dts | 145 + + arch/arm/boot/dts/overlays/goodix-overlay.dts | 46 + + .../googlevoicehat-soundcard-overlay.dts | 49 + + .../dts/overlays/gpio-charger-overlay.dts | 42 + + .../boot/dts/overlays/gpio-fan-overlay.dts | 89 + + .../boot/dts/overlays/gpio-hog-overlay.dts | 27 + + .../arm/boot/dts/overlays/gpio-ir-overlay.dts | 49 + + .../boot/dts/overlays/gpio-ir-tx-overlay.dts | 36 + + .../boot/dts/overlays/gpio-key-overlay.dts | 48 + + .../boot/dts/overlays/gpio-led-overlay.dts | 97 + + .../overlays/gpio-no-bank0-irq-overlay.dts | 14 + + .../boot/dts/overlays/gpio-no-irq-overlay.dts | 14 + + .../dts/overlays/gpio-poweroff-overlay.dts | 39 + + .../dts/overlays/gpio-shutdown-overlay.dts | 86 + + arch/arm/boot/dts/overlays/hat_map.dts | 124 + + .../dts/overlays/hd44780-i2c-lcd-overlay.dts | 57 + + .../boot/dts/overlays/hd44780-lcd-overlay.dts | 46 + + .../hdmi-backlight-hwhack-gpio-overlay.dts | 47 + + .../dts/overlays/hifiberry-adc-overlay.dts | 45 + + .../dts/overlays/hifiberry-adc8x-overlay.dts | 50 + + .../dts/overlays/hifiberry-amp-overlay.dts | 39 + + .../dts/overlays/hifiberry-amp100-overlay.dts | 67 + + .../dts/overlays/hifiberry-amp3-overlay.dts | 57 + + .../overlays/hifiberry-amp4pro-overlay.dts | 63 + + .../dts/overlays/hifiberry-dac-overlay.dts | 34 + + .../dts/overlays/hifiberry-dac8x-overlay.dts | 50 + + .../overlays/hifiberry-dacplus-overlay.dts | 68 + + .../hifiberry-dacplus-pro-overlay.dts | 64 + + .../hifiberry-dacplus-std-overlay.dts | 65 + + .../overlays/hifiberry-dacplusadc-overlay.dts | 72 + + .../hifiberry-dacplusadcpro-overlay.dts | 72 + + .../overlays/hifiberry-dacplusdsp-overlay.dts | 34 + + .../overlays/hifiberry-dacplushd-overlay.dts | 94 + + .../dts/overlays/hifiberry-digi-overlay.dts | 41 + + .../overlays/hifiberry-digi-pro-overlay.dts | 43 + + .../boot/dts/overlays/highperi-overlay.dts | 63 + + arch/arm/boot/dts/overlays/hy28a-overlay.dts | 93 + + .../boot/dts/overlays/hy28b-2017-overlay.dts | 152 + + arch/arm/boot/dts/overlays/hy28b-overlay.dts | 148 + + .../boot/dts/overlays/i-sabre-q2m-overlay.dts | 39 + + .../boot/dts/overlays/i2c-bcm2708-overlay.dts | 13 + + .../arm/boot/dts/overlays/i2c-fan-overlay.dts | 108 + + .../boot/dts/overlays/i2c-gpio-overlay.dts | 47 + + .../arm/boot/dts/overlays/i2c-mux-overlay.dts | 183 + + .../dts/overlays/i2c-pwm-pca9685a-overlay.dts | 61 + + .../arm/boot/dts/overlays/i2c-rtc-common.dtsi | 367 ++ + .../dts/overlays/i2c-rtc-gpio-overlay.dts | 31 + + .../arm/boot/dts/overlays/i2c-rtc-overlay.dts | 42 + + .../boot/dts/overlays/i2c-sensor-common.dtsi | 696 +++ + .../boot/dts/overlays/i2c-sensor-overlay.dts | 42 + + arch/arm/boot/dts/overlays/i2c0-overlay.dts | 83 + + .../boot/dts/overlays/i2c0-pi5-overlay.dts | 34 + + arch/arm/boot/dts/overlays/i2c1-overlay.dts | 44 + + .../boot/dts/overlays/i2c1-pi5-overlay.dts | 34 + + .../boot/dts/overlays/i2c2-pi5-overlay.dts | 21 + + arch/arm/boot/dts/overlays/i2c3-overlay.dts | 34 + + .../boot/dts/overlays/i2c3-pi5-overlay.dts | 22 + + arch/arm/boot/dts/overlays/i2c4-overlay.dts | 34 + + arch/arm/boot/dts/overlays/i2c5-overlay.dts | 34 + + arch/arm/boot/dts/overlays/i2c6-overlay.dts | 34 + + .../arm/boot/dts/overlays/i2s-dac-overlay.dts | 34 + + .../dts/overlays/i2s-gpio28-31-overlay.dts | 18 + + .../dts/overlays/i2s-master-dac-overlay.dts | 50 + + .../boot/dts/overlays/ilitek251x-overlay.dts | 45 + + arch/arm/boot/dts/overlays/imx219-overlay.dts | 95 + + arch/arm/boot/dts/overlays/imx219.dtsi | 27 + + arch/arm/boot/dts/overlays/imx258-overlay.dts | 137 + + arch/arm/boot/dts/overlays/imx258.dtsi | 27 + + arch/arm/boot/dts/overlays/imx290-overlay.dts | 32 + + .../boot/dts/overlays/imx290_327-overlay.dtsi | 118 + + arch/arm/boot/dts/overlays/imx290_327.dtsi | 24 + + arch/arm/boot/dts/overlays/imx296-overlay.dts | 120 + + arch/arm/boot/dts/overlays/imx327-overlay.dts | 33 + + arch/arm/boot/dts/overlays/imx378-overlay.dts | 17 + + arch/arm/boot/dts/overlays/imx462-overlay.dts | 39 + + arch/arm/boot/dts/overlays/imx477-overlay.dts | 17 + + .../boot/dts/overlays/imx477_378-overlay.dtsi | 98 + + arch/arm/boot/dts/overlays/imx477_378.dtsi | 24 + + arch/arm/boot/dts/overlays/imx500-overlay.dts | 122 + + .../boot/dts/overlays/imx500-pi5-overlay.dts | 127 + + arch/arm/boot/dts/overlays/imx500.dtsi | 28 + + arch/arm/boot/dts/overlays/imx519-overlay.dts | 99 + + arch/arm/boot/dts/overlays/imx519.dtsi | 34 + + arch/arm/boot/dts/overlays/imx708-overlay.dts | 111 + + arch/arm/boot/dts/overlays/imx708.dtsi | 35 + + .../interludeaudio-analog-overlay.dts | 73 + + .../interludeaudio-digital-overlay.dts | 49 + + .../dts/overlays/iqaudio-codec-overlay.dts | 42 + + .../boot/dts/overlays/iqaudio-dac-overlay.dts | 46 + + .../dts/overlays/iqaudio-dacplus-overlay.dts | 49 + + .../iqaudio-digi-wm8804-audio-overlay.dts | 47 + + arch/arm/boot/dts/overlays/iqs550-overlay.dts | 59 + + .../arm/boot/dts/overlays/irs1125-overlay.dts | 97 + + .../dts/overlays/jedec-spi-nor-overlay.dts | 136 + + .../dts/overlays/justboom-both-overlay.dts | 65 + + .../dts/overlays/justboom-dac-overlay.dts | 46 + + .../dts/overlays/justboom-digi-overlay.dts | 41 + + .../arm/boot/dts/overlays/ltc294x-overlay.dts | 86 + + .../boot/dts/overlays/max98357a-overlay.dts | 84 + + .../boot/dts/overlays/maxtherm-overlay.dts | 186 + + .../boot/dts/overlays/mbed-dac-overlay.dts | 64 + + .../boot/dts/overlays/mcp23017-overlay.dts | 103 + + .../boot/dts/overlays/mcp23s17-overlay.dts | 732 +++ + .../dts/overlays/mcp2515-can0-overlay.dts | 73 + + .../dts/overlays/mcp2515-can1-overlay.dts | 73 + + .../arm/boot/dts/overlays/mcp2515-overlay.dts | 156 + + .../boot/dts/overlays/mcp251xfd-overlay.dts | 226 + + .../arm/boot/dts/overlays/mcp3008-overlay.dts | 205 + + .../arm/boot/dts/overlays/mcp3202-overlay.dts | 205 + + .../arm/boot/dts/overlays/mcp342x-overlay.dts | 164 + + .../dts/overlays/media-center-overlay.dts | 86 + + .../boot/dts/overlays/merus-amp-overlay.dts | 59 + + .../boot/dts/overlays/midi-uart0-overlay.dts | 36 + + .../dts/overlays/midi-uart0-pi5-overlay.dts | 35 + + .../boot/dts/overlays/midi-uart1-overlay.dts | 43 + + .../dts/overlays/midi-uart1-pi5-overlay.dts | 35 + + .../boot/dts/overlays/midi-uart2-overlay.dts | 37 + + .../dts/overlays/midi-uart2-pi5-overlay.dts | 35 + + .../boot/dts/overlays/midi-uart3-overlay.dts | 38 + + .../dts/overlays/midi-uart3-pi5-overlay.dts | 35 + + .../boot/dts/overlays/midi-uart4-overlay.dts | 38 + + .../dts/overlays/midi-uart4-pi5-overlay.dts | 35 + + .../boot/dts/overlays/midi-uart5-overlay.dts | 38 + + .../boot/dts/overlays/minipitft13-overlay.dts | 70 + + .../boot/dts/overlays/miniuart-bt-overlay.dts | 83 + + .../dts/overlays/mipi-dbi-spi-overlay.dts | 175 + + .../boot/dts/overlays/mlx90640-overlay.dts | 22 + + arch/arm/boot/dts/overlays/mmc-overlay.dts | 46 + + .../arm/boot/dts/overlays/mz61581-overlay.dts | 117 + + arch/arm/boot/dts/overlays/ov2311-overlay.dts | 83 + + arch/arm/boot/dts/overlays/ov2311.dtsi | 26 + + arch/arm/boot/dts/overlays/ov5647-overlay.dts | 100 + + arch/arm/boot/dts/overlays/ov5647.dtsi | 25 + + .../arm/boot/dts/overlays/ov64a40-overlay.dts | 97 + + arch/arm/boot/dts/overlays/ov64a40.dtsi | 34 + + arch/arm/boot/dts/overlays/ov7251-overlay.dts | 83 + + arch/arm/boot/dts/overlays/ov7251.dtsi | 28 + + arch/arm/boot/dts/overlays/ov9281-overlay.dts | 84 + + arch/arm/boot/dts/overlays/ov9281.dtsi | 27 + + arch/arm/boot/dts/overlays/overlay_map.dts | 514 ++ + .../arm/boot/dts/overlays/papirus-overlay.dts | 84 + + .../arm/boot/dts/overlays/pca953x-overlay.dts | 240 + + .../arm/boot/dts/overlays/pcf857x-overlay.dts | 32 + + .../dts/overlays/pcie-32bit-dma-overlay.dts | 38 + + .../overlays/pcie-32bit-dma-pi5-overlay.dts | 26 + + .../overlays/pciex1-compat-pi5-overlay.dts | 60 + + arch/arm/boot/dts/overlays/pibell-overlay.dts | 81 + + .../dts/overlays/pifacedigital-overlay.dts | 144 + + .../arm/boot/dts/overlays/pifi-40-overlay.dts | 50 + + .../boot/dts/overlays/pifi-dac-hd-overlay.dts | 49 + + .../dts/overlays/pifi-dac-zero-overlay.dts | 49 + + .../dts/overlays/pifi-mini-210-overlay.dts | 42 + + arch/arm/boot/dts/overlays/piglow-overlay.dts | 97 + + .../overlays/pineboards-hat-ai-overlay.dts | 18 + + .../pineboards-hatdrive-poe-plus-overlay.dts | 19 + + .../boot/dts/overlays/piscreen-overlay.dts | 110 + + .../boot/dts/overlays/piscreen2r-overlay.dts | 106 + + .../arm/boot/dts/overlays/pisound-overlay.dts | 118 + + .../boot/dts/overlays/pisound-pi5-overlay.dts | 31 + + .../arm/boot/dts/overlays/pitft22-overlay.dts | 71 + + .../overlays/pitft28-capacitive-overlay.dts | 93 + + .../overlays/pitft28-resistive-overlay.dts | 126 + + .../overlays/pitft35-resistive-overlay.dts | 127 + + .../boot/dts/overlays/pps-gpio-overlay.dts | 39 + + .../boot/dts/overlays/proto-codec-overlay.dts | 39 + + .../boot/dts/overlays/pwm-2chan-overlay.dts | 48 + + .../boot/dts/overlays/pwm-gpio-overlay.dts | 38 + + .../boot/dts/overlays/pwm-ir-tx-overlay.dts | 40 + + arch/arm/boot/dts/overlays/pwm-overlay.dts | 44 + + arch/arm/boot/dts/overlays/pwm1-overlay.dts | 59 + + .../arm/boot/dts/overlays/qca7000-overlay.dts | 55 + + .../dts/overlays/qca7000-uart0-overlay.dts | 46 + + .../arm/boot/dts/overlays/ramoops-overlay.dts | 25 + + .../boot/dts/overlays/ramoops-pi4-overlay.dts | 25 + + .../dts/overlays/rotary-encoder-overlay.dts | 59 + + .../dts/overlays/rpi-backlight-overlay.dts | 21 + + .../dts/overlays/rpi-codeczero-overlay.dts | 9 + + .../boot/dts/overlays/rpi-dacplus-overlay.dts | 17 + + .../boot/dts/overlays/rpi-dacpro-overlay.dts | 17 + + .../dts/overlays/rpi-digiampplus-overlay.dts | 17 + + .../boot/dts/overlays/rpi-ft5406-overlay.dts | 25 + + .../arm/boot/dts/overlays/rpi-poe-overlay.dts | 154 + + .../dts/overlays/rpi-poe-plus-overlay.dts | 49 + + .../dts/overlays/rpi-rp2040-gpio-bridge.dtsi | 21 + + .../boot/dts/overlays/rpi-sense-overlay.dts | 69 + + .../dts/overlays/rpi-sense-v2-overlay.dts | 69 + + arch/arm/boot/dts/overlays/rpi-tv-overlay.dts | 34 + + .../rra-digidac1-wm8741-audio-overlay.dts | 49 + + .../boot/dts/overlays/sainsmart18-overlay.dts | 52 + + .../dts/overlays/sc16is750-i2c-overlay.dts | 57 + + .../dts/overlays/sc16is750-spi0-overlay.dts | 63 + + .../dts/overlays/sc16is752-i2c-overlay.dts | 57 + + .../dts/overlays/sc16is752-spi0-overlay.dts | 63 + + .../dts/overlays/sc16is752-spi1-overlay.dts | 76 + + arch/arm/boot/dts/overlays/sdhost-overlay.dts | 38 + + arch/arm/boot/dts/overlays/sdio-overlay.dts | 77 + + .../boot/dts/overlays/sdio-pi5-overlay.dts | 24 + + .../overlays/seeed-can-fd-hat-v1-overlay.dts | 138 + + .../overlays/seeed-can-fd-hat-v2-overlay.dts | 117 + + .../boot/dts/overlays/sh1106-spi-overlay.dts | 84 + + .../boot/dts/overlays/si446x-spi0-overlay.dts | 53 + + .../arm/boot/dts/overlays/smi-dev-overlay.dts | 20 + + .../boot/dts/overlays/smi-nand-overlay.dts | 66 + + arch/arm/boot/dts/overlays/smi-overlay.dts | 37 + + .../dts/overlays/spi-gpio35-39-overlay.dts | 31 + + .../dts/overlays/spi-gpio40-45-overlay.dts | 36 + + .../arm/boot/dts/overlays/spi-rtc-overlay.dts | 75 + + .../boot/dts/overlays/spi0-0cs-overlay.dts | 39 + + .../boot/dts/overlays/spi0-1cs-overlay.dts | 42 + + .../boot/dts/overlays/spi0-2cs-overlay.dts | 37 + + .../boot/dts/overlays/spi1-1cs-overlay.dts | 57 + + .../boot/dts/overlays/spi1-2cs-overlay.dts | 69 + + .../boot/dts/overlays/spi1-3cs-overlay.dts | 81 + + .../boot/dts/overlays/spi2-1cs-overlay.dts | 57 + + .../dts/overlays/spi2-1cs-pi5-overlay.dts | 33 + + .../boot/dts/overlays/spi2-2cs-overlay.dts | 69 + + .../dts/overlays/spi2-2cs-pi5-overlay.dts | 44 + + .../boot/dts/overlays/spi2-3cs-overlay.dts | 81 + + .../boot/dts/overlays/spi3-1cs-overlay.dts | 42 + + .../dts/overlays/spi3-1cs-pi5-overlay.dts | 33 + + .../boot/dts/overlays/spi3-2cs-overlay.dts | 54 + + .../dts/overlays/spi3-2cs-pi5-overlay.dts | 44 + + .../boot/dts/overlays/spi4-1cs-overlay.dts | 42 + + .../boot/dts/overlays/spi4-2cs-overlay.dts | 54 + + .../boot/dts/overlays/spi5-1cs-overlay.dts | 42 + + .../dts/overlays/spi5-1cs-pi5-overlay.dts | 33 + + .../boot/dts/overlays/spi5-2cs-overlay.dts | 54 + + .../dts/overlays/spi5-2cs-pi5-overlay.dts | 44 + + .../boot/dts/overlays/spi6-1cs-overlay.dts | 42 + + .../boot/dts/overlays/spi6-2cs-overlay.dts | 54 + + .../arm/boot/dts/overlays/ssd1306-overlay.dts | 36 + + .../boot/dts/overlays/ssd1306-spi-overlay.dts | 85 + + .../boot/dts/overlays/ssd1327-spi-overlay.dts | 70 + + .../boot/dts/overlays/ssd1331-spi-overlay.dts | 83 + + .../boot/dts/overlays/ssd1351-spi-overlay.dts | 83 + + .../overlays/sunfounder-pipower3-overlay.dts | 44 + + .../overlays/sunfounder-pironman5-overlay.dts | 55 + + .../dts/overlays/superaudioboard-overlay.dts | 73 + + arch/arm/boot/dts/overlays/sx150x-overlay.dts | 1706 +++++ + .../dts/overlays/tc358743-audio-overlay.dts | 52 + + .../boot/dts/overlays/tc358743-overlay.dts | 116 + + .../boot/dts/overlays/tinylcd35-overlay.dts | 222 + + .../boot/dts/overlays/tpm-slb9670-overlay.dts | 44 + + .../boot/dts/overlays/tpm-slb9673-overlay.dts | 50 + + arch/arm/boot/dts/overlays/uart0-overlay.dts | 32 + + .../boot/dts/overlays/uart0-pi5-overlay.dts | 18 + + arch/arm/boot/dts/overlays/uart1-overlay.dts | 38 + + .../boot/dts/overlays/uart1-pi5-overlay.dts | 18 + + arch/arm/boot/dts/overlays/uart2-overlay.dts | 25 + + .../boot/dts/overlays/uart2-pi5-overlay.dts | 18 + + arch/arm/boot/dts/overlays/uart3-overlay.dts | 25 + + .../boot/dts/overlays/uart3-pi5-overlay.dts | 18 + + arch/arm/boot/dts/overlays/uart4-overlay.dts | 25 + + .../boot/dts/overlays/uart4-pi5-overlay.dts | 18 + + arch/arm/boot/dts/overlays/uart5-overlay.dts | 25 + + arch/arm/boot/dts/overlays/udrc-overlay.dts | 128 + + .../dts/overlays/ugreen-dabboard-overlay.dts | 49 + + .../boot/dts/overlays/upstream-overlay.dts | 101 + + .../dts/overlays/upstream-pi4-overlay.dts | 137 + + .../dts/overlays/vc4-fkms-v3d-overlay.dts | 46 + + .../dts/overlays/vc4-fkms-v3d-pi4-overlay.dts | 50 + + .../overlays/vc4-kms-dpi-generic-overlay.dts | 82 + + .../dts/overlays/vc4-kms-dpi-hyperpixel.dtsi | 94 + + .../vc4-kms-dpi-hyperpixel2r-overlay.dts | 114 + + .../vc4-kms-dpi-hyperpixel4-overlay.dts | 57 + + .../vc4-kms-dpi-hyperpixel4sq-overlay.dts | 36 + + .../overlays/vc4-kms-dpi-panel-overlay.dts | 69 + + arch/arm/boot/dts/overlays/vc4-kms-dpi.dtsi | 111 + + .../overlays/vc4-kms-dsi-7inch-overlay.dts | 124 + + .../overlays/vc4-kms-dsi-generic-overlay.dts | 106 + + .../vc4-kms-dsi-ili9881-5inch-overlay.dts | 122 + + .../vc4-kms-dsi-ili9881-7inch-overlay.dts | 122 + + .../vc4-kms-dsi-lt070me05000-overlay.dts | 69 + + .../vc4-kms-dsi-lt070me05000-v2-overlay.dts | 64 + + .../vc4-kms-dsi-waveshare-800x480-overlay.dts | 119 + + .../vc4-kms-dsi-waveshare-panel-overlay.dts | 133 + + .../overlays/vc4-kms-kippah-7inch-overlay.dts | 26 + + .../boot/dts/overlays/vc4-kms-v3d-overlay.dts | 124 + + .../dts/overlays/vc4-kms-v3d-pi4-overlay.dts | 200 + + .../dts/overlays/vc4-kms-v3d-pi5-overlay.dts | 147 + + .../dts/overlays/vc4-kms-vga666-overlay.dts | 107 + + arch/arm/boot/dts/overlays/vga666-overlay.dts | 30 + + arch/arm/boot/dts/overlays/vl805-overlay.dts | 18 + + .../arm/boot/dts/overlays/w1-gpio-overlay.dts | 40 + + .../boot/dts/overlays/w1-gpio-pi5-overlay.dts | 15 + + .../dts/overlays/w1-gpio-pullup-overlay.dts | 42 + + .../overlays/w1-gpio-pullup-pi5-overlay.dts | 15 + + arch/arm/boot/dts/overlays/w5500-overlay.dts | 63 + + .../overlays/watterott-display-overlay.dts | 150 + + .../waveshare-can-fd-hat-mode-a-overlay.dts | 140 + + .../waveshare-can-fd-hat-mode-b-overlay.dts | 103 + + .../arm/boot/dts/overlays/wittypi-overlay.dts | 44 + + .../dts/overlays/wm8960-soundcard-overlay.dts | 82 + + arch/arm64/boot/dts/Makefile | 2 + + arch/arm64/boot/dts/broadcom/Makefile | 21 + + .../boot/dts/broadcom/bcm2710-rpi-2-b.dts | 1 + + .../dts/broadcom/bcm2710-rpi-3-b-plus.dts | 1 + + .../boot/dts/broadcom/bcm2710-rpi-3-b.dts | 1 + + .../boot/dts/broadcom/bcm2710-rpi-cm3.dts | 1 + + .../dts/broadcom/bcm2710-rpi-zero-2-w.dts | 1 + + .../boot/dts/broadcom/bcm2710-rpi-zero-2.dts | 1 + + .../boot/dts/broadcom/bcm2711-rpi-cm4.dts | 1 + + .../boot/dts/broadcom/bcm2711-rpi-cm4s.dts | 1 + + arch/arm64/boot/dts/broadcom/bcm2712-ds.dtsi | 808 +++ + .../boot/dts/broadcom/bcm2712-rpi-5-b.dts | 682 +- + .../boot/dts/broadcom/bcm2712-rpi-500.dts | 142 + + .../boot/dts/broadcom/bcm2712-rpi-cm4io.dtsi | 28 + + .../dts/broadcom/bcm2712-rpi-cm5-cm4io.dts | 5 + + .../dts/broadcom/bcm2712-rpi-cm5-cm5io.dts | 5 + + .../boot/dts/broadcom/bcm2712-rpi-cm5.dtsi | 712 +++ + .../boot/dts/broadcom/bcm2712-rpi-cm5io.dtsi | 14 + + .../dts/broadcom/bcm2712-rpi-cm5l-cm4io.dts | 5 + + .../dts/broadcom/bcm2712-rpi-cm5l-cm5io.dts | 5 + + .../boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi | 22 + + arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi | 466 ++ + .../boot/dts/broadcom/bcm2712d0-rpi-5-b.dts | 107 + + arch/arm64/boot/dts/broadcom/rp1.dtsi | 1291 ++++ + arch/arm64/boot/dts/overlays | 1 + + include/dt-bindings/gpio/gpio-fsm.h | 21 + + scripts/Makefile.build | 67 +- + scripts/Makefile.dtbinst | 9 +- + scripts/Makefile.lib | 156 +- + 431 files changed, 44814 insertions(+), 83 deletions(-) + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-b-plus.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-b-rev1.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-b.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-bt.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-zero-w.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi-zero.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708-rpi.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2708.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2709-rpi-2-b.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2709-rpi-cm2.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2709-rpi.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2709.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm270x.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-2-b.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-cm3.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2710.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4s.dts + create mode 100644 arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm271x-rpi-bt.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm283x-rpi-csi0-2lane.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-2lane.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-4lane.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_28.dtsi + create mode 100644 arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_44.dtsi + create mode 100644 arch/arm/boot/dts/overlays/Makefile + create mode 100644 arch/arm/boot/dts/overlays/README + create mode 100644 arch/arm/boot/dts/overlays/act-led-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adafruit-st7735r-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adafruit18-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adau1977-adc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ads1015-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ads1115-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ads7846-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adv7282m-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/adv728x-m-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-boss-dac-pcm512x-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-boss2-dac-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-digione-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-katana-dac-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/allo-piano-dac-plus-pcm512x-audio-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/anyspi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/apds9960-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/applepi-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/arducam-64mp-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/arducam-64mp.dtsi + create mode 100644 arch/arm/boot/dts/overlays/arducam-pivariety-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/at86rf233-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audioinjector-addons-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audioinjector-bare-i2s-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audioinjector-isolated-soundcard-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audioinjector-ultra-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audioinjector-wm8731-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audiosense-pi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/audremap-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/balena-fin-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/bcm2712d0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/camera-mux-2port-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/camera-mux-4port-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/cap1106-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/chipcap2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/chipdip-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/cirrus-wm5102-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/cm-swap-i2c0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/cma-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/crystalfontz-cfa050_pi_m-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/cutiepi-panel-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dacberry400-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dht11-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dionaudio-kiwi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dionaudio-loco-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dionaudio-loco-v2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/disable-bt-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/disable-bt-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/disable-emmc2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/disable-wifi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/disable-wifi-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dpi18-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dpi18cpadhi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dpi24-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/draws-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dwc-otg-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/dwc2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/edt-ft5406-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/edt-ft5406.dtsi + create mode 100644 arch/arm/boot/dts/overlays/enc28j60-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/enc28j60-spi2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/exc3000-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/fbtft-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/fe-pi-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/fsm-demo-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gc9a01-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ghost-amp-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/goodix-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/googlevoicehat-soundcard-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-charger-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-fan-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-hog-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-ir-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-ir-tx-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-key-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/gpio-led-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/gpio-no-bank0-irq-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-no-irq-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/gpio-shutdown-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hat_map.dts + create mode 100644 arch/arm/boot/dts/overlays/hd44780-i2c-lcd-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hd44780-lcd-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hdmi-backlight-hwhack-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-adc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-adc8x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-amp-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-amp100-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-amp3-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-amp4pro-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dac8x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplus-pro-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplus-std-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusadc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusdsp-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-digi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-digi-pro-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/highperi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hy28a-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hy28b-2017-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/hy28b-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i-sabre-q2m-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-bcm2708-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-fan-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-mux-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-pwm-pca9685a-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi + create mode 100644 arch/arm/boot/dts/overlays/i2c-rtc-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi + create mode 100755 arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c0-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c1-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c2-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c3-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c3-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2c6-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2s-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2s-gpio28-31-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/i2s-master-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ilitek251x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx219-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx219.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx258-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx258.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx290-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx290_327-overlay.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx290_327.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx296-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx327-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx378-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx462-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx477-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx477_378-overlay.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx477_378.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx500-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx500-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx500.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx519-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx519.dtsi + create mode 100644 arch/arm/boot/dts/overlays/imx708-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/imx708.dtsi + create mode 100644 arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/interludeaudio-digital-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/iqaudio-codec-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/iqaudio-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/iqaudio-dacplus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/iqaudio-digi-wm8804-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/iqs550-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/irs1125-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/jedec-spi-nor-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/justboom-both-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/justboom-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/justboom-digi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ltc294x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/max98357a-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/maxtherm-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mbed-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp23017-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp23s17-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/mcp2515-can0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp2515-can1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp2515-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp251xfd-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/mcp3008-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/mcp3202-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mcp342x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/media-center-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/merus-amp-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart0-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart1-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart2-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart3-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart3-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart4-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/midi-uart5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/minipitft13-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mlx90640-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mmc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/mz61581-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov2311-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov2311.dtsi + create mode 100644 arch/arm/boot/dts/overlays/ov5647-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov5647.dtsi + create mode 100644 arch/arm/boot/dts/overlays/ov64a40-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov64a40.dtsi + create mode 100644 arch/arm/boot/dts/overlays/ov7251-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov7251.dtsi + create mode 100644 arch/arm/boot/dts/overlays/ov9281-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ov9281.dtsi + create mode 100644 arch/arm/boot/dts/overlays/overlay_map.dts + create mode 100644 arch/arm/boot/dts/overlays/papirus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pca953x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pcf857x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pcie-32bit-dma-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pcie-32bit-dma-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pciex1-compat-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pibell-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pifacedigital-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pifi-40-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pifi-dac-hd-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pifi-dac-zero-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pifi-mini-210-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/piglow-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pineboards-hatdrive-poe-plus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/piscreen-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/piscreen2r-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pisound-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pisound-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pitft22-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pitft28-capacitive-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pps-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/proto-codec-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pwm-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pwm-ir-tx-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pwm-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/pwm1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/qca7000-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/qca7000-uart0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ramoops-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ramoops-pi4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rotary-encoder-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-codeczero-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-dacplus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-dacpro-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-digiampplus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-poe-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-rp2040-gpio-bridge.dtsi + create mode 100644 arch/arm/boot/dts/overlays/rpi-sense-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-sense-v2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rpi-tv-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/rra-digidac1-wm8741-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sainsmart18-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sc16is750-i2c-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sc16is750-spi0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sc16is752-i2c-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sc16is752-spi0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sc16is752-spi1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sdhost-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sdio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sdio-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/seeed-can-fd-hat-v1-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/seeed-can-fd-hat-v2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/si446x-spi0-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/smi-dev-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/smi-nand-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/smi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi-gpio40-45-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi-rtc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi0-0cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi0-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi0-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi1-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi1-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi1-3cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi2-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi2-1cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi2-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi2-2cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi2-3cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi3-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi3-1cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi3-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi3-2cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi4-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi4-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi5-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi5-1cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi5-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi5-2cs-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi6-1cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/spi6-2cs-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ssd1306-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ssd1327-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ssd1331-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sunfounder-pipower3-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sunfounder-pironman5-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/superaudioboard-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/sx150x-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/tc358743-audio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/tc358743-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/tinylcd35-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/tpm-slb9670-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/tpm-slb9673-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart0-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart0-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/uart1-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart1-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/uart2-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart2-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/uart3-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart3-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/uart4-overlay.dts + create mode 100755 arch/arm/boot/dts/overlays/uart4-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/uart5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/udrc-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/ugreen-dabboard-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/upstream-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/upstream-pi4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-fkms-v3d-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-fkms-v3d-pi4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-hyperpixel.dtsi + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-hyperpixel2r-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-hyperpixel4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-hyperpixel4sq-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi-panel-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dpi.dtsi + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-7inch-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-generic-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-5inch-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-ili9881-7inch-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-lt070me05000-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-lt070me05000-v2-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-800x480-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-vga666-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vga666-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/vl805-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/w1-gpio-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/w1-gpio-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/w1-gpio-pullup-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/w1-gpio-pullup-pi5-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/w5500-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/watterott-display-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/waveshare-can-fd-hat-mode-a-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/waveshare-can-fd-hat-mode-b-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/wittypi-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/wm8960-soundcard-overlay.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-ds.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-500.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm4io.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5-cm4io.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5-cm5io.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5io.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm4io.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm5io.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712d0-rpi-5-b.dts + create mode 100644 arch/arm64/boot/dts/broadcom/rp1.dtsi + create mode 120000 arch/arm64/boot/dts/overlays + create mode 100644 include/dt-bindings/gpio/gpio-fsm.h + +diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile +index efe38eb25301..a2a407fb5b28 100644 +--- a/arch/arm/boot/dts/Makefile ++++ b/arch/arm/boot/dts/Makefile +@@ -39,3 +39,8 @@ subdir-y += unisoc + subdir-y += vt8500 + subdir-y += xen + subdir-y += xilinx ++ ++targets += dtbs dtbs_install ++targets += $(dtb-y) ++ ++subdir-y += overlays +diff --git a/arch/arm/boot/dts/broadcom/Makefile b/arch/arm/boot/dts/broadcom/Makefile +index 5881bcc95eba..79d83e8a214d 100644 +--- a/arch/arm/boot/dts/broadcom/Makefile ++++ b/arch/arm/boot/dts/broadcom/Makefile +@@ -35,6 +35,41 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ + bcm2711-rpi-cm4-io.dtb \ + bcm2835-rpi-zero.dtb \ + bcm2835-rpi-zero-w.dtb ++ ++DTC_FLAGS_bcm2708-rpi-b := -@ ++DTC_FLAGS_bcm2708-rpi-b-rev1 := -@ ++DTC_FLAGS_bcm2708-rpi-b-plus := -@ ++DTC_FLAGS_bcm2708-rpi-cm := -@ ++DTC_FLAGS_bcm2708-rpi-zero := -@ ++DTC_FLAGS_bcm2708-rpi-zero-w := -@ ++DTC_FLAGS_bcm2710-rpi-zero-2 := -@ ++DTC_FLAGS_bcm2710-rpi-zero-2-w := -@ ++DTC_FLAGS_bcm2709-rpi-2-b := -@ ++DTC_FLAGS_bcm2710-rpi-2-b := -@ ++DTC_FLAGS_bcm2710-rpi-3-b := -@ ++DTC_FLAGS_bcm2710-rpi-3-b-plus := -@ ++DTC_FLAGS_bcm2709-rpi-cm2 := -@ ++DTC_FLAGS_bcm2710-rpi-cm3 := -@ ++DTC_FLAGS_bcm2711-rpi-cm4 := -@ ++DTC_FLAGS_bcm2711-rpi-cm4s := -@ ++dtb-$(CONFIG_ARCH_BCM2835) += \ ++ bcm2708-rpi-b.dtb \ ++ bcm2708-rpi-b-rev1.dtb \ ++ bcm2708-rpi-b-plus.dtb \ ++ bcm2708-rpi-cm.dtb \ ++ bcm2708-rpi-zero.dtb \ ++ bcm2708-rpi-zero-w.dtb \ ++ bcm2710-rpi-zero-2.dtb \ ++ bcm2710-rpi-zero-2-w.dtb \ ++ bcm2709-rpi-2-b.dtb \ ++ bcm2710-rpi-2-b.dtb \ ++ bcm2710-rpi-3-b.dtb \ ++ bcm2710-rpi-3-b-plus.dtb \ ++ bcm2709-rpi-cm2.dtb \ ++ bcm2710-rpi-cm3.dtb \ ++ bcm2711-rpi-cm4.dtb \ ++ bcm2711-rpi-cm4s.dtb ++ + dtb-$(CONFIG_ARCH_BCMBCA) += \ + bcm947622.dtb \ + bcm963138.dtb \ +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-plus.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-plus.dts +new file mode 100644 +index 000000000000..ee72fdac6663 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-plus.dts +@@ -0,0 +1,210 @@ ++/dts-v1/; ++ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-smsc9514.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; ++ model = "Raspberry Pi Model B+"; ++}; ++ ++&gpio { ++ /* ++ * Taken from Raspberry-Pi-B-Plus-V1.2-Schematics.pdf ++ * RPI-BPLUS sheet 1 ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "SDA0", ++ "SCL0", ++ "NC", /* GPIO30 */ ++ "LAN_RUN", /* GPIO31 */ ++ "CAM_GPIO1", /* GPIO32 */ ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "PWR_LOW_N", /* GPIO35 */ ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "USB_LIMIT", /* GPIO38 */ ++ "NC", /* GPIO39 */ ++ "PWM0_OUT", /* GPIO40 */ ++ "CAM_GPIO0", /* GPIO41 */ ++ "NC", /* GPIO42 */ ++ "NC", /* GPIO43 */ ++ "ETH_CLK", /* GPIO44 */ ++ "PWM1_OUT", /* GPIO45 */ ++ "HDMI_HPD_N", ++ "STATUS_LED", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "input"; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 41 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_arm: &i2c1 { ++}; ++ ++i2c_vc: &i2c0 { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-rev1.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-rev1.dts +new file mode 100644 +index 000000000000..9301e345aea2 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b-rev1.dts +@@ -0,0 +1,223 @@ ++/dts-v1/; ++ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-smsc9512.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-b", "brcm,bcm2835"; ++ model = "Raspberry Pi Model B"; ++}; ++ ++&gpio { ++ /* ++ * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf ++ * RPI00021 sheet 02 ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "SDA0", ++ "SCL0", ++ "SDA1", ++ "SCL1", ++ "GPIO_GCLK", ++ "CAM_GPIO1", ++ "LAN_RUN", ++ "SPI_CE1_N", ++ "SPI_CE0_N", ++ "SPI_MISO", ++ "SPI_MOSI", ++ "SPI_SCLK", ++ "NC", /* GPIO12 */ ++ "NC", /* GPIO13 */ ++ /* Serial port */ ++ "TXD0", ++ "RXD0", ++ "STATUS_LED_N", ++ "GPIO17", ++ "GPIO18", ++ "NC", /* GPIO19 */ ++ "NC", /* GPIO20 */ ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "NC", /* GPIO26 */ ++ "CAM_GPIO0", ++ /* Binary number representing build/revision */ ++ "CONFIG0", ++ "CONFIG1", ++ "CONFIG2", ++ "CONFIG3", ++ "NC", /* GPIO32 */ ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "NC", /* GPIO35 */ ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "NC", /* GPIO38 */ ++ "NC", /* GPIO39 */ ++ "PWM0_OUT", ++ "NC", /* GPIO41 */ ++ "NC", /* GPIO42 */ ++ "NC", /* GPIO43 */ ++ "NC", /* GPIO44 */ ++ "PWM1_OUT", ++ "HDMI_HPD_P", ++ "SD_CARD_DET", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <28 29 30 31>; ++ brcm,function = <6>; /* alt2 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++/delete-node/ &i2c0mux; ++ ++i2c0: &i2c0if { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c0_pins>; ++ clock-frequency = <100000>; ++}; ++ ++i2c_csi_dsi: &i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++/ { ++ aliases { ++ i2c0 = &i2c0; ++ }; ++ ++ /* Provide an i2c0mux label to avoid undefined symbols in overlays */ ++ i2c0mux: i2c0mux { ++ }; ++ ++ __overrides__ { ++ i2c0 = <&i2c0>, "status"; ++ }; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 16 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 27 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_arm: &i2c0 { ++}; ++ ++i2c_vc: &i2c1 { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ i2c = <&i2c0>,"status"; ++ i2c_arm = <&i2c0>,"status"; ++ i2c_vc = <&i2c1>,"status"; ++ i2c_baudrate = <&i2c0>,"clock-frequency:0"; ++ i2c_arm_baudrate = <&i2c0>,"clock-frequency:0"; ++ i2c_vc_baudrate = <&i2c1>,"clock-frequency:0"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-b.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b.dts +new file mode 100644 +index 000000000000..b8459fd0f497 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-b.dts +@@ -0,0 +1,198 @@ ++/dts-v1/; ++ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-smsc9512.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-b", "brcm,bcm2835"; ++ model = "Raspberry Pi Model B"; ++}; ++ ++&gpio { ++ /* ++ * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf ++ * RPI00022 sheet 02 ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "SDA0", ++ "SCL0", ++ "SDA1", ++ "SCL1", ++ "GPIO_GCLK", ++ "CAM_GPIO1", ++ "LAN_RUN", ++ "SPI_CE1_N", ++ "SPI_CE0_N", ++ "SPI_MISO", ++ "SPI_MOSI", ++ "SPI_SCLK", ++ "NC", /* GPIO12 */ ++ "NC", /* GPIO13 */ ++ /* Serial port */ ++ "TXD0", ++ "RXD0", ++ "STATUS_LED_N", ++ "GPIO17", ++ "GPIO18", ++ "NC", /* GPIO19 */ ++ "NC", /* GPIO20 */ ++ "CAM_GPIO0", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "NC", /* GPIO26 */ ++ "GPIO27", ++ "GPIO28", ++ "GPIO29", ++ "GPIO30", ++ "GPIO31", ++ "NC", /* GPIO32 */ ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "NC", /* GPIO35 */ ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "NC", /* GPIO38 */ ++ "NC", /* GPIO39 */ ++ "PWM0_OUT", ++ "NC", /* GPIO41 */ ++ "NC", /* GPIO42 */ ++ "NC", /* GPIO43 */ ++ "NC", /* GPIO44 */ ++ "PWM1_OUT", ++ "HDMI_HPD_P", ++ "SD_CARD_DET", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <28 29 30 31>; ++ brcm,function = <6>; /* alt2 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 16 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 21 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_arm: &i2c1 { ++}; ++ ++i2c_vc: &i2c0 { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-bt.dtsi b/arch/arm/boot/dts/broadcom/bcm2708-rpi-bt.dtsi +new file mode 100644 +index 000000000000..87a6c00bd056 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-bt.dtsi +@@ -0,0 +1,42 @@ ++// SPDX-License-Identifier: GPL-2.0 ++ ++&uart0 { ++ bt: bluetooth { ++ compatible = "brcm,bcm43438-bt"; ++ max-speed = <3000000>; ++ shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; ++ local-bd-address = [ 00 00 00 00 00 00 ]; ++ fallback-bd-address; // Don't override a valid address ++ status = "okay"; ++ }; ++}; ++ ++&uart1 { ++ minibt: bluetooth { ++ compatible = "brcm,bcm43438-bt"; ++ max-speed = <230400>; ++ shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; ++ local-bd-address = [ 00 00 00 00 00 00 ]; ++ fallback-bd-address; // Don't override a valid address ++ status = "disabled"; ++ }; ++}; ++ ++/ { ++ chosen { ++ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory"; ++ }; ++ ++ aliases { ++ bluetooth = &bt; ++ }; ++ ++ __overrides__ { ++ bdaddr = <&bt>,"local-bd-address[", ++ <&bt>,"fallback-bd-address?=0", ++ <&minibt>,"local-bd-address[", ++ <&minibt>,"fallback-bd-address?=0"; ++ krnbt = <&bt>,"status"; ++ krnbt_baudrate = <&bt>,"max-speed:0", <&minibt>,"max-speed:0"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dts +new file mode 100644 +index 000000000000..fde85c8c7dca +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dts +@@ -0,0 +1,174 @@ ++/dts-v1/; ++ ++#include "bcm2708-rpi-cm.dtsi" ++#include "bcm283x-rpi-csi0-2lane.dtsi" ++#include "bcm283x-rpi-csi1-4lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++ ++/ { ++ compatible = "raspberrypi,compute-module", "brcm,bcm2835"; ++ model = "Raspberry Pi Compute Module"; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 3 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++cam0_reg: &cam0_regulator { ++ gpio = <&gpio 31 GPIO_ACTIVE_HIGH>; ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "GPIO0", ++ "GPIO1", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "GPIO28", ++ "GPIO29", ++ "GPIO30", ++ "GPIO31", ++ "GPIO32", ++ "GPIO33", ++ "GPIO34", ++ "GPIO35", ++ "GPIO36", ++ "GPIO37", ++ "GPIO38", ++ "GPIO39", ++ "GPIO40", ++ "GPIO41", ++ "GPIO42", ++ "GPIO43", ++ "GPIO44", ++ "GPIO45", ++ "HDMI_HPD_N", ++ /* Also used as ACT LED */ ++ "EMMC_EN_N", ++ /* Used by eMMC */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins; ++ brcm,function; ++ }; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dtsi b/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dtsi +new file mode 100644 +index 000000000000..8d3e42bfe4f0 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-cm.dtsi +@@ -0,0 +1,23 @@ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++i2c_arm: &i2c1 { ++}; ++ ++i2c_vc: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero-w.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero-w.dts +new file mode 100644 +index 000000000000..f6d4e2c73df9 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero-w.dts +@@ -0,0 +1,250 @@ ++/dts-v1/; ++ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm2708-rpi-bt.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; ++ model = "Raspberry Pi Zero W"; ++ ++ aliases { ++ serial0 = &uart1; ++ serial1 = &uart0; ++ mmc1 = &mmcnr; ++ }; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "SDA0", ++ "SCL0", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ "CAM_GPIO1", /* GPIO40 */ ++ "WL_ON", /* GPIO41 */ ++ "NC", /* GPIO42 */ ++ "WIFI_CLK", /* GPIO43 */ ++ "CAM_GPIO0", /* GPIO44 */ ++ "BT_ON", /* GPIO45 */ ++ "HDMI_HPD_N", ++ "STATUS_LED_N", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ sdio_pins: sdio_pins { ++ brcm,pins = <34 35 36 37 38 39>; ++ brcm,function = <7>; /* ALT3 = SD1 */ ++ brcm,pull = <0 2 2 2 2 2>; ++ }; ++ ++ bt_pins: bt_pins { ++ brcm,pins = <43>; ++ brcm,function = <4>; /* alt0:GPCLK2 */ ++ brcm,pull = <0>; /* none */ ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <30 31 32 33>; ++ brcm,function = <7>; /* alt3=UART0 */ ++ brcm,pull = <2 0 0 2>; /* up none none up */ ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33 30 31>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2 2 0>; ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++ }; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ }; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>; ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "actpwr"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 44 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_arm: &i2c1 {}; ++i2c_vc: &i2c0 {}; ++i2c_csi_dsi0: &i2c0 {}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero.dts b/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero.dts +new file mode 100644 +index 000000000000..1721be8dbe20 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi-zero.dts +@@ -0,0 +1,189 @@ ++/dts-v1/; ++ ++#include "bcm2708.dtsi" ++#include "bcm2708-rpi.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-zero", "brcm,bcm2835"; ++ model = "Raspberry Pi Zero"; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "SDA0", ++ "SCL0", ++ "NC", /* GPIO30 */ ++ "NC", /* GPIO31 */ ++ "CAM_GPIO1", /* GPIO32 */ ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "NC", /* GPIO35 */ ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "NC", /* GPIO38 */ ++ "NC", /* GPIO39 */ ++ "NC", /* GPIO40 */ ++ "CAM_GPIO0", /* GPIO41 */ ++ "NC", /* GPIO42 */ ++ "NC", /* GPIO43 */ ++ "NC", /* GPIO44 */ ++ "NC", /* GPIO45 */ ++ "HDMI_HPD_N", ++ "STATUS_LED_N", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "actpwr"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 41 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_arm: &i2c1 {}; ++i2c_vc: &i2c0 {}; ++i2c_csi_dsi0: &i2c0 {}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708-rpi.dtsi b/arch/arm/boot/dts/broadcom/bcm2708-rpi.dtsi +new file mode 100644 +index 000000000000..f4aedb5c532b +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708-rpi.dtsi +@@ -0,0 +1,63 @@ ++/* Downstream modifications common to bcm2835, bcm2836, bcm2837 */ ++ ++#define i2c0 i2c0mux ++#include "bcm2835-rpi.dtsi" ++#undef i2c0 ++#include "bcm270x-rpi.dtsi" ++ ++/ { ++ memory@0 { ++ device_type = "memory"; ++ reg = <0x0 0x0>; ++ }; ++ ++ aliases { ++ i2c2 = &i2c2; ++ }; ++ ++ __overrides__ { ++ hdmi = <&hdmi>,"status"; ++ i2c2_iknowwhatimdoing = <&i2c2>,"status"; ++ i2c2_baudrate = <&i2c2>,"clock-frequency:0"; ++ nvmem_cust_rw = <&nvmem_cust>,"rw?"; ++ sd = <&sdhost>,"status"; ++ sd_poll_once = <&sdhost>,"non-removable?"; ++ }; ++}; ++ ++&soc { ++ nvmem { ++ compatible = "simple-bus"; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ++ nvmem_otp: nvmem_otp { ++ compatible = "raspberrypi,rpi-otp"; ++ firmware = <&firmware>; ++ reg = <0 192>; ++ status = "okay"; ++ }; ++ ++ nvmem_cust: nvmem_cust { ++ compatible = "raspberrypi,rpi-otp"; ++ firmware = <&firmware>; ++ reg = <1 8>; ++ status = "okay"; ++ }; ++ }; ++}; ++ ++&sdhost { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdhost_gpio48>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ power-domains = <&power RPI_POWER_DOMAIN_HDMI>; ++ status = "disabled"; ++}; ++ ++&i2c2 { ++ status = "disabled"; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2708.dtsi b/arch/arm/boot/dts/broadcom/bcm2708.dtsi +new file mode 100644 +index 000000000000..fdc7f2423bbe +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2708.dtsi +@@ -0,0 +1,19 @@ ++#define i2c0 i2c0if ++#include "bcm2835.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++ ++/ { ++ __overrides__ { ++ arm_freq; ++ }; ++}; ++ ++&soc { ++ dma-ranges = <0x80000000 0x00000000 0x20000000>, ++ <0x7e000000 0x20000000 0x02000000>; ++}; ++ ++&vc4 { ++ status = "disabled"; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2709-rpi-2-b.dts b/arch/arm/boot/dts/broadcom/bcm2709-rpi-2-b.dts +new file mode 100644 +index 000000000000..7796e545da43 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2709-rpi-2-b.dts +@@ -0,0 +1,204 @@ ++/dts-v1/; ++ ++#include "bcm2709.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-smsc9514.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; ++ model = "Raspberry Pi 2 Model B"; ++}; ++ ++&gpio { ++ /* ++ * Taken from rpi_SCH_2b_1p2_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "SDA0", ++ "SCL0", ++ "NC", /* GPIO30 */ ++ "LAN_RUN", ++ "CAM_GPIO1", ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "PWR_LOW_N", ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "USB_LIMIT", ++ "NC", /* GPIO39 */ ++ "PWM0_OUT", ++ "CAM_GPIO0", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ "ETH_CLK", ++ "PWM1_OUT", ++ "HDMI_HPD_N", ++ "STATUS_LED", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "input"; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 41 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2709-rpi-cm2.dts b/arch/arm/boot/dts/broadcom/bcm2709-rpi-cm2.dts +new file mode 100644 +index 000000000000..36d00aa889a3 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2709-rpi-cm2.dts +@@ -0,0 +1,215 @@ ++/dts-v1/; ++ ++#include "bcm2709.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-csi0-2lane.dtsi" ++#include "bcm283x-rpi-csi1-4lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,2-compute-module", "brcm,bcm2836"; ++ model = "Raspberry Pi Compute Module 2"; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 2 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++cam0_reg: &cam0_regulator { ++ gpio = <&gpio 30 GPIO_ACTIVE_HIGH>; ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "GPIO0", ++ "GPIO1", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "GPIO28", ++ "GPIO29", ++ "GPIO30", ++ "GPIO31", ++ "GPIO32", ++ "GPIO33", ++ "GPIO34", ++ "GPIO35", ++ "GPIO36", ++ "GPIO37", ++ "GPIO38", ++ "GPIO39", ++ "GPIO40", ++ "GPIO41", ++ "GPIO42", ++ "GPIO43", ++ "GPIO44", ++ "GPIO45", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ /* Used by eMMC */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins; ++ brcm,function; ++ }; ++}; ++ ++&firmware { ++ expgpio: expgpio { ++ compatible = "raspberrypi,firmware-gpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ gpio-line-names = "HDMI_HPD_N", ++ "EMMC_EN_N", ++ "NC", ++ "NC", ++ "NC", ++ "NC", ++ "NC", ++ "NC"; ++ status = "okay"; ++ }; ++ ++ virtgpio: virtgpio { ++ compatible = "brcm,bcm2835-virtgpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ status = "okay"; ++ }; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&virtgpio 0 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2709-rpi.dtsi b/arch/arm/boot/dts/broadcom/bcm2709-rpi.dtsi +new file mode 100644 +index 000000000000..7335e7fbcb71 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2709-rpi.dtsi +@@ -0,0 +1,8 @@ ++#include "bcm2708-rpi.dtsi" ++ ++&vchiq { ++ compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq"; ++}; ++ ++i2c_arm: &i2c1 {}; ++i2c_vc: &i2c0 {}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2709.dtsi b/arch/arm/boot/dts/broadcom/bcm2709.dtsi +new file mode 100644 +index 000000000000..868f65f922ff +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2709.dtsi +@@ -0,0 +1,29 @@ ++#define i2c0 i2c0if ++#include "bcm2836.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++ ++/ { ++ soc { ++ ranges = <0x7e000000 0x3f000000 0x01000000>, ++ <0x40000000 0x40000000 0x00040000>; ++ ++ dma-ranges = <0xc0000000 0x00000000 0x3f000000>, ++ <0x7e000000 0x3f000000 0x01000000>; ++ }; ++ ++ __overrides__ { ++ arm_freq = <&v7_cpu0>, "clock-frequency:0", ++ <&v7_cpu1>, "clock-frequency:0", ++ <&v7_cpu2>, "clock-frequency:0", ++ <&v7_cpu3>, "clock-frequency:0"; ++ }; ++}; ++ ++&system_timer { ++ status = "disabled"; ++}; ++ ++&vc4 { ++ status = "disabled"; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi b/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi +new file mode 100644 +index 000000000000..eeef9788d649 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi +@@ -0,0 +1,201 @@ ++/* Downstream modifications to bcm2835-rpi.dtsi */ ++ ++/ { ++ aliases: aliases { ++ aux = &aux; ++ sound = &sound; ++ soc = &soc; ++ dma = &dma; ++ intc = &intc; ++ watchdog = &watchdog; ++ random = &random; ++ mailbox = &mailbox; ++ gpio = &gpio; ++ uart0 = &uart0; ++ uart1 = &uart1; ++ sdhost = &sdhost; ++ mmc = &mmc; ++ mmc1 = &mmc; ++ mmc0 = &sdhost; ++ i2s = &i2s; ++ i2c0 = &i2c0; ++ i2c1 = &i2c1; ++ i2c10 = &i2c_csi_dsi; ++ i2c = &i2c_arm; ++ spi0 = &spi0; ++ spi1 = &spi1; ++ spi2 = &spi2; ++ usb = &usb; ++ leds = &leds; ++ fb = &fb; ++ thermal = &thermal; ++ axiperf = &axiperf; ++ }; ++ ++ /* Define these notional regulators for use by overlays */ ++ vdd_3v3_reg: fixedregulator_3v3 { ++ compatible = "regulator-fixed"; ++ regulator-always-on; ++ regulator-max-microvolt = <3300000>; ++ regulator-min-microvolt = <3300000>; ++ regulator-name = "3v3"; ++ }; ++ ++ vdd_5v0_reg: fixedregulator_5v0 { ++ compatible = "regulator-fixed"; ++ regulator-always-on; ++ regulator-max-microvolt = <5000000>; ++ regulator-min-microvolt = <5000000>; ++ regulator-name = "5v0"; ++ }; ++ ++ soc { ++ gpiomem { ++ compatible = "brcm,bcm2835-gpiomem"; ++ reg = <0x7e200000 0x1000>; ++ }; ++ ++ fb: fb { ++ compatible = "brcm,bcm2708-fb"; ++ firmware = <&firmware>; ++ status = "okay"; ++ }; ++ ++ /* External sound card */ ++ sound: sound { ++ status = "disabled"; ++ }; ++ }; ++ ++ __overrides__ { ++ cache_line_size; ++ ++ uart0 = <&uart0>,"status"; ++ uart1 = <&uart1>,"status"; ++ i2s = <&i2s>,"status"; ++ spi = <&spi0>,"status"; ++ i2c0 = <&i2c0if>,"status",<&i2c0mux>,"status"; ++ i2c1 = <&i2c1>,"status"; ++ i2c = <&i2c1>,"status"; ++ i2c_arm = <&i2c1>,"status"; ++ i2c_vc = <&i2c0if>,"status",<&i2c0mux>,"status"; ++ i2c0_baudrate = <&i2c0if>,"clock-frequency:0"; ++ i2c1_baudrate = <&i2c1>,"clock-frequency:0"; ++ i2c_baudrate = <&i2c1>,"clock-frequency:0"; ++ i2c_arm_baudrate = <&i2c1>,"clock-frequency:0"; ++ i2c_vc_baudrate = <&i2c0if>,"clock-frequency:0"; ++ ++ watchdog = <&watchdog>,"status"; ++ random = <&random>,"status"; ++ sd_overclock = <&sdhost>,"brcm,overclock-50:0"; ++ sd_force_pio = <&sdhost>,"brcm,force-pio?"; ++ sd_pio_limit = <&sdhost>,"brcm,pio-limit:0"; ++ sd_debug = <&sdhost>,"brcm,debug"; ++ sdio_overclock = <&mmc>,"brcm,overclock-50:0", ++ <&mmcnr>,"brcm,overclock-50:0"; ++ axiperf = <&axiperf>,"status"; ++ drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4; ++ drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4; ++ drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4; ++ ++ cam1_sync = <&csi1>, "sync-gpios:0=", <&gpio>, ++ <&csi1>, "sync-gpios:4", ++ <&csi1>, "sync-gpios:8=", ; ++ cam1_sync_inverted = <&csi1>, "sync-gpios:0=", <&gpio>, ++ <&csi1>, "sync-gpios:4", ++ <&csi1>, "sync-gpios:8=", ; ++ cam0_sync = <&csi0>, "sync-gpios:0=", <&gpio>, ++ <&csi0>, "sync-gpios:4", ++ <&csi0>, "sync-gpios:8=", ; ++ cam0_sync_inverted = <&csi0>, "sync-gpios:0=", <&gpio>, ++ <&csi0>, "sync-gpios:4", ++ <&csi0>, "sync-gpios:8=", ; ++ ++ cam0_reg = <&cam0_reg>,"status"; ++ cam0_reg_gpio = <&cam0_reg>,"gpio:4", ++ <&cam0_reg>,"gpio:0=", <&gpio>; ++ cam1_reg = <&cam1_reg>,"status"; ++ cam1_reg_gpio = <&cam1_reg>,"gpio:4", ++ <&cam1_reg>,"gpio:0=", <&gpio>; ++ ++ strict_gpiod = <&chosen>, "bootargs=pinctrl_bcm2835.persist_gpio_outputs=n"; ++ }; ++}; ++ ++&uart0 { ++ skip-init; ++}; ++ ++&uart1 { ++ skip-init; ++}; ++ ++&txp { ++ status = "disabled"; ++}; ++ ++&i2c0if { ++ status = "disabled"; ++}; ++ ++&i2c0mux { ++ pinctrl-names = "i2c0", "i2c_csi_dsi"; ++ /delete-property/ clock-frequency; ++ status = "disabled"; ++}; ++ ++&i2c1 { ++ status = "disabled"; ++}; ++ ++i2s_clk_producer: &i2s {}; ++i2s_clk_consumer: &i2s {}; ++ ++&clocks { ++ firmware = <&firmware>; ++}; ++ ++&sdhci { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&emmc_gpio48>; ++ bus-width = <4>; ++}; ++ ++&cpu_thermal { ++ // Add some labels ++ thermal_trips: trips { ++ cpu-crit { ++ // Raise upstream limit of 90C ++ temperature = <110000>; ++ }; ++ }; ++ cooling_maps: cooling-maps { ++ }; ++}; ++ ++&vec { ++ clocks = <&firmware_clocks 15>; ++ status = "disabled"; ++}; ++ ++&firmware { ++ vcio: vcio { ++ compatible = "raspberrypi,vcio"; ++ }; ++}; ++ ++&vc4 { ++ raspberrypi,firmware = <&firmware>; ++}; ++ ++#ifndef BCM2711 ++ ++&hdmi { ++ reg-names = "hdmi", ++ "hd"; ++ clocks = <&firmware_clocks 9>, ++ <&firmware_clocks 13>; ++ dmas = <&dma (17|(1<<27)|(1<<24))>; ++}; ++ ++#endif +diff --git a/arch/arm/boot/dts/broadcom/bcm270x.dtsi b/arch/arm/boot/dts/broadcom/bcm270x.dtsi +new file mode 100644 +index 000000000000..678bee7d96e7 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm270x.dtsi +@@ -0,0 +1,264 @@ ++/* Downstream bcm283x.dtsi diff */ ++#include ++ ++/ { ++ chosen: chosen { ++ // Disable audio by default ++ bootargs = "coherent_pool=1M snd_bcm2835.enable_headphones=0 cgroup_disable=memory"; ++ stdout-path = "serial0:115200n8"; ++ }; ++ ++ soc: soc { ++ watchdog: watchdog@7e100000 { ++ /* Add label */ ++ }; ++ ++ random: rng@7e104000 { ++ /* Add label */ ++ }; ++ ++ spi0: spi@7e204000 { ++ /* Add label */ ++ }; ++ ++#ifndef BCM2711 ++ pixelvalve0: pixelvalve@7e206000 { ++ /* Add label */ ++ status = "disabled"; ++ }; ++ ++ pixelvalve1: pixelvalve@7e207000 { ++ /* Add label */ ++ status = "disabled"; ++ }; ++#endif ++ ++ /delete-node/ mmc@7e300000; ++ ++ sdhci: mmc: mmc@7e300000 { ++ compatible = "brcm,bcm2835-mmc", "brcm,bcm2835-sdhci"; ++ reg = <0x7e300000 0x100>; ++ interrupts = <2 30>; ++ clocks = <&clocks BCM2835_CLOCK_EMMC>; ++ dmas = <&dma 11>; ++ dma-names = "rx-tx"; ++ brcm,overclock-50 = <0>; ++ status = "disabled"; ++ }; ++ ++ /* A clone of mmc but with non-removable set */ ++ mmcnr: mmcnr@7e300000 { ++ compatible = "brcm,bcm2835-mmc", "brcm,bcm2835-sdhci"; ++ reg = <0x7e300000 0x100>; ++ interrupts = <2 30>; ++ clocks = <&clocks BCM2835_CLOCK_EMMC>; ++ dmas = <&dma 11>; ++ dma-names = "rx-tx"; ++ brcm,overclock-50 = <0>; ++ non-removable; ++ status = "disabled"; ++ }; ++ ++ hvs: hvs@7e400000 { ++ /* Add label */ ++ status = "disabled"; ++ }; ++ ++ firmwarekms: firmwarekms@7e600000 { ++ compatible = "raspberrypi,rpi-firmware-kms"; ++ /* SMI interrupt reg */ ++ reg = <0x7e600000 0x100>; ++ interrupts = <2 16>; ++ brcm,firmware = <&firmware>; ++ status = "disabled"; ++ }; ++ ++ smi: smi@7e600000 { ++ compatible = "brcm,bcm2835-smi"; ++ reg = <0x7e600000 0x100>; ++ interrupts = <2 16>; ++ clocks = <&clocks BCM2835_CLOCK_SMI>; ++ assigned-clocks = <&clocks BCM2835_CLOCK_SMI>; ++ assigned-clock-rates = <125000000>; ++ dmas = <&dma 4>; ++ dma-names = "rx-tx"; ++ status = "disabled"; ++ }; ++ ++#ifndef BCM2711 ++ pixelvalve2: pixelvalve@7e807000 { ++ /* Add label */ ++ status = "disabled"; ++ }; ++#endif ++ ++ hdmi@7e902000 { /* hdmi */ ++ status = "disabled"; ++ }; ++ ++ usb@7e980000 { /* usb */ ++ compatible = "brcm,bcm2708-usb"; ++ reg = <0x7e980000 0x10000>, ++ <0x7e006000 0x1000>; ++ interrupt-names = "usb", ++ "soft"; ++ interrupts = <1 9>, ++ <2 0>; ++ }; ++ ++#ifndef BCM2711 ++ v3d@7ec00000 { /* vd3 */ ++ compatible = "brcm,vc4-v3d"; ++ power-domains = <&power RPI_POWER_DOMAIN_V3D>; ++ status = "disabled"; ++ }; ++#endif ++ ++ axiperf: axiperf { ++ compatible = "brcm,bcm2835-axiperf"; ++ reg = <0x7e009800 0x100>, ++ <0x7ee08000 0x100>; ++ firmware = <&firmware>; ++ status = "disabled"; ++ }; ++ ++ i2c0mux: i2c0mux { ++ compatible = "i2c-mux-pinctrl"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ i2c-parent = <&i2c0if>; ++ ++ status = "disabled"; ++ ++ i2c0: i2c@0 { ++ reg = <0>; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ ++ i2c_csi_dsi: i2c@1 { ++ reg = <1>; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ }; ++ }; ++ ++ cam1_reg: cam1_regulator { ++ compatible = "regulator-fixed"; ++ regulator-name = "cam1-reg"; ++ enable-active-high; ++ /* Needs to be enabled, as removing a regulator is very unsafe */ ++ status = "okay"; ++ }; ++ ++ cam1_clk: cam1_clk { ++ compatible = "fixed-clock"; ++ #clock-cells = <0>; ++ status = "disabled"; ++ }; ++ ++ cam0_regulator: cam0_regulator { ++ compatible = "regulator-fixed"; ++ regulator-name = "cam0-reg"; ++ enable-active-high; ++ status = "disabled"; ++ }; ++ ++ cam0_clk: cam0_clk { ++ compatible = "fixed-clock"; ++ #clock-cells = <0>; ++ status = "disabled"; ++ }; ++ ++ cam_dummy_reg: cam_dummy_reg { ++ compatible = "regulator-fixed"; ++ regulator-name = "cam-dummy-reg"; ++ status = "okay"; ++ }; ++ ++ __overrides__ { ++ cam0-pwdn-ctrl; ++ cam0-pwdn; ++ cam0-led-ctrl; ++ cam0-led; ++ }; ++}; ++ ++&gpio { ++ interrupts = <2 17>, <2 18>; ++ ++ dpi_18bit_cpadhi_gpio0: dpi_18bit_cpadhi_gpio0 { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 9 ++ 12 13 14 15 16 17 ++ 20 21 22 23 24 25>; ++ brcm,function = ; ++ brcm,pull = <0>; /* no pull */ ++ }; ++ dpi_18bit_cpadhi_gpio2: dpi_18bit_cpadhi_gpio2 { ++ brcm,pins = <2 3 4 5 6 7 8 9 ++ 12 13 14 15 16 17 ++ 20 21 22 23 24 25>; ++ brcm,function = ; ++ }; ++ dpi_18bit_gpio0: dpi_18bit_gpio0 { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19 ++ 20 21>; ++ brcm,function = ; ++ }; ++ dpi_18bit_gpio2: dpi_18bit_gpio2 { ++ brcm,pins = <2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19 ++ 20 21>; ++ brcm,function = ; ++ }; ++ dpi_16bit_gpio0: dpi_16bit_gpio0 { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19>; ++ brcm,function = ; ++ }; ++ dpi_16bit_gpio2: dpi_16bit_gpio2 { ++ brcm,pins = <2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19>; ++ brcm,function = ; ++ }; ++ dpi_16bit_cpadhi_gpio0: dpi_16bit_cpadhi_gpio0 { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 ++ 12 13 14 15 16 17 ++ 20 21 22 23 24>; ++ brcm,function = ; ++ }; ++ dpi_16bit_cpadhi_gpio2: dpi_16bit_cpadhi_gpio2 { ++ brcm,pins = <2 3 4 5 6 7 8 ++ 12 13 14 15 16 17 ++ 20 21 22 23 24>; ++ brcm,function = ; ++ }; ++}; ++ ++&uart0 { ++ /* Enable CTS bug workaround */ ++ cts-event-workaround; ++}; ++ ++&i2s { ++ #sound-dai-cells = <0>; ++ dmas = <&dma 2>, <&dma 3>; ++ dma-names = "tx", "rx"; ++}; ++ ++&sdhost { ++ dmas = <&dma (13|(1<<29))>; ++ dma-names = "rx-tx"; ++ bus-width = <4>; ++ brcm,overclock-50 = <0>; ++ brcm,pio-limit = <1>; ++ firmware = <&firmware>; ++}; ++ ++&spi0 { ++ dmas = <&dma 6>, <&dma 7>; ++ dma-names = "tx", "rx"; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-2-b.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-2-b.dts +new file mode 100644 +index 000000000000..ce48eb6073f0 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-2-b.dts +@@ -0,0 +1,204 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-smsc9514.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,2-model-b-rev2", "brcm,bcm2837"; ++ model = "Raspberry Pi 2 Model B rev 1.2"; ++}; ++ ++&gpio { ++ /* ++ * Taken from rpi_SCH_2b_1p2_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "SDA0", ++ "SCL0", ++ "NC", /* GPIO30 */ ++ "LAN_RUN", ++ "CAM_GPIO1", ++ "NC", /* GPIO33 */ ++ "NC", /* GPIO34 */ ++ "PWR_LOW_N", ++ "NC", /* GPIO36 */ ++ "NC", /* GPIO37 */ ++ "USB_LIMIT", ++ "NC", /* GPIO39 */ ++ "PWM0_OUT", ++ "CAM_GPIO0", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ "ETH_CLK", ++ "PWM1_OUT", ++ "HDMI_HPD_N", ++ "STATUS_LED", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "input"; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 41 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts +new file mode 100644 +index 000000000000..8973985e9902 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts +@@ -0,0 +1,295 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-lan7515.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_44.dtsi" ++#include "bcm271x-rpi-bt.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; ++ model = "Raspberry Pi 3 Model B+"; ++ ++ aliases { ++ serial0 = &uart1; ++ serial1 = &uart0; ++ mmc1 = &mmcnr; ++ }; ++}; ++ ++&gpio { ++ /* ++ * Taken from rpi_SCH_3bplus_1p0_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "HDMI_HPD_N", ++ "STATUS_LED_G", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ "PWM0_OUT", ++ "PWM1_OUT", ++ "ETH_CLK", ++ "WIFI_CLK", ++ "SDA0", ++ "SCL0", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ sdio_pins: sdio_pins { ++ brcm,pins = <34 35 36 37 38 39>; ++ brcm,function = <7>; // alt3 = SD1 ++ brcm,pull = <0 2 2 2 2 2>; ++ }; ++ ++ bt_pins: bt_pins { ++ brcm,pins = <43>; ++ brcm,function = <4>; /* alt0:GPCLK2 */ ++ brcm,pull = <0>; ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <32 33>; ++ brcm,function = <7>; /* alt3=UART0 */ ++ brcm,pull = <0 2>; ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33 30 31>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2 2 0>; ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 41>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ }; ++}; ++ ++&firmware { ++ expgpio: expgpio { ++ compatible = "raspberrypi,firmware-gpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ gpio-line-names = "BT_ON", ++ "WL_ON", ++ "PWR_LED_R", ++ "LAN_RUN", ++ "NC", ++ "CAM_GPIO0", ++ "CAM_GPIO1", ++ "NC"; ++ status = "okay"; ++ }; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>; ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 29 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "default-on"; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++ð_phy { ++ microchip,eee-enabled; ++ microchip,tx-lpi-timer = <600>; /* non-aggressive*/ ++ microchip,downshift-after = <2>; ++}; ++ ++&cam1_reg { ++ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ ++ eee = <ð_phy>,"microchip,eee-enabled?"; ++ tx_lpi_timer = <ð_phy>,"microchip,tx-lpi-timer:0"; ++ eth_led0 = <ð_phy>,"microchip,led-modes:0"; ++ eth_led1 = <ð_phy>,"microchip,led-modes:4"; ++ eth_downshift_after = <ð_phy>,"microchip,downshift-after:0"; ++ eth_max_speed = <ð_phy>,"max-speed:0"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts +new file mode 100644 +index 000000000000..35e6e9900083 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts +@@ -0,0 +1,293 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-smsc9514.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_44.dtsi" ++#include "bcm271x-rpi-bt.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; ++ model = "Raspberry Pi 3 Model B"; ++ ++ aliases { ++ serial0 = &uart1; ++ serial1 = &uart0; ++ mmc1 = &mmcnr; ++ }; ++}; ++ ++&gpio { ++ /* ++ * Taken from rpi_SCH_3b_1p2_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "NC", /* GPIO 28 */ ++ "LAN_RUN_BOOT", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ "PWM0_OUT", ++ "PWM1_OUT", ++ "ETH_CLK", ++ "WIFI_CLK", ++ "SDA0", ++ "SCL0", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ sdio_pins: sdio_pins { ++ brcm,pins = <34 35 36 37 38 39>; ++ brcm,function = <7>; // alt3 = SD1 ++ brcm,pull = <0 2 2 2 2 2>; ++ }; ++ ++ bt_pins: bt_pins { ++ brcm,pins = <43>; ++ brcm,function = <4>; /* alt0:GPCLK2 */ ++ brcm,pull = <0>; ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <32 33>; ++ brcm,function = <7>; /* alt3=UART0 */ ++ brcm,pull = <0 2>; ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2>; ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 41>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ }; ++}; ++ ++&firmware { ++ expgpio: expgpio { ++ compatible = "raspberrypi,firmware-gpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ gpio-line-names = "BT_ON", ++ "WL_ON", ++ "STATUS_LED", ++ "LAN_RUN", ++ "HDMI_HPD_N", ++ "CAM_GPIO0", ++ "CAM_GPIO1", ++ "PWR_LOW_N"; ++ status = "okay"; ++ }; ++ ++ virtgpio: virtgpio { ++ compatible = "brcm,bcm2835-virtgpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ status = "okay"; ++ }; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>; ++ status = "okay"; ++}; ++ ++&bt { ++ max-speed = <921600>; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&virtgpio 0 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&expgpio 7 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "input"; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-cm3.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-cm3.dts +new file mode 100644 +index 000000000000..0d6e9e61f877 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-cm3.dts +@@ -0,0 +1,215 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-csi0-2lane.dtsi" ++#include "bcm283x-rpi-csi1-4lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,3-compute-module", "brcm,bcm2837"; ++ model = "Raspberry Pi Compute Module 3"; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 3 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++cam0_reg: &cam0_regulator { ++ gpio = <&gpio 31 GPIO_ACTIVE_HIGH>; ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "GPIO0", ++ "GPIO1", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "GPIO28", ++ "GPIO29", ++ "GPIO30", ++ "GPIO31", ++ "GPIO32", ++ "GPIO33", ++ "GPIO34", ++ "GPIO35", ++ "GPIO36", ++ "GPIO37", ++ "GPIO38", ++ "GPIO39", ++ "GPIO40", ++ "GPIO41", ++ "GPIO42", ++ "GPIO43", ++ "GPIO44", ++ "GPIO45", ++ "SMPS_SCL", ++ "SMPS_SDA", ++ /* Used by eMMC */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins; ++ brcm,function; ++ }; ++}; ++ ++&firmware { ++ expgpio: expgpio { ++ compatible = "raspberrypi,firmware-gpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ gpio-line-names = "HDMI_HPD_N", ++ "EMMC_EN_N", ++ "NC", ++ "NC", ++ "NC", ++ "NC", ++ "NC", ++ "NC"; ++ status = "okay"; ++ }; ++ ++ virtgpio: virtgpio { ++ compatible = "brcm,bcm2835-virtgpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ status = "okay"; ++ }; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&virtgpio 0 GPIO_ACTIVE_HIGH>; ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts +new file mode 100644 +index 000000000000..16971e50229f +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts +@@ -0,0 +1,257 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_44.dtsi" ++#include "bcm2708-rpi-bt.dtsi" ++#include "bcm283x-rpi-led-deprecated.dtsi" ++ ++/ { ++ compatible = "raspberrypi,model-zero-2-w", "brcm,bcm2837"; ++ model = "Raspberry Pi Zero 2 W"; ++ ++ aliases { ++ serial0 = &uart1; ++ serial1 = &uart0; ++ mmc1 = &mmcnr; ++ }; ++}; ++ ++&gpio { ++ /* ++ * This is based on the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "NC" = not connected (no rail from the SoC) ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "HDMI_HPD_N", ++ "STATUS_LED_N", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ "CAM_GPIO1", /* GPIO40 */ ++ "WL_ON", /* GPIO41 */ ++ "BT_ON", /* GPIO42 */ ++ "WIFI_CLK", /* GPIO43 */ ++ "SDA0", /* GPIO44 */ ++ "SCL0", /* GPIO45 */ ++ "SMPS_SCL", /* GPIO46 */ ++ "SMPS_SDA", /* GPIO47 */ ++ /* Used by SD Card */ ++ "SD_CLK_R", ++ "SD_CMD_R", ++ "SD_DATA0_R", ++ "SD_DATA1_R", ++ "SD_DATA2_R", ++ "SD_DATA3_R"; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ sdio_pins: sdio_pins { ++ brcm,pins = <34 35 36 37 38 39>; ++ brcm,function = <7>; // alt3 = SD1 ++ brcm,pull = <0 2 2 2 2 2>; ++ }; ++ ++ bt_pins: bt_pins { ++ brcm,pins = <43>; ++ brcm,function = <4>; /* alt0:GPCLK2 */ ++ brcm,pull = <0>; ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <30 31 32 33>; ++ brcm,function = <7>; /* alt3=UART0 */ ++ brcm,pull = <2 0 0 2>; /* up none none up */ ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33 30 31>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2 2 0>; ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++ }; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ }; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>; ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&led_act { ++ gpios = <&gpio 29 GPIO_ACTIVE_LOW>; ++ default-state = "off"; ++ linux,default-trigger = "actpwr"; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&bt { ++ shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; ++}; ++ ++&minibt { ++ shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 40 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2.dts b/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2.dts +new file mode 100644 +index 000000000000..daa12bd30d6b +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-zero-2.dts +@@ -0,0 +1 @@ ++#include "bcm2710-rpi-zero-2-w.dts" +diff --git a/arch/arm/boot/dts/broadcom/bcm2710.dtsi b/arch/arm/boot/dts/broadcom/bcm2710.dtsi +new file mode 100644 +index 000000000000..bdcdbb51fab8 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2710.dtsi +@@ -0,0 +1,32 @@ ++#define i2c0 i2c0if ++#include "bcm2837.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++ ++/ { ++ compatible = "brcm,bcm2837", "brcm,bcm2836"; ++ ++ arm-pmu { ++ compatible = "arm,cortex-a53-pmu", "arm,cortex-a7-pmu"; ++ }; ++ ++ soc { ++ dma-ranges = <0xc0000000 0x00000000 0x3f000000>, ++ <0x7e000000 0x3f000000 0x01000000>; ++ }; ++ ++ __overrides__ { ++ arm_freq = <&cpu0>, "clock-frequency:0", ++ <&cpu1>, "clock-frequency:0", ++ <&cpu2>, "clock-frequency:0", ++ <&cpu3>, "clock-frequency:0"; ++ }; ++}; ++ ++&system_timer { ++ status = "disabled"; ++}; ++ ++&vc4 { ++ status = "disabled"; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts +index 353bb50ce542..a4aae12775dc 100644 +--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts +@@ -1,11 +1,19 @@ + // SPDX-License-Identifier: GPL-2.0 + /dts-v1/; ++#define BCM2711 ++#define i2c0 i2c0if + #include "bcm2711.dtsi" + #include "bcm2711-rpi.dtsi" ++/delete-node/&i2c0mux; + #include "bcm283x-rpi-led-deprecated.dtsi" +-#include "bcm283x-rpi-usb-peripheral.dtsi" + #include "bcm283x-rpi-wifi-bt.dtsi" + #include ++#undef i2c0 ++#include "bcm270x.dtsi" ++#define i2c0 i2c0mux ++#undef i2c0 ++ ++/delete-node/ &cam1_reg; + + / { + compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; +@@ -68,7 +76,7 @@ &expgpio { + "VDD_SD_IO_SEL", + "CAM_GPIO", /* 5 */ + "SD_PWR_ON", +- ""; ++ "SD_OC_N"; + }; + + &gpio { +@@ -82,21 +90,21 @@ &gpio { + */ + gpio-line-names = "ID_SDA", /* 0 */ + "ID_SCL", +- "SDA1", +- "SCL1", +- "GPIO_GCLK", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", + "GPIO5", /* 5 */ + "GPIO6", +- "SPI_CE1_N", +- "SPI_CE0_N", +- "SPI_MISO", +- "SPI_MOSI", /* 10 */ +- "SPI_SCLK", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", /* 10 */ ++ "GPIO11", + "GPIO12", + "GPIO13", + /* Serial port */ +- "TXD1", +- "RXD1", /* 15 */ ++ "GPIO14", ++ "GPIO15", /* 15 */ + "GPIO16", + "GPIO17", + "GPIO18", +@@ -214,7 +222,7 @@ leds { + led@0 { + reg = <0>; + color = ; +- function = LED_FUNCTION_LAN; ++ function = "lan";//LED_FUNCTION_LAN; + default-state = "keep"; + }; + +@@ -222,7 +230,7 @@ led@0 { + led@1 { + reg = <1>; + color = ; +- function = LED_FUNCTION_LAN; ++ function = "lan";//LED_FUNCTION_LAN; + default-state = "keep"; + }; + }; +@@ -270,3 +278,233 @@ &vec { + &wifi_pwrseq { + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; + }; ++ ++// ============================================= ++// Downstream rpi- changes ++ ++#include "bcm271x-rpi-bt.dtsi" ++ ++/ { ++ soc { ++ /delete-node/ pixelvalve@7e807000; ++ /delete-node/ hdmi@7e902000; ++ }; ++}; ++ ++&phy1 { ++ /delete-node/ leds; ++}; ++ ++#include "bcm2711-rpi-ds.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_44.dtsi" ++ ++/ { ++ /delete-node/ wifi-pwrseq; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++}; ++ ++&uart0 { ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-0 = <&uart1_pins>; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&gpio { ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "RGMII_MDIO", ++ "RGMIO_MDC", ++ /* Used by BT module */ ++ "CTS0", /* 30 */ ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", /* 35 */ ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ /* Shared with SPI flash */ ++ "PWM0_MISO", /* 40 */ ++ "PWM1_MOSI", ++ "STATUS_LED_G_CLK", ++ "SPIFLASH_CE_N", ++ "SDA0", ++ "SCL0", /* 45 */ ++ "RGMII_RXCLK", ++ "RGMII_RXCTL", ++ "RGMII_RXD0", ++ "RGMII_RXD1", ++ "RGMII_RXD2", /* 50 */ ++ "RGMII_RXD3", ++ "RGMII_TXCLK", ++ "RGMII_TXCTL", ++ "RGMII_TXD0", ++ "RGMII_TXD1", /* 55 */ ++ "RGMII_TXD2", ++ "RGMII_TXD3"; ++ ++ bt_pins: bt_pins { ++ brcm,pins = "-"; // non-empty to keep btuart happy, //4 = 0 ++ // to fool pinctrl ++ brcm,function = <0>; ++ brcm,pull = <2>; ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <32 33>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33 30 31>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2 2 0>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++// ============================================= ++// Board specific stuff here ++ ++&sdhost { ++ status = "disabled"; ++}; ++ ++&phy1 { ++ led-modes = <0x00 0x08>; /* link/activity link */ ++}; ++ ++&gpio { ++ audio_pins: audio_pins { ++ brcm,pins = <40 41>; ++ brcm,function = <4>; ++ brcm,pull = <0>; ++ }; ++}; ++ ++&led_act { ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&led_pwr { ++ default-state = "off"; ++}; ++ ++&pwm1 { ++ status = "disabled"; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ ++ eth_led0 = <&phy1>,"led-modes:0"; ++ eth_led1 = <&phy1>,"led-modes:4"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts +index ca9be91b4f36..553fb0e24696 100644 +--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts +@@ -37,8 +37,53 @@ &led_pwr { + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + }; + +-/delete-node/ &led_act; +- + &pm { + /delete-property/ system-power-controller; + }; ++ ++// ============================================= ++// Downstream rpi- changes ++ ++/ { ++ chosen { ++ stdout-path = "serial0:115200n8"; ++ }; ++}; ++ ++&audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++}; ++ ++// Declare the LED but leave it disabled, in case a user wants to map it ++// to a GPIO on the header ++&led_act { ++ default-state = "off"; ++ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++&led_pwr { ++ default-state = "off"; ++}; ++ ++&cam1_reg { ++ /delete-property/ gpio; ++}; ++ ++cam0_reg: &cam_dummy_reg { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4", ++ <&led_act>,"status=okay"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts +new file mode 100644 +index 000000000000..668e31d67cf8 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts +@@ -0,0 +1,499 @@ ++// SPDX-License-Identifier: GPL-2.0 ++/dts-v1/; ++#define BCM2711 ++#define i2c0 i2c0if ++#include "bcm2711.dtsi" ++#include "bcm2711-rpi.dtsi" ++/delete-node/&i2c0mux; ++#include "bcm283x-rpi-led-deprecated.dtsi" ++#include "bcm283x-rpi-wifi-bt.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++#define i2c0 i2c0mux ++#undef i2c0 ++ ++/ { ++ compatible = "raspberrypi,4-compute-module", "brcm,bcm2711"; ++ model = "Raspberry Pi Compute Module 4"; ++ ++ chosen { ++ /* 8250 auxiliary UART instead of pl011 */ ++ stdout-path = "serial1:115200n8"; ++ }; ++ ++ sd_io_1v8_reg: sd_io_1v8_reg { ++ compatible = "regulator-gpio"; ++ regulator-name = "vdd-sd-io"; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-boot-on; ++ regulator-always-on; ++ regulator-settling-time-us = <5000>; ++ gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; ++ states = <1800000 0x1>, ++ <3300000 0x0>; ++ status = "okay"; ++ }; ++ ++ sd_vcc_reg: sd_vcc_reg { ++ compatible = "regulator-fixed"; ++ regulator-name = "vcc-sd"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>; ++ }; ++}; ++ ++&bt { ++ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; ++}; ++ ++&ddc0 { ++ status = "okay"; ++}; ++ ++&ddc1 { ++ status = "okay"; ++}; ++ ++&expgpio { ++ gpio-line-names = "BT_ON", ++ "WL_ON", ++ "PWR_LED_OFF", ++ "ANT1", ++ "VDD_SD_IO_SEL", ++ "CAM_GPIO", ++ "SD_PWR_ON", ++ "ANT2"; ++ ++ ant1: ant1 { ++ gpio-hog; ++ gpios = <3 GPIO_ACTIVE_HIGH>; ++ output-high; ++ }; ++ ++ ant2: ant2 { ++ gpio-hog; ++ gpios = <7 GPIO_ACTIVE_HIGH>; ++ output-low; ++ }; ++}; ++ ++&gpio { ++ /* ++ * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "SDA1", ++ "SCL1", ++ "GPIO_GCLK", ++ "GPIO5", ++ "GPIO6", ++ "SPI_CE1_N", ++ "SPI_CE0_N", ++ "SPI_MISO", ++ "SPI_MOSI", ++ "SPI_SCLK", ++ "GPIO12", ++ "GPIO13", ++ /* Serial port */ ++ "TXD1", ++ "RXD1", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "RGMII_MDIO", ++ "RGMIO_MDC", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ /* Shared with SPI flash */ ++ "PWM0_MISO", ++ "PWM1_MOSI", ++ "STATUS_LED_G_CLK", ++ "SPIFLASH_CE_N", ++ "SDA0", ++ "SCL0", ++ "RGMII_RXCLK", ++ "RGMII_RXCTL", ++ "RGMII_RXD0", ++ "RGMII_RXD1", ++ "RGMII_RXD2", ++ "RGMII_RXD3", ++ "RGMII_TXCLK", ++ "RGMII_TXCTL", ++ "RGMII_TXD0", ++ "RGMII_TXD1", ++ "RGMII_TXD2", ++ "RGMII_TXD3"; ++}; ++ ++&hdmi0 { ++ status = "okay"; ++}; ++ ++&hdmi1 { ++ status = "okay"; ++}; ++ ++&led_act { ++ gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; ++}; ++ ++&leds { ++ led_pwr: led-pwr { ++ label = "PWR"; ++ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; ++ default-state = "keep"; ++ linux,default-trigger = "default-on"; ++ }; ++}; ++ ++&pixelvalve0 { ++ status = "okay"; ++}; ++ ++&pixelvalve1 { ++ status = "okay"; ++}; ++ ++&pixelvalve2 { ++ status = "okay"; ++}; ++ ++&pixelvalve4 { ++ status = "okay"; ++}; ++ ++&pwm1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; ++ status = "okay"; ++}; ++ ++/* EMMC2 is used to drive the EMMC card */ ++&emmc2 { ++ bus-width = <8>; ++ vqmmc-supply = <&sd_io_1v8_reg>; ++ vmmc-supply = <&sd_vcc_reg>; ++ broken-cd; ++ status = "okay"; ++}; ++ ++&genet { ++ phy-handle = <&phy1>; ++ phy-mode = "rgmii-rxid"; ++ status = "okay"; ++}; ++ ++&genet_mdio { ++ phy1: ethernet-phy@0 { ++ /* No PHY interrupt */ ++ reg = <0x0>; ++ }; ++}; ++ ++&pcie0 { ++ pci@0,0 { ++ device_type = "pci"; ++ #address-cells = <3>; ++ #size-cells = <2>; ++ ranges; ++ ++ reg = <0 0 0 0 0>; ++ }; ++}; ++ ++/* uart0 communicates with the BT module */ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; ++ uart-has-rtscts; ++}; ++ ++/* uart1 is mapped to the pin header */ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_gpio14>; ++ status = "okay"; ++}; ++ ++&vc4 { ++ status = "okay"; ++}; ++ ++&vec { ++ status = "disabled"; ++}; ++ ++&wifi_pwrseq { ++ reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; ++}; ++ ++// ============================================= ++// Downstream rpi- changes ++ ++#include "bcm271x-rpi-bt.dtsi" ++ ++/ { ++ soc { ++ /delete-node/ pixelvalve@7e807000; ++ /delete-node/ hdmi@7e902000; ++ }; ++}; ++ ++#include "bcm2711-rpi-ds.dtsi" ++#include "bcm283x-rpi-csi0-2lane.dtsi" ++#include "bcm283x-rpi-csi1-4lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_44.dtsi" ++ ++/ { ++ /delete-node/ wifi-pwrseq; ++}; ++ ++&mmcnr { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&sdio_pins>; ++ bus-width = <4>; ++ status = "okay"; ++}; ++ ++&uart0 { ++ pinctrl-0 = <&uart0_pins &bt_pins>; ++ status = "okay"; ++}; ++ ++&uart1 { ++ pinctrl-0 = <&uart1_pins>; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&gpio { ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "RGMII_MDIO", ++ "RGMIO_MDC", ++ /* Used by BT module */ ++ "CTS0", ++ "RTS0", ++ "TXD0", ++ "RXD0", ++ /* Used by Wifi */ ++ "SD1_CLK", ++ "SD1_CMD", ++ "SD1_DATA0", ++ "SD1_DATA1", ++ "SD1_DATA2", ++ "SD1_DATA3", ++ /* Shared with SPI flash */ ++ "PWM0_MISO", ++ "PWM1_MOSI", ++ "STATUS_LED_G_CLK", ++ "SPIFLASH_CE_N", ++ "SDA0", ++ "SCL0", ++ "RGMII_RXCLK", ++ "RGMII_RXCTL", ++ "RGMII_RXD0", ++ "RGMII_RXD1", ++ "RGMII_RXD2", ++ "RGMII_RXD3", ++ "RGMII_TXCLK", ++ "RGMII_TXCTL", ++ "RGMII_TXD0", ++ "RGMII_TXD1", ++ "RGMII_TXD2", ++ "RGMII_TXD3"; ++ ++ bt_pins: bt_pins { ++ brcm,pins = "-"; // non-empty to keep btuart happy, //4 = 0 ++ // to fool pinctrl ++ brcm,function = <0>; ++ brcm,pull = <2>; ++ }; ++ ++ uart0_pins: uart0_pins { ++ brcm,pins = <32 33>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++ ++ uart1_pins: uart1_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++ ++ uart1_bt_pins: uart1_bt_pins { ++ brcm,pins = <32 33 30 31>; ++ brcm,function = ; /* alt5=UART1 */ ++ brcm,pull = <0 2 2 0>; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++// ============================================= ++// Board specific stuff here ++ ++&pcie0 { ++ brcm,enable-l1ss; ++}; ++ ++&sdhost { ++ status = "disabled"; ++}; ++ ++&phy1 { ++ led-modes = <0x00 0x08>; /* link/activity link */ ++}; ++ ++&gpio { ++ audio_pins: audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++ }; ++}; ++ ++&led_act { ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&led_pwr { ++ default-state = "off"; ++}; ++ ++&pwm1 { ++ status = "disabled"; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++cam0_reg: &cam1_reg { ++ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&led_pwr>,"gpios:4"; ++ pwr_led_activelow = <&led_pwr>,"gpios:8"; ++ pwr_led_trigger = <&led_pwr>,"linux,default-trigger"; ++ ++ eth_led0 = <&phy1>,"led-modes:0"; ++ eth_led1 = <&phy1>,"led-modes:4"; ++ ++ ant1 = <&ant1>,"output-high?=on", ++ <&ant1>, "output-low?=off", ++ <&ant2>, "output-high?=off", ++ <&ant2>, "output-low?=on"; ++ ant2 = <&ant1>,"output-high?=off", ++ <&ant1>, "output-low?=on", ++ <&ant2>, "output-high?=on", ++ <&ant2>, "output-low?=off"; ++ noant = <&ant1>,"output-high?=off", ++ <&ant1>, "output-low?=on", ++ <&ant2>, "output-high?=off", ++ <&ant2>, "output-low?=on"; ++ ++ pcie_tperst_clk_ms = <&pcie0>,"brcm,tperst-clk-ms:0"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4s.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4s.dts +new file mode 100644 +index 000000000000..badf2a2fc3e9 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4s.dts +@@ -0,0 +1,293 @@ ++// SPDX-License-Identifier: GPL-2.0 ++/dts-v1/; ++#define BCM2711 ++#define i2c0 i2c0if ++#include "bcm2711.dtsi" ++#include "bcm2711-rpi.dtsi" ++/delete-node/&i2c0mux; ++#include "bcm283x-rpi-led-deprecated.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++#define i2c0 i2c0mux ++#undef i2c0 ++ ++/ { ++ compatible = "raspberrypi,4-compute-module-s", "brcm,bcm2711"; ++ model = "Raspberry Pi Compute Module 4S"; ++}; ++ ++&ddc0 { ++ status = "okay"; ++}; ++ ++&gpio { ++ /* ++ * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and ++ * the official GPU firmware DT blob. ++ * ++ * Legend: ++ * "FOO" = GPIO line named "FOO" on the schematic ++ * "FOO_N" = GPIO line named "FOO" on schematic, active low ++ */ ++ gpio-line-names = "ID_SDA", ++ "ID_SCL", ++ "GPIO2", ++ "GPIO3", ++ "GPIO4", ++ "GPIO5", ++ "GPIO6", ++ "GPIO7", ++ "GPIO8", ++ "GPIO9", ++ "GPIO10", ++ "GPIO11", ++ "GPIO12", ++ "GPIO13", ++ "GPIO14", ++ "GPIO15", ++ "GPIO16", ++ "GPIO17", ++ "GPIO18", ++ "GPIO19", ++ "GPIO20", ++ "GPIO21", ++ "GPIO22", ++ "GPIO23", ++ "GPIO24", ++ "GPIO25", ++ "GPIO26", ++ "GPIO27", ++ "GPIO28", ++ "GPIO29", ++ "GPIO30", ++ "GPIO31", ++ "GPIO32", ++ "GPIO33", ++ "GPIO34", ++ "GPIO35", ++ "GPIO36", ++ "GPIO37", ++ "GPIO38", ++ "GPIO39", ++ "PWM0_MISO", ++ "PWM1_MOSI", ++ "GPIO42", ++ "GPIO43", ++ "GPIO44", ++ "GPIO45"; ++}; ++ ++&hdmi0 { ++ status = "okay"; ++}; ++ ++&led_act { ++ gpios = <&virtgpio 0 GPIO_ACTIVE_HIGH>; ++}; ++ ++&pixelvalve0 { ++ status = "okay"; ++}; ++ ++&pixelvalve1 { ++ status = "okay"; ++}; ++ ++&pixelvalve2 { ++ status = "okay"; ++}; ++ ++&pixelvalve4 { ++ status = "okay"; ++}; ++ ++&pwm1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; ++ status = "okay"; ++}; ++ ++/* EMMC2 is used to drive the EMMC card */ ++&emmc2 { ++ bus-width = <8>; ++ broken-cd; ++ status = "okay"; ++}; ++ ++&pcie0 { ++ status = "disabled"; ++}; ++ ++&vchiq { ++ interrupts = ; ++}; ++ ++&vc4 { ++ status = "okay"; ++}; ++ ++&vec { ++ status = "disabled"; ++}; ++ ++// ============================================= ++// Downstream rpi- changes ++ ++#include "bcm2711-rpi-ds.dtsi" ++ ++/ { ++ soc { ++ /delete-node/ pixelvalve@7e807000; ++ /delete-node/ hdmi@7e902000; ++ }; ++}; ++ ++#include "bcm283x-rpi-csi0-2lane.dtsi" ++#include "bcm283x-rpi-csi1-4lane.dtsi" ++#include "bcm283x-rpi-i2c0mux_0_28.dtsi" ++ ++/ { ++ chosen { ++ bootargs = "coherent_pool=1M snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave"; ++ }; ++ ++ aliases { ++ serial0 = &uart0; ++ serial1 = &uart1; ++ /delete-property/ i2c20; ++ /delete-property/ i2c21; ++ }; ++ ++ /delete-node/ wifi-pwrseq; ++}; ++ ++&firmware { ++ virtgpio: virtgpio { ++ compatible = "brcm,bcm2835-virtgpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ status = "okay"; ++ }; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pins>; ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&gpio { ++ uart0_pins: uart0_pins { ++ brcm,pins; ++ brcm,function; ++ brcm,pull; ++ }; ++}; ++ ++&i2c0if { ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++// ============================================= ++// Board specific stuff here ++ ++/* Enable USB in OTG-aware mode */ ++&usb { ++ compatible = "brcm,bcm2835-usb"; ++ dr_mode = "otg"; ++ g-np-tx-fifo-size = <32>; ++ g-rx-fifo-size = <558>; ++ g-tx-fifo-size = <512 512 512 512 512 256 256>; ++ status = "okay"; ++}; ++ ++&sdhost { ++ status = "disabled"; ++}; ++ ++&gpio { ++ audio_pins: audio_pins { ++ brcm,pins = <>; ++ brcm,function = <>; ++ }; ++}; ++ ++/* Permanently disable HDMI1 */ ++&hdmi1 { ++ compatible = "disabled"; ++}; ++ ++/* Permanently disable DDC1 */ ++&ddc1 { ++ compatible = "disabled"; ++}; ++ ++&led_act { ++ default-state = "off"; ++ linux,default-trigger = "mmc0"; ++}; ++ ++&pwm1 { ++ status = "disabled"; ++}; ++ ++&vchiq { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++&cam1_reg { ++ gpio = <&gpio 3 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++cam0_reg: &cam0_regulator { ++ gpio = <&gpio 31 GPIO_ACTIVE_HIGH>; ++ status = "disabled"; ++}; ++ ++i2c_csi_dsi0: &i2c0 { ++}; ++ ++/ { ++ __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ ++ act_led_gpio = <&led_act>,"gpios:4"; ++ act_led_activelow = <&led_act>,"gpios:8"; ++ act_led_trigger = <&led_act>,"linux,default-trigger"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi b/arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi +new file mode 100644 +index 000000000000..fd70dea32e3a +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi +@@ -0,0 +1,562 @@ ++// SPDX-License-Identifier: GPL-2.0 ++#include "bcm270x-rpi.dtsi" ++ ++/ { ++ chosen { ++ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave"; ++ }; ++ ++ __overrides__ { ++ arm_freq; ++ eee = <&chosen>,"bootargs{on='',off='genet.eee=N'}"; ++ hdmi = <&hdmi0>,"status", ++ <&hdmi1>,"status"; ++ nvmem_cust_rw = <&nvmem_cust>,"rw?"; ++ nvmem_priv_rw = <&nvmem_priv>,"rw?"; ++ pcie = <&pcie0>,"status"; ++ sd = <&emmc2>,"status"; ++ ++ sd_poll_once = <&emmc2>, "non-removable?"; ++ spi_dma4 = <&spi0>, "dmas:0=", <&dma40>, ++ <&spi0>, "dmas:8=", <&dma40>; ++ i2s_dma4 = <&i2s>, "dmas:0=", <&dma40>, ++ <&i2s>, "dmas:8=", <&dma40>; ++ }; ++ ++ scb: scb { ++ /* Add a label */ ++ }; ++ ++ soc: soc { ++ /* Add a label */ ++ }; ++ ++ chosen { ++ stdout-path = "serial0:115200n8"; ++ }; ++ ++ aliases { ++ uart2 = &uart2; ++ uart3 = &uart3; ++ uart4 = &uart4; ++ uart5 = &uart5; ++ serial0 = &uart1; ++ serial1 = &uart0; ++ serial2 = &uart2; ++ serial3 = &uart3; ++ serial4 = &uart4; ++ serial5 = &uart5; ++ mmc0 = &emmc2; ++ mmc1 = &mmcnr; ++ mmc2 = &sdhost; ++ i2c3 = &i2c3; ++ i2c4 = &i2c4; ++ i2c5 = &i2c5; ++ i2c6 = &i2c6; ++ i2c20 = &ddc0; ++ i2c21 = &ddc1; ++ spi3 = &spi3; ++ spi4 = &spi4; ++ spi5 = &spi5; ++ spi6 = &spi6; ++ /delete-property/ intc; ++ }; ++ ++ /* ++ * Add a node with a dma-ranges value that exists only to be found ++ * by of_dma_get_max_cpu_address, and hence limit the DMA zone. ++ */ ++ zone_dma { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ dma-ranges = <0x0 0x0 0x0 0x40000000>; ++ }; ++}; ++ ++&vc4 { ++ raspberrypi,firmware = <&firmware>; ++}; ++ ++&cma { ++ /* Limit cma to the lower 768MB to allow room for HIGHMEM on 32-bit */ ++ alloc-ranges = <0x0 0x00000000 0x30000000>; ++}; ++ ++&soc { ++ /* Add the physical <-> DMA mapping for the I/O space */ ++ dma-ranges = <0xc0000000 0x0 0x00000000 0x40000000>, ++ <0x7c000000 0x0 0xfc000000 0x03800000>; ++ nvmem { ++ compatible = "simple-bus"; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ++ nvmem_otp: nvmem_otp { ++ compatible = "raspberrypi,rpi-otp"; ++ firmware = <&firmware>; ++ reg = <0 166>; ++ status = "okay"; ++ }; ++ ++ nvmem_cust: nvmem_cust { ++ compatible = "raspberrypi,rpi-otp"; ++ firmware = <&firmware>; ++ reg = <1 8>; ++ status = "okay"; ++ }; ++ ++ nvmem_priv: nvmem_priv { ++ compatible = "raspberrypi,rpi-otp"; ++ firmware = <&firmware>; ++ reg = <3 8>; ++ status = "okay"; ++ }; ++ }; ++}; ++ ++&scb { ++ #size-cells = <2>; ++ ++ ranges = <0x0 0x7c000000 0x0 0xfc000000 0x0 0x03800000>, ++ <0x0 0x40000000 0x0 0xff800000 0x0 0x00800000>, ++ <0x6 0x00000000 0x6 0x00000000 0x0 0x40000000>, ++ <0x0 0x00000000 0x0 0x00000000 0x0 0xfc000000>; ++ dma-ranges = <0x4 0x7c000000 0x0 0xfc000000 0x0 0x03800000>, ++ <0x0 0x00000000 0x0 0x00000000 0x4 0x00000000>; ++ ++ dma40: dma@7e007b00 { ++ compatible = "brcm,bcm2711-dma"; ++ reg = <0x0 0x7e007b00 0x0 0x400>; ++ interrupts = ++ , /* dma4 11 */ ++ , /* dma4 12 */ ++ , /* dma4 13 */ ++ ; /* dma4 14 */ ++ interrupt-names = "dma11", ++ "dma12", ++ "dma13", ++ "dma14"; ++ #dma-cells = <1>; ++ brcm,dma-channel-mask = <0x7800>; ++ }; ++ ++ xhci: xhci@7e9c0000 { ++ compatible = "generic-xhci"; ++ status = "disabled"; ++ reg = <0x0 0x7e9c0000 0x0 0x100000>; ++ interrupts = ; ++ power-domains = <&power RPI_POWER_DOMAIN_USB>; ++ }; ++ ++ codec@7eb10000 { ++ compatible = "raspberrypi,rpivid-vid-decoder"; ++ reg = <0x0 0x7eb10000 0x0 0x1000>, /* INTC */ ++ <0x0 0x7eb00000 0x0 0x10000>; /* HEVC */ ++ reg-names = "intc", ++ "hevc"; ++ interrupts = ; ++ ++ clocks = <&firmware_clocks 11>; ++ clock-names = "hevc"; ++ }; ++}; ++ ++&pcie0 { ++ reg = <0x0 0x7d500000 0x0 0x9310>; ++ ranges = <0x02000000 0x0 0xc0000000 0x6 0x00000000 ++ 0x0 0x40000000>; ++}; ++ ++&genet { ++ reg = <0x0 0x7d580000 0x0 0x10000>; ++}; ++ ++&dma40 { ++ /* The VPU firmware uses DMA channel 11 for VCHIQ */ ++ brcm,dma-channel-mask = <0x7000>; ++}; ++ ++&vchiq { ++ compatible = "brcm,bcm2711-vchiq"; ++}; ++ ++&firmwarekms { ++ compatible = "raspberrypi,rpi-firmware-kms-2711"; ++ interrupts = ; ++}; ++ ++&smi { ++ interrupts = ; ++}; ++ ++&mmc { ++ interrupts = ; ++}; ++ ++&mmcnr { ++ interrupts = ; ++}; ++ ++&csi0 { ++ interrupts = ; ++}; ++ ++&csi1 { ++ interrupts = ; ++}; ++ ++&random { ++ compatible = "brcm,bcm2711-rng200"; ++ status = "okay"; ++}; ++ ++&usb { ++ /* Enable the FIQ support */ ++ reg = <0x7e980000 0x10000>, ++ <0x7e00b200 0x200>; ++ interrupts = , ++ ; ++ status = "disabled"; ++}; ++ ++&gpio { ++ interrupts = , ++ ; ++ ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = ; ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = ; ++ }; ++ ++ spi3_pins: spi3_pins { ++ brcm,pins = <1 2 3>; ++ brcm,function = ; ++ }; ++ ++ spi3_cs_pins: spi3_cs_pins { ++ brcm,pins = <0 24>; ++ brcm,function = ; ++ }; ++ ++ spi4_pins: spi4_pins { ++ brcm,pins = <5 6 7>; ++ brcm,function = ; ++ }; ++ ++ spi4_cs_pins: spi4_cs_pins { ++ brcm,pins = <4 25>; ++ brcm,function = ; ++ }; ++ ++ spi5_pins: spi5_pins { ++ brcm,pins = <13 14 15>; ++ brcm,function = ; ++ }; ++ ++ spi5_cs_pins: spi5_cs_pins { ++ brcm,pins = <12 26>; ++ brcm,function = ; ++ }; ++ ++ spi6_pins: spi6_pins { ++ brcm,pins = <19 20 21>; ++ brcm,function = ; ++ }; ++ ++ spi6_cs_pins: spi6_cs_pins { ++ brcm,pins = <18 27>; ++ brcm,function = ; ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2c3_pins: i2c3 { ++ brcm,pins = <4 5>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2c4_pins: i2c4 { ++ brcm,pins = <8 9>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2c5_pins: i2c5 { ++ brcm,pins = <12 13>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2c6_pins: i2c6 { ++ brcm,pins = <22 23>; ++ brcm,function = ; ++ brcm,pull = ; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = ; ++ }; ++ ++ sdio_pins: sdio_pins { ++ brcm,pins = <34 35 36 37 38 39>; ++ brcm,function = ; // alt3 = SD1 ++ brcm,pull = <0 2 2 2 2 2>; ++ }; ++ ++ uart2_pins: uart2_pins { ++ brcm,pins = <0 1>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++ ++ uart3_pins: uart3_pins { ++ brcm,pins = <4 5>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++ ++ uart4_pins: uart4_pins { ++ brcm,pins = <8 9>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++ ++ uart5_pins: uart5_pins { ++ brcm,pins = <12 13>; ++ brcm,function = ; ++ brcm,pull = <0 2>; ++ }; ++}; ++ ++&emmc2 { ++ mmc-ddr-3_3v; ++}; ++ ++&vc4 { ++ status = "disabled"; ++}; ++ ++&pixelvalve0 { ++ status = "disabled"; ++}; ++ ++&pixelvalve1 { ++ status = "disabled"; ++}; ++ ++&pixelvalve2 { ++ status = "disabled"; ++}; ++ ++&pixelvalve3 { ++ status = "disabled"; ++}; ++ ++&pixelvalve4 { ++ status = "disabled"; ++}; ++ ++&hdmi0 { ++ reg = <0x7ef00700 0x300>, ++ <0x7ef00300 0x200>, ++ <0x7ef00f00 0x80>, ++ <0x7ef00f80 0x80>, ++ <0x7ef01b00 0x200>, ++ <0x7ef01f00 0x400>, ++ <0x7ef00200 0x80>, ++ <0x7ef04300 0x100>, ++ <0x7ef20000 0x100>, ++ <0x7ef00100 0x30>; ++ reg-names = "hdmi", ++ "dvp", ++ "phy", ++ "rm", ++ "packet", ++ "metadata", ++ "csc", ++ "cec", ++ "hd", ++ "intr2"; ++ clocks = <&firmware_clocks 13>, ++ <&firmware_clocks 14>, ++ <&dvp 0>, ++ <&clk_27MHz>; ++ dmas = <&dma40 (10|(1<<30)|(1<<24)|(10<<16)|(15<<20))>; ++ status = "disabled"; ++}; ++ ++&ddc0 { ++ status = "disabled"; ++}; ++ ++&hdmi1 { ++ reg = <0x7ef05700 0x300>, ++ <0x7ef05300 0x200>, ++ <0x7ef05f00 0x80>, ++ <0x7ef05f80 0x80>, ++ <0x7ef06b00 0x200>, ++ <0x7ef06f00 0x400>, ++ <0x7ef00280 0x80>, ++ <0x7ef09300 0x100>, ++ <0x7ef20000 0x100>, ++ <0x7ef00100 0x30>; ++ reg-names = "hdmi", ++ "dvp", ++ "phy", ++ "rm", ++ "packet", ++ "metadata", ++ "csc", ++ "cec", ++ "hd", ++ "intr2"; ++ clocks = <&firmware_clocks 13>, ++ <&firmware_clocks 14>, ++ <&dvp 1>, ++ <&clk_27MHz>; ++ dmas = <&dma40 (17|(1<<30)|(1<<24)|(10<<16)|(15<<20))>; ++ status = "disabled"; ++}; ++ ++&ddc1 { ++ status = "disabled"; ++}; ++ ++&dvp { ++ status = "disabled"; ++}; ++ ++&vec { ++ clocks = <&firmware_clocks 15>; ++}; ++ ++&aon_intr { ++ interrupts = ; ++ status = "disabled"; ++}; ++ ++&system_timer { ++ status = "disabled"; ++}; ++ ++&i2c0 { ++ /delete-property/ compatible; ++ /delete-property/ interrupts; ++}; ++ ++&i2c0if { ++ compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; ++ interrupts = ; ++}; ++ ++i2c_arm: &i2c1 {}; ++i2c_vc: &i2c0 {}; ++ ++&i2c3 { ++ pinctrl-0 = <&i2c3_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&i2c4 { ++ pinctrl-0 = <&i2c4_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&i2c5 { ++ pinctrl-0 = <&i2c5_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&i2c6 { ++ pinctrl-0 = <&i2c6_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&spi3 { ++ pinctrl-0 = <&spi3_pins &spi3_cs_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&spi4 { ++ pinctrl-0 = <&spi4_pins &spi4_cs_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&spi5 { ++ pinctrl-0 = <&spi5_pins &spi5_cs_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&spi6 { ++ pinctrl-0 = <&spi6_pins &spi6_cs_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&uart2 { ++ pinctrl-0 = <&uart2_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&uart3 { ++ pinctrl-0 = <&uart3_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&uart4 { ++ pinctrl-0 = <&uart4_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&uart5 { ++ pinctrl-0 = <&uart5_pins>; ++ pinctrl-names = "default"; ++}; ++ ++&axiperf { ++ compatible = "brcm,bcm2711-axiperf"; ++}; ++ ++/delete-node/ &v3d; ++ ++/ { ++ v3dbus: v3dbus { ++ compatible = "simple-bus"; ++ #address-cells = <1>; ++ #size-cells = <2>; ++ ranges = <0x7c500000 0x0 0xfc500000 0x0 0x03300000>, ++ <0x40000000 0x0 0xff800000 0x0 0x00800000>; ++ dma-ranges = <0x00000000 0x0 0x00000000 0x4 0x00000000>; ++ ++ v3d: v3d@7ec04000 { ++ compatible = "brcm,2711-v3d"; ++ reg = ++ <0x7ec00000 0x0 0x4000>, ++ <0x7ec04000 0x0 0x4000>; ++ reg-names = "hub", "core0"; ++ ++ power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; ++ resets = <&pm BCM2835_RESET_V3D>; ++ clocks = <&firmware_clocks 5>; ++ clocks-names = "v3d"; ++ interrupts = ; ++ status = "disabled"; ++ }; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi b/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi +index c78ed064d166..da5f54e7dd24 100644 +--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi ++++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi +@@ -15,6 +15,7 @@ aliases { + ethernet0 = &genet; + pcie0 = &pcie0; + blconfig = &blconfig; ++ blpubkey = &blpubkey; + }; + + i2c0mux: i2c-mux0 { +@@ -91,6 +92,18 @@ blconfig: nvram@0 { + no-map; + status = "disabled"; + }; ++ /* ++ * RPi4 will copy the binary public key blob (if present) from the bootloader ++ * into memory for use by the OS. ++ */ ++ blpubkey: nvram@1 { ++ compatible = "raspberrypi,bootloader-public-key", "nvmem-rmem"; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ reg = <0x0 0x0 0x0>; ++ no-map; ++ status = "disabled"; ++ }; + }; + + &v3d { +diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi +index 93174b596373..f24b518772dd 100644 +--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi ++++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi +@@ -277,7 +277,7 @@ pwm1: pwm@7e20c800 { + reg = <0x7e20c800 0x28>; + clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; +- assigned-clock-rates = <10000000>; ++ assigned-clock-rates = <50000000>; + #pwm-cells = <3>; + status = "disabled"; + }; +diff --git a/arch/arm/boot/dts/broadcom/bcm271x-rpi-bt.dtsi b/arch/arm/boot/dts/broadcom/bcm271x-rpi-bt.dtsi +new file mode 100644 +index 000000000000..c77e280ccd16 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm271x-rpi-bt.dtsi +@@ -0,0 +1,42 @@ ++// SPDX-License-Identifier: GPL-2.0 ++ ++&uart0 { ++ bt: bluetooth { ++ compatible = "brcm,bcm43438-bt"; ++ max-speed = <3000000>; ++ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; ++ local-bd-address = [ 00 00 00 00 00 00 ]; ++ fallback-bd-address; // Don't override a valid address ++ status = "okay"; ++ }; ++}; ++ ++&uart1 { ++ minibt: bluetooth { ++ compatible = "brcm,bcm43438-bt"; ++ max-speed = <230400>; ++ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; ++ local-bd-address = [ 00 00 00 00 00 00 ]; ++ fallback-bd-address; // Don't override a valid address ++ status = "disabled"; ++ }; ++}; ++ ++/ { ++ chosen { ++ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory"; ++ }; ++ ++ aliases { ++ bluetooth = &bt; ++ }; ++ ++ __overrides__ { ++ bdaddr = <&bt>,"local-bd-address[", ++ <&bt>,"fallback-bd-address?=0", ++ <&minibt>,"local-bd-address[", ++ <&minibt>,"fallback-bd-address?=0"; ++ krnbt = <&bt>,"status"; ++ krnbt_baudrate = <&bt>,"max-speed:0", <&minibt>,"max-speed:0"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi0-2lane.dtsi b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi0-2lane.dtsi +new file mode 100644 +index 000000000000..6e4ce8622b47 +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi0-2lane.dtsi +@@ -0,0 +1,4 @@ ++// SPDX-License-Identifier: GPL-2.0-only ++&csi0 { ++ brcm,num-data-lanes = <2>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-2lane.dtsi b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-2lane.dtsi +new file mode 100644 +index 000000000000..6938f4daacdc +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-2lane.dtsi +@@ -0,0 +1,4 @@ ++// SPDX-License-Identifier: GPL-2.0-only ++&csi1 { ++ brcm,num-data-lanes = <2>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-4lane.dtsi b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-4lane.dtsi +new file mode 100644 +index 000000000000..b37037437bee +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm283x-rpi-csi1-4lane.dtsi +@@ -0,0 +1,4 @@ ++// SPDX-License-Identifier: GPL-2.0-only ++&csi1 { ++ brcm,num-data-lanes = <4>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_28.dtsi b/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_28.dtsi +new file mode 100644 +index 000000000000..38f0074bce3f +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_28.dtsi +@@ -0,0 +1,4 @@ ++&i2c0mux { ++ pinctrl-0 = <&i2c0_gpio0>; ++ pinctrl-1 = <&i2c0_gpio28>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_44.dtsi b/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_44.dtsi +new file mode 100644 +index 000000000000..119946d878db +--- /dev/null ++++ b/arch/arm/boot/dts/broadcom/bcm283x-rpi-i2c0mux_0_44.dtsi +@@ -0,0 +1,4 @@ ++&i2c0mux { ++ pinctrl-0 = <&i2c0_gpio0>; ++ pinctrl-1 = <&i2c0_gpio44>; ++}; +diff --git a/arch/arm/boot/dts/broadcom/bcm283x.dtsi b/arch/arm/boot/dts/broadcom/bcm283x.dtsi +index 69b0919f1324..562c4e9d08cc 100644 +--- a/arch/arm/boot/dts/broadcom/bcm283x.dtsi ++++ b/arch/arm/boot/dts/broadcom/bcm283x.dtsi +@@ -363,7 +363,7 @@ dsi0: dsi@7e209000 { + #size-cells = <0>; + #clock-cells = <1>; + +- clocks = <&clocks BCM2835_PLLA_DSI0>, ++ clocks = <&clocks BCM2835_PLLD_DSI0>, + <&clocks BCM2835_CLOCK_DSI0E>, + <&clocks BCM2835_CLOCK_DSI0P>; + clock-names = "phy", "escape", "pixel"; +@@ -415,7 +415,7 @@ pwm: pwm@7e20c000 { + reg = <0x7e20c000 0x28>; + clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; +- assigned-clock-rates = <10000000>; ++ assigned-clock-rates = <50000000>; + #pwm-cells = <3>; + status = "disabled"; + }; +@@ -502,6 +502,10 @@ usb: usb@7e980000 { + }; + + clocks { ++ compatible = "simple-bus"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ + /* The oscillator is the root of the clock tree. */ + clk_osc: clk-osc { + compatible = "fixed-clock"; +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +new file mode 100644 +index 000000000000..5e43c52116c2 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -0,0 +1,349 @@ ++# Overlays for the Raspberry Pi platform ++ ++dtb-$(CONFIG_ARCH_BCM2835) += overlay_map.dtb hat_map.dtb README ++ ++dtbo-$(CONFIG_ARCH_BCM2835) += \ ++ act-led.dtbo \ ++ adafruit-st7735r.dtbo \ ++ adafruit18.dtbo \ ++ adau1977-adc.dtbo \ ++ adau7002-simple.dtbo \ ++ ads1015.dtbo \ ++ ads1115.dtbo \ ++ ads7846.dtbo \ ++ adv7282m.dtbo \ ++ adv728x-m.dtbo \ ++ akkordion-iqdacplus.dtbo \ ++ allo-boss-dac-pcm512x-audio.dtbo \ ++ allo-boss2-dac-audio.dtbo \ ++ allo-digione.dtbo \ ++ allo-katana-dac-audio.dtbo \ ++ allo-piano-dac-pcm512x-audio.dtbo \ ++ allo-piano-dac-plus-pcm512x-audio.dtbo \ ++ anyspi.dtbo \ ++ apds9960.dtbo \ ++ applepi-dac.dtbo \ ++ arducam-64mp.dtbo \ ++ arducam-pivariety.dtbo \ ++ at86rf233.dtbo \ ++ audioinjector-addons.dtbo \ ++ audioinjector-bare-i2s.dtbo \ ++ audioinjector-isolated-soundcard.dtbo \ ++ audioinjector-ultra.dtbo \ ++ audioinjector-wm8731-audio.dtbo \ ++ audiosense-pi.dtbo \ ++ audremap.dtbo \ ++ balena-fin.dtbo \ ++ bcm2712d0.dtbo \ ++ camera-mux-2port.dtbo \ ++ camera-mux-4port.dtbo \ ++ cap1106.dtbo \ ++ chipcap2.dtbo \ ++ chipdip-dac.dtbo \ ++ cirrus-wm5102.dtbo \ ++ cm-swap-i2c0.dtbo \ ++ cma.dtbo \ ++ crystalfontz-cfa050_pi_m.dtbo \ ++ cutiepi-panel.dtbo \ ++ dacberry400.dtbo \ ++ dht11.dtbo \ ++ dionaudio-kiwi.dtbo \ ++ dionaudio-loco.dtbo \ ++ dionaudio-loco-v2.dtbo \ ++ disable-bt.dtbo \ ++ disable-bt-pi5.dtbo \ ++ disable-emmc2.dtbo \ ++ disable-wifi.dtbo \ ++ disable-wifi-pi5.dtbo \ ++ dpi18.dtbo \ ++ dpi18cpadhi.dtbo \ ++ dpi24.dtbo \ ++ draws.dtbo \ ++ dwc-otg.dtbo \ ++ dwc2.dtbo \ ++ edt-ft5406.dtbo \ ++ enc28j60.dtbo \ ++ enc28j60-spi2.dtbo \ ++ exc3000.dtbo \ ++ fbtft.dtbo \ ++ fe-pi-audio.dtbo \ ++ fsm-demo.dtbo \ ++ gc9a01.dtbo \ ++ ghost-amp.dtbo \ ++ goodix.dtbo \ ++ googlevoicehat-soundcard.dtbo \ ++ gpio-charger.dtbo \ ++ gpio-fan.dtbo \ ++ gpio-hog.dtbo \ ++ gpio-ir.dtbo \ ++ gpio-ir-tx.dtbo \ ++ gpio-key.dtbo \ ++ gpio-led.dtbo \ ++ gpio-no-bank0-irq.dtbo \ ++ gpio-no-irq.dtbo \ ++ gpio-poweroff.dtbo \ ++ gpio-shutdown.dtbo \ ++ hd44780-i2c-lcd.dtbo \ ++ hd44780-lcd.dtbo \ ++ hdmi-backlight-hwhack-gpio.dtbo \ ++ hifiberry-adc.dtbo \ ++ hifiberry-adc8x.dtbo \ ++ hifiberry-amp.dtbo \ ++ hifiberry-amp100.dtbo \ ++ hifiberry-amp3.dtbo \ ++ hifiberry-amp4pro.dtbo \ ++ hifiberry-dac.dtbo \ ++ hifiberry-dac8x.dtbo \ ++ hifiberry-dacplus.dtbo \ ++ hifiberry-dacplus-pro.dtbo \ ++ hifiberry-dacplus-std.dtbo \ ++ hifiberry-dacplusadc.dtbo \ ++ hifiberry-dacplusadcpro.dtbo \ ++ hifiberry-dacplusdsp.dtbo \ ++ hifiberry-dacplushd.dtbo \ ++ hifiberry-digi.dtbo \ ++ hifiberry-digi-pro.dtbo \ ++ highperi.dtbo \ ++ hy28a.dtbo \ ++ hy28b.dtbo \ ++ hy28b-2017.dtbo \ ++ i-sabre-q2m.dtbo \ ++ i2c-bcm2708.dtbo \ ++ i2c-fan.dtbo \ ++ i2c-gpio.dtbo \ ++ i2c-mux.dtbo \ ++ i2c-pwm-pca9685a.dtbo \ ++ i2c-rtc.dtbo \ ++ i2c-rtc-gpio.dtbo \ ++ i2c-sensor.dtbo \ ++ i2c0.dtbo \ ++ i2c0-pi5.dtbo \ ++ i2c1.dtbo \ ++ i2c1-pi5.dtbo \ ++ i2c2-pi5.dtbo \ ++ i2c3.dtbo \ ++ i2c3-pi5.dtbo \ ++ i2c4.dtbo \ ++ i2c5.dtbo \ ++ i2c6.dtbo \ ++ i2s-dac.dtbo \ ++ i2s-gpio28-31.dtbo \ ++ i2s-master-dac.dtbo \ ++ ilitek251x.dtbo \ ++ imx219.dtbo \ ++ imx258.dtbo \ ++ imx290.dtbo \ ++ imx296.dtbo \ ++ imx327.dtbo \ ++ imx378.dtbo \ ++ imx462.dtbo \ ++ imx477.dtbo \ ++ imx500.dtbo \ ++ imx500-pi5.dtbo \ ++ imx519.dtbo \ ++ imx708.dtbo \ ++ interludeaudio-analog.dtbo \ ++ interludeaudio-digital.dtbo \ ++ iqaudio-codec.dtbo \ ++ iqaudio-dac.dtbo \ ++ iqaudio-dacplus.dtbo \ ++ iqaudio-digi-wm8804-audio.dtbo \ ++ iqs550.dtbo \ ++ irs1125.dtbo \ ++ jedec-spi-nor.dtbo \ ++ justboom-both.dtbo \ ++ justboom-dac.dtbo \ ++ justboom-digi.dtbo \ ++ ltc294x.dtbo \ ++ max98357a.dtbo \ ++ maxtherm.dtbo \ ++ mbed-dac.dtbo \ ++ mcp23017.dtbo \ ++ mcp23s17.dtbo \ ++ mcp2515.dtbo \ ++ mcp2515-can0.dtbo \ ++ mcp2515-can1.dtbo \ ++ mcp251xfd.dtbo \ ++ mcp3008.dtbo \ ++ mcp3202.dtbo \ ++ mcp342x.dtbo \ ++ media-center.dtbo \ ++ merus-amp.dtbo \ ++ midi-uart0.dtbo \ ++ midi-uart0-pi5.dtbo \ ++ midi-uart1.dtbo \ ++ midi-uart1-pi5.dtbo \ ++ midi-uart2.dtbo \ ++ midi-uart2-pi5.dtbo \ ++ midi-uart3.dtbo \ ++ midi-uart3-pi5.dtbo \ ++ midi-uart4.dtbo \ ++ midi-uart4-pi5.dtbo \ ++ midi-uart5.dtbo \ ++ minipitft13.dtbo \ ++ miniuart-bt.dtbo \ ++ mipi-dbi-spi.dtbo \ ++ mlx90640.dtbo \ ++ mmc.dtbo \ ++ mz61581.dtbo \ ++ ov2311.dtbo \ ++ ov5647.dtbo \ ++ ov64a40.dtbo \ ++ ov7251.dtbo \ ++ ov9281.dtbo \ ++ papirus.dtbo \ ++ pca953x.dtbo \ ++ pcf857x.dtbo \ ++ pcie-32bit-dma.dtbo \ ++ pcie-32bit-dma-pi5.dtbo \ ++ pciex1-compat-pi5.dtbo \ ++ pibell.dtbo \ ++ pifacedigital.dtbo \ ++ pifi-40.dtbo \ ++ pifi-dac-hd.dtbo \ ++ pifi-dac-zero.dtbo \ ++ pifi-mini-210.dtbo \ ++ piglow.dtbo \ ++ pineboards-hat-ai.dtbo \ ++ pineboards-hatdrive-poe-plus.dtbo \ ++ piscreen.dtbo \ ++ piscreen2r.dtbo \ ++ pisound.dtbo \ ++ pisound-pi5.dtbo \ ++ pitft22.dtbo \ ++ pitft28-capacitive.dtbo \ ++ pitft28-resistive.dtbo \ ++ pitft35-resistive.dtbo \ ++ pps-gpio.dtbo \ ++ proto-codec.dtbo \ ++ pwm.dtbo \ ++ pwm-2chan.dtbo \ ++ pwm-gpio.dtbo \ ++ pwm-ir-tx.dtbo \ ++ pwm1.dtbo \ ++ qca7000.dtbo \ ++ qca7000-uart0.dtbo \ ++ ramoops.dtbo \ ++ ramoops-pi4.dtbo \ ++ rotary-encoder.dtbo \ ++ rpi-backlight.dtbo \ ++ rpi-codeczero.dtbo \ ++ rpi-dacplus.dtbo \ ++ rpi-dacpro.dtbo \ ++ rpi-digiampplus.dtbo \ ++ rpi-ft5406.dtbo \ ++ rpi-poe.dtbo \ ++ rpi-poe-plus.dtbo \ ++ rpi-sense.dtbo \ ++ rpi-sense-v2.dtbo \ ++ rpi-tv.dtbo \ ++ rra-digidac1-wm8741-audio.dtbo \ ++ sainsmart18.dtbo \ ++ sc16is750-i2c.dtbo \ ++ sc16is750-spi0.dtbo \ ++ sc16is752-i2c.dtbo \ ++ sc16is752-spi0.dtbo \ ++ sc16is752-spi1.dtbo \ ++ sdhost.dtbo \ ++ sdio.dtbo \ ++ sdio-pi5.dtbo \ ++ seeed-can-fd-hat-v1.dtbo \ ++ seeed-can-fd-hat-v2.dtbo \ ++ sh1106-spi.dtbo \ ++ si446x-spi0.dtbo \ ++ smi.dtbo \ ++ smi-dev.dtbo \ ++ smi-nand.dtbo \ ++ spi-gpio35-39.dtbo \ ++ spi-gpio40-45.dtbo \ ++ spi-rtc.dtbo \ ++ spi0-0cs.dtbo \ ++ spi0-1cs.dtbo \ ++ spi0-2cs.dtbo \ ++ spi1-1cs.dtbo \ ++ spi1-2cs.dtbo \ ++ spi1-3cs.dtbo \ ++ spi2-1cs.dtbo \ ++ spi2-1cs-pi5.dtbo \ ++ spi2-2cs.dtbo \ ++ spi2-2cs-pi5.dtbo \ ++ spi2-3cs.dtbo \ ++ spi3-1cs.dtbo \ ++ spi3-1cs-pi5.dtbo \ ++ spi3-2cs.dtbo \ ++ spi3-2cs-pi5.dtbo \ ++ spi4-1cs.dtbo \ ++ spi4-2cs.dtbo \ ++ spi5-1cs.dtbo \ ++ spi5-1cs-pi5.dtbo \ ++ spi5-2cs.dtbo \ ++ spi5-2cs-pi5.dtbo \ ++ spi6-1cs.dtbo \ ++ spi6-2cs.dtbo \ ++ ssd1306.dtbo \ ++ ssd1306-spi.dtbo \ ++ ssd1327-spi.dtbo \ ++ ssd1331-spi.dtbo \ ++ ssd1351-spi.dtbo \ ++ sunfounder-pipower3.dtbo \ ++ sunfounder-pironman5.dtbo \ ++ superaudioboard.dtbo \ ++ sx150x.dtbo \ ++ tc358743.dtbo \ ++ tc358743-audio.dtbo \ ++ tinylcd35.dtbo \ ++ tpm-slb9670.dtbo \ ++ tpm-slb9673.dtbo \ ++ uart0.dtbo \ ++ uart0-pi5.dtbo \ ++ uart1.dtbo \ ++ uart1-pi5.dtbo \ ++ uart2.dtbo \ ++ uart2-pi5.dtbo \ ++ uart3.dtbo \ ++ uart3-pi5.dtbo \ ++ uart4.dtbo \ ++ uart4-pi5.dtbo \ ++ uart5.dtbo \ ++ udrc.dtbo \ ++ ugreen-dabboard.dtbo \ ++ upstream.dtbo \ ++ upstream-pi4.dtbo \ ++ vc4-fkms-v3d.dtbo \ ++ vc4-fkms-v3d-pi4.dtbo \ ++ vc4-kms-dpi-generic.dtbo \ ++ vc4-kms-dpi-hyperpixel2r.dtbo \ ++ vc4-kms-dpi-hyperpixel4.dtbo \ ++ vc4-kms-dpi-hyperpixel4sq.dtbo \ ++ vc4-kms-dpi-panel.dtbo \ ++ vc4-kms-dsi-7inch.dtbo \ ++ vc4-kms-dsi-generic.dtbo \ ++ vc4-kms-dsi-ili9881-5inch.dtbo \ ++ vc4-kms-dsi-ili9881-7inch.dtbo \ ++ vc4-kms-dsi-lt070me05000.dtbo \ ++ vc4-kms-dsi-lt070me05000-v2.dtbo \ ++ vc4-kms-dsi-waveshare-800x480.dtbo \ ++ vc4-kms-dsi-waveshare-panel.dtbo \ ++ vc4-kms-kippah-7inch.dtbo \ ++ vc4-kms-v3d.dtbo \ ++ vc4-kms-v3d-pi4.dtbo \ ++ vc4-kms-v3d-pi5.dtbo \ ++ vc4-kms-vga666.dtbo \ ++ vga666.dtbo \ ++ vl805.dtbo \ ++ w1-gpio.dtbo \ ++ w1-gpio-pi5.dtbo \ ++ w1-gpio-pullup.dtbo \ ++ w1-gpio-pullup-pi5.dtbo \ ++ w5500.dtbo \ ++ watterott-display.dtbo \ ++ waveshare-can-fd-hat-mode-a.dtbo \ ++ waveshare-can-fd-hat-mode-b.dtbo \ ++ wittypi.dtbo \ ++ wm8960-soundcard.dtbo ++ ++targets += dtbs dtbs_install ++targets += $(dtbo-y) ++ ++always-y := $(dtbo-y) ++clean-files := *.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +new file mode 100644 +index 000000000000..be091ab98206 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/README +@@ -0,0 +1,5558 @@ ++Introduction ++============ ++ ++This directory contains Device Tree overlays. Device Tree makes it possible ++to support many hardware configurations with a single kernel and without the ++need to explicitly load or blacklist kernel modules. Note that this isn't a ++"pure" Device Tree configuration (c.f. MACH_BCM2835) - some on-board devices ++are still configured by the board support code, but the intention is to ++eventually reach that goal. ++ ++On Raspberry Pi, Device Tree usage is controlled from /boot/config.txt. By ++default, the Raspberry Pi kernel boots with device tree enabled. You can ++completely disable DT usage (for now) by adding: ++ ++ device_tree= ++ ++to your config.txt, which should cause your Pi to revert to the old way of ++doing things after a reboot. ++ ++In /boot you will find a .dtb for each base platform. This describes the ++hardware that is part of the Raspberry Pi board. The loader (start.elf and its ++siblings) selects the .dtb file appropriate for the platform by name, and reads ++it into memory. At this point, all of the optional interfaces (i2c, i2s, spi) ++are disabled, but they can be enabled using Device Tree parameters: ++ ++ dtparam=i2c=on,i2s=on,spi=on ++ ++However, this shouldn't be necessary in many use cases because loading an ++overlay that requires one of those interfaces will cause it to be enabled ++automatically, and it is advisable to only enable interfaces if they are ++needed. ++ ++Configuring additional, optional hardware is done using Device Tree overlays ++(see below). ++ ++GPIO numbering uses the hardware pin numbering scheme (aka BCM scheme) and ++not the physical pin numbers. ++ ++raspi-config ++============ ++ ++The Advanced Options section of the raspi-config utility can enable and disable ++Device Tree use, as well as toggling the I2C and SPI interfaces. Note that it ++is possible to both enable an interface and blacklist the driver, if for some ++reason you should want to defer the loading. ++ ++Modules ++======= ++ ++As well as describing the hardware, Device Tree also gives enough information ++to allow suitable driver modules to be located and loaded, with the corollary ++that unneeded modules are not loaded. As a result it should be possible to ++remove lines from /etc/modules, and /etc/modprobe.d/raspi-blacklist.conf can ++have its contents deleted (or commented out). ++ ++Using Overlays ++============== ++ ++Overlays are loaded using the "dtoverlay" config.txt setting. As an example, ++consider I2C Real Time Clock drivers. In the pre-DT world these would be loaded ++by writing a magic string comprising a device identifier and an I2C address to ++a special file in /sys/class/i2c-adapter, having first loaded the driver for ++the I2C interface and the RTC device - something like this: ++ ++ modprobe i2c-bcm2835 ++ modprobe rtc-ds1307 ++ echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device ++ ++With DT enabled, this becomes a line in config.txt: ++ ++ dtoverlay=i2c-rtc,ds1307 ++ ++This causes the file /boot/overlays/i2c-rtc.dtbo to be loaded and a "node" ++describing the DS1307 I2C device to be added to the Device Tree for the Pi. By ++default it usees address 0x68, but this can be modified with an additional DT ++parameter: ++ ++ dtoverlay=i2c-rtc,ds1307,addr=0x68 ++ ++Parameters usually have default values, although certain parameters are ++mandatory. See the list of overlays below for a description of the parameters ++and their defaults. ++ ++Making new Overlays based on existing Overlays ++============================================== ++ ++Recent overlays have been designed in a more general way, so that they can be ++adapted to hardware by changing their parameters. When you have additional ++hardware with more than one device of a kind, you end up using the same overlay ++multiple times with other parameters, e.g. ++ ++ # 2 CAN FD interfaces on spi but with different pins ++ dtoverlay=mcp251xfd,spi0-0,interrupt=25 ++ dtoverlay=mcp251xfd,spi0-1,interrupt=24 ++ ++ # a realtime clock on i2c ++ dtoverlay=i2c-rtc,pcf85063 ++ ++While this approach does work, it requires knowledge about the hardware design. ++It is more feasible to simplify things for the end user by providing a single ++overlay as it is done the traditional way. ++ ++A new overlay can be generated by using ovmerge utility. ++https://github.com/raspberrypi/utils/blob/master/ovmerge/ovmerge ++ ++To generate an overlay for the above configuration we pass the configuration ++to ovmerge and add the -c flag. ++ ++ ovmerge -c mcp251xfd-overlay.dts,spi0-0,interrupt=25 \ ++ mcp251xfd-overlay.dts,spi0-1,interrupt=24 \ ++ i2c-rtc-overlay.dts,pcf85063 \ ++ >> merged-overlay.dts ++ ++The -c option writes the command above as a comment into the overlay as ++a marker that this overlay is generated and how it was generated. ++After compiling the overlay it can be loaded in a single line. ++ ++ dtoverlay=merged ++ ++It does the same as the original configuration but without parameters. ++ ++The Overlay and Parameter Reference ++=================================== ++ ++N.B. When editing this file, please preserve the indentation levels to make it ++simple to parse programmatically. NO HARD TABS. ++ ++ ++Name: ++Info: Configures the base Raspberry Pi hardware ++Load: ++Params: ++ act_led_trigger Choose which activity the LED tracks. ++ Use "heartbeat" for a nice load indicator. ++ (default "mmc") ++ ++ act_led_activelow Set to "on" to invert the sense of the LED ++ (default "off") ++ N.B. For Pi 3B, 3B+, 3A+ and 4B, use the act-led ++ overlay. ++ ++ act_led_gpio Set which GPIO to use for the activity LED ++ (in case you want to connect it to an external ++ device) ++ (default "16" on a non-Plus board, "47" on a ++ Plus or Pi 2) ++ N.B. For Pi 3B, 3B+, 3A+ and 4B, use the act-led ++ overlay. ++ ++ ant1 Select antenna 1 (default). CM4/5 only. ++ ++ ant2 Select antenna 2. CM4/5 only. ++ ++ noant Disable both antennas. CM4/5 only. ++ ++ audio Set to "on" to enable the onboard ALSA audio ++ interface (default "off") ++ ++ axiperf Set to "on" to enable the AXI bus performance ++ monitors. ++ See /sys/kernel/debug/raspberrypi_axi_monitor ++ for the results. ++ ++ bdaddr Set an alternative Bluetooth address (BDADDR). ++ The value should be a 6-byte hexadecimal value, ++ with or without colon separators, written least- ++ significant-byte first. For example, ++ bdaddr=06:05:04:03:02:01 ++ will set the BDADDR to 01:02:03:04:05:06. ++ ++ button_debounce Set the debounce delay (in ms) on the power/ ++ shutdown button (default 50ms) ++ ++ cam0_reg Controls CAM 0 regulator. ++ Disabled by default on CM1 & 3. ++ Enabled by default on all other boards. ++ ++ cam0_reg_gpio Set GPIO for CAM 0 regulator. ++ NB override switches to the normal GPIO driver, ++ even if the original was on the GPIO expander. ++ ++ cam1_reg Controls CAM 1 regulator. ++ Disabled by default on CM1 & 3. ++ Enabled by default on all other boards. ++ ++ cam1_reg_gpio Set GPIO for CAM 1 regulator. ++ NB override switches to the normal GPIO driver, ++ even if the original was on the GPIO expander. ++ ++ cam0_sync Enable a GPIO to reflect frame sync from CSI0, ++ going high on frame start, and low on frame end. ++ ++ cam0_sync_inverted Enable a GPIO to reflect frame sync from CSI0 ++ going low on frame start, and high on frame end. ++ ++ cam1_sync Enable a GPIO to reflect frame sync from CSI1, ++ going high on frame start, and low on frame end. ++ ++ cam1_sync_inverted Enable a GPIO to reflect frame sync from CSI1 ++ going low on frame start, and high on frame end. ++ ++ cooling_fan Enables the Pi 5 cooling fan (enabled ++ automatically by the firmware) ++ ++ drm_fb0_rp1_dpi Assign /dev/fb0 to the RP1 DPI output ++ ++ drm_fb0_rp1_dsi0 Assign /dev/fb0 to the RP1 DSI0 output ++ ++ drm_fb0_rp1_dsi1 Assign /dev/fb0 to the RP1 DSI1 output ++ ++ drm_fb0_vc4 Assign /dev/fb0 to the vc4 outputs ++ ++ drm_fb1_rp1_dpi Assign /dev/fb1 to the RP1 DPI output ++ ++ drm_fb1_rp1_dsi0 Assign /dev/fb1 to the RP1 DSI0 output ++ ++ drm_fb1_rp1_dsi1 Assign /dev/fb1 to the RP1 DSI1 output ++ ++ drm_fb1_vc4 Assign /dev/fb1 to the vc4 outputs ++ ++ drm_fb2_rp1_dpi Assign /dev/fb2 to the RP1 DPI output ++ ++ drm_fb2_rp1_dsi0 Assign /dev/fb2 to the RP1 DSI0 output ++ ++ drm_fb2_rp1_dsi1 Assign /dev/fb2 to the RP1 DSI1 output ++ ++ drm_fb2_vc4 Assign /dev/fb2 to the vc4 outputs ++ ++ eee Enable Energy Efficient Ethernet support for ++ compatible devices (default "on"). See also ++ "tx_lpi_timer". Pi3B+ only. ++ ++ eth_downshift_after Set the number of auto-negotiation failures ++ after which the 1000Mbps modes are disabled. ++ Legal values are 2, 3, 4, 5 and 0, where ++ 0 means never downshift (default 2). Pi3B+ only. ++ ++ eth_led0 Set mode of LED0 - amber on Pi3B+ (default "1"), ++ green on Pi4/5 (default "0"). ++ The legal values are: ++ ++ Pi3B+ ++ ++ 0=link/activity 1=link1000/activity ++ 2=link100/activity 3=link10/activity ++ 4=link100/1000/activity 5=link10/1000/activity ++ 6=link10/100/activity 14=off 15=on ++ ++ Pi4/5 ++ ++ 0=Speed/Activity 1=Speed ++ 2=Flash activity 3=FDX ++ 4=Off 5=On ++ 6=Alt 7=Speed/Flash ++ 8=Link 9=Activity ++ ++ eth_led1 Set mode of LED1 - green on Pi3B+ (default "6"), ++ amber on Pi4/5 (default "8"). See eth_led0 for ++ legal values. ++ ++ eth_max_speed Set the maximum speed a link is allowed ++ to negotiate. Legal values are 10, 100 and ++ 1000 (default 1000). Pi3B+ only. ++ ++ fan_temp0 Temperature threshold (in millicelcius) for ++ 1st cooling level (default 50000). Pi5 only. ++ fan_temp0_hyst Temperature hysteresis (in millicelcius) for ++ 1st cooling level (default 5000). Pi5 only. ++ fan_temp0_speed Fan PWM setting for 1st cooling level (0-255, ++ default 75). Pi5 only. ++ fan_temp1 Temperature threshold (in millicelcius) for ++ 2nd cooling level (default 60000). Pi5 only. ++ fan_temp1_hyst Temperature hysteresis (in millicelcius) for ++ 2nd cooling level (default 5000). Pi5 only. ++ fan_temp1_speed Fan PWM setting for 2nd cooling level (0-255, ++ default 125). Pi5 only. ++ fan_temp2 Temperature threshold (in millicelcius) for ++ 3rd cooling level (default 67500). Pi5 only. ++ fan_temp2_hyst Temperature hysteresis (in millicelcius) for ++ 3rd cooling level (default 5000). Pi5 only. ++ fan_temp2_speed Fan PWM setting for 3rd cooling level (0-255, ++ default 175). Pi5 only. ++ fan_temp3 Temperature threshold (in millicelcius) for ++ 4th cooling level (default 75000). Pi5 only. ++ fan_temp3_hyst Temperature hysteresis (in millicelcius) for ++ 4th cooling level (default 5000). Pi5 only. ++ fan_temp3_speed Fan PWM setting for 4th cooling level (0-255, ++ default 250). Pi5 only. ++ ++ hdmi Set to "off" to disable the HDMI interface ++ (default "on") ++ ++ i2c An alias for i2c_arm ++ ++ i2c_arm Set to "on" to enable the ARM's i2c interface ++ (default "off") ++ ++ i2c_arm_baudrate Set the baudrate of the ARM's i2c interface ++ (default "100000") ++ ++ i2c_baudrate An alias for i2c_arm_baudrate ++ ++ i2c_csi_dsi Set to "on" to enable the i2c_csi_dsi interface ++ ++ i2c_csi_dsi0 Set to "on" to enable the i2c_csi_dsi0 interface ++ ++ i2c_csi_dsi1 Set to "on" to enable the i2c_csi_dsi1 interface ++ ++ i2c_vc Set to "on" to enable the i2c interface ++ usually reserved for the VideoCore processor ++ (default "off") ++ ++ i2c_vc_baudrate Set the baudrate of the VideoCore i2c interface ++ (default "100000") ++ ++ i2s Set to "on" to enable the i2s interface ++ (default "off") ++ ++ i2s_dma4 Use to enable 40-bit DMA on the i2s interface ++ (the assigned value doesn't matter) ++ (2711 only) ++ ++ krnbt Set to "off" to disable autoprobing of Bluetooth ++ driver without need of hciattach/btattach ++ (default "on") ++ ++ krnbt_baudrate Set the baudrate of the PL011 UART when used ++ with krnbt=on ++ ++ nvme Alias for "pciex1" (2712 only) ++ ++ nvmem_cust_rw Allow read/write access to customer otp ++ ++ nvmem_mac_rw Allow read/write access to mac addresses otp ++ ++ nvmem_priv_rw Allow read/write access to customer private otp ++ ++ pcie Set to "off" to disable the PCIe interface ++ (default "on") ++ (2711 only, but not applicable on CM4S) ++ N.B. USB-A ports on 4B are subsequently disabled ++ ++ pcie_tperst_clk_ms Add N milliseconds between PCIe reference clock ++ activation and PERST# deassertion ++ (CM4 and 2712, default "0") ++ ++ pciex1 Set to "on" to enable the external PCIe link ++ (2712 only, default "off") ++ ++ pciex1_gen Sets the PCIe "GEN"/speed for the external PCIe ++ link (2712 only, default "2") ++ ++ pciex1_no_l0s Set to "on" to disable ASPM L0s on the external ++ PCIe link for devices that have broken ++ implementations (2712 only, default "off") ++ ++ pciex1_tperst_clk_ms Alias for pcie_tperst_clk_ms ++ (2712 only, default "0") ++ ++ pwr_led_trigger ++ pwr_led_activelow ++ pwr_led_gpio ++ As for act_led_*, but using the PWR LED. ++ Not available on Model A/B boards. ++ ++ random Set to "on" to enable the hardware random ++ number generator (default "on") ++ ++ rtc Set to "off" to disable the onboard Real Time ++ Clock (2712 only, default "on") ++ ++ rtc_bbat_vchg Set the RTC backup battery charging voltage in ++ microvolts. If set to 0 or not specified, the ++ trickle charger is disabled. ++ (2712 only, default "0") ++ ++ sd Set to "off" to disable the SD card (or eMMC on ++ non-lite SKU of CM4). ++ (default "on") ++ ++ sd_cqe Set to "off" to disable Command Queueing if you ++ have an incompatible Class A2 SD card ++ (Pi 5 only, default "on") ++ ++ sd_overclock Clock (in MHz) to use when the MMC framework ++ requests 50MHz ++ ++ sd_poll_once Looks for a card once after booting. Useful ++ for network booting scenarios to avoid the ++ overhead of continuous polling. N.B. Using ++ this option restricts the system to using a ++ single card per boot (or none at all). ++ (default off) ++ ++ sd_force_pio Disable DMA support for SD driver (default off) ++ ++ sd_pio_limit Number of blocks above which to use DMA for ++ SD card (default 1) ++ ++ sd_debug Enable debug output from SD driver (default off) ++ ++ sdio_overclock Clock (in MHz) to use when the MMC framework ++ requests 50MHz for the SDIO/WLAN interface. ++ ++ spi Set to "on" to enable the spi interfaces ++ (default "off") ++ ++ spi_dma4 Use to enable 40-bit DMA on spi interfaces ++ (the assigned value doesn't matter) ++ (2711 only) ++ ++ strict_gpiod Return GPIOs to inputs when they are released. ++ If using the gpiod utilities, it is necessary ++ to keep a gpioset running (e.g. with ++ --mode=wait) in order for an output value to ++ persist. ++ ++ suspend Make the power button trigger a suspend rather ++ than a power-off (2712 only, default "off") ++ ++ tx_lpi_timer Set the delay in microseconds between going idle ++ and entering the low power state (default 600). ++ Requires EEE to be enabled - see "eee". ++ ++ uart0 Set to "off" to disable uart0 (default "on") ++ ++ uart0_console Move the kernel boot console to UART0 on pins ++ 6, 8 and 10 of the 40-way header (2712 only, ++ default "off") ++ ++ uart1 Set to "on" or "off" to enable or disable uart1 ++ (default varies) ++ ++ watchdog Set to "on" to enable the hardware watchdog ++ (default "off") ++ ++ wifiaddr Set an alternative WiFi MAC address. ++ The value should be a 6-byte hexadecimal value, ++ with or without colon separators, written in the ++ natural (big-endian) order. ++ ++ N.B. It is recommended to only enable those interfaces that are needed. ++ Leaving all interfaces enabled can lead to unwanted behaviour (i2c_vc ++ interfering with Pi Camera, I2S and SPI hogging GPIO pins, etc.) ++ Note also that i2c, i2c_arm and i2c_vc are aliases for the physical ++ interfaces i2c0 and i2c1. Use of the numeric variants is still possible ++ but deprecated because the ARM/VC assignments differ between board ++ revisions. The same board-specific mapping applies to i2c_baudrate, ++ and the other i2c baudrate parameters. ++ ++ ++Name: act-led ++Info: Pi 3B, 3B+, 3A+ and 4B use a GPIO expander to drive the LEDs which can ++ only be accessed from the VPU. There is a special driver for this with a ++ separate DT node, which has the unfortunate consequence of breaking the ++ act_led_gpio and act_led_activelow dtparams. ++ This overlay changes the GPIO controller back to the standard one and ++ restores the dtparams. ++Load: dtoverlay=act-led,= ++Params: activelow Set to "on" to invert the sense of the LED ++ (default "off") ++ ++ gpio Set which GPIO to use for the activity LED ++ (in case you want to connect it to an external ++ device) ++ REQUIRED ++ ++ ++Name: adafruit-st7735r ++Info: Overlay for the SPI-connected Adafruit 1.8" 160x128 or 128x128 displays, ++ based on the ST7735R chip. ++ This overlay uses the newer DRM/KMS "Tiny" driver. ++Load: dtoverlay=adafruit-st7735r,= ++Params: 128x128 Select the 128x128 driver (default 160x128) ++ rotate Display rotation {0,90,180,270} (default 90) ++ speed SPI bus speed in Hz (default 4000000) ++ dc_pin GPIO pin for D/C (default 24) ++ reset_pin GPIO pin for RESET (default 25) ++ led_pin GPIO used to control backlight (default 18) ++ ++ ++Name: adafruit18 ++Info: Overlay for the SPI-connected Adafruit 1.8" display (based on the ++ ST7735R chip). It includes support for the "green tab" version. ++ This overlay uses the older fbtft driver. ++Load: dtoverlay=adafruit18,= ++Params: green Use the adafruit18_green variant. ++ rotate Display rotation {0,90,180,270} ++ speed SPI bus speed in Hz (default 4000000) ++ fps Display frame rate in Hz ++ bgr Enable BGR mode (default off) ++ debug Debug output level {0-7} ++ dc_pin GPIO pin for D/C (default 24) ++ reset_pin GPIO pin for RESET (default 25) ++ led_pin GPIO used to control backlight (default 18) ++ ++ ++Name: adau1977-adc ++Info: Overlay for activation of ADAU1977 ADC codec over I2C for control ++ and I2S for data. ++Load: dtoverlay=adau1977-adc ++Params: ++ ++ ++Name: adau7002-simple ++Info: Overlay for the activation of ADAU7002 stereo PDM to I2S converter. ++Load: dtoverlay=adau7002-simple,= ++Params: card-name Override the default, "adau7002", card name. ++ ++ ++Name: ads1015 ++Info: Overlay for activation of Texas Instruments ADS1015 ADC over I2C ++Load: dtoverlay=ads1015,= ++Params: addr I2C bus address of device. Set based on how the ++ addr pin is wired. (default=0x48 assumes addr ++ is pulled to GND) ++ cha_enable Enable virtual channel a. (default=true) ++ cha_cfg Set the configuration for virtual channel a. ++ (default=4 configures this channel for the ++ voltage at A0 with respect to GND) ++ cha_datarate Set the datarate (samples/sec) for this channel. ++ (default=4 sets 1600 sps) ++ cha_gain Set the gain of the Programmable Gain ++ Amplifier for this channel. (default=2 sets the ++ full scale of the channel to 2.048 Volts) ++ ++ Channel (ch) parameters can be set for each enabled channel. ++ A maximum of 4 channels can be enabled (letters a thru d). ++ For more information refer to the device datasheet at: ++ http://www.ti.com/lit/ds/symlink/ads1015.pdf ++ ++ ++Name: ads1115 ++Info: Texas Instruments ADS1115 ADC ++Load: dtoverlay=ads1115,[=] ++Params: addr I2C bus address of device. Set based on how the ++ addr pin is wired. (default=0x48 assumes addr ++ is pulled to GND) ++ cha_enable Enable virtual channel a. ++ cha_cfg Set the configuration for virtual channel a. ++ (default=4 configures this channel for the ++ voltage at A0 with respect to GND) ++ cha_datarate Set the datarate (samples/sec) for this channel. ++ (default=7 sets 860 sps) ++ cha_gain Set the gain of the Programmable Gain ++ Amplifier for this channel. (Default 1 sets the ++ full scale of the channel to 4.096 Volts) ++ i2c0 Choose the I2C0 bus on GPIOs 0&1 ++ i2c_csi_dsi Choose the I2C0 bus on GPIOs 44&45 ++ i2c3 Choose the I2C3 bus (configure with the i2c3 ++ overlay - BCM2711 only) ++ i2c4 Choose the I2C4 bus (configure with the i2c4 ++ overlay - BCM2711 only) ++ i2c5 Choose the I2C5 bus (configure with the i2c5 ++ overlay - BCM2711 only) ++ i2c6 Choose the I2C6 bus (configure with the i2c6 ++ overlay - BCM2711 only) ++ ++ Channel parameters can be set for each enabled channel. ++ A maximum of 4 channels can be enabled (letters a thru d). ++ For more information refer to the device datasheet at: ++ http://www.ti.com/lit/ds/symlink/ads1115.pdf ++ ++ ++Name: ads7846 ++Info: ADS7846 Touch controller ++Load: dtoverlay=ads7846,= ++Params: cs SPI bus Chip Select (default 1) ++ speed SPI bus speed (default 2MHz, max 3.25MHz) ++ penirq GPIO used for PENIRQ. REQUIRED ++ penirq_pull Set GPIO pull (default 0=none, 2=pullup) ++ swapxy Swap x and y axis ++ xmin Minimum value on the X axis (default 0) ++ ymin Minimum value on the Y axis (default 0) ++ xmax Maximum value on the X axis (default 4095) ++ ymax Maximum value on the Y axis (default 4095) ++ pmin Minimum reported pressure value (default 0) ++ pmax Maximum reported pressure value (default 65535) ++ xohms Touchpanel sensitivity (X-plate resistance) ++ (default 400) ++ ++ penirq is required and usually xohms (60-100) has to be set as well. ++ Apart from that, pmax (255) and swapxy are also common. ++ The rest of the calibration can be done with xinput-calibrator. ++ See: github.com/notro/fbtft/wiki/FBTFT-on-Raspian ++ Device Tree binding document: ++ www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt ++ ++ ++Name: adv7282m ++Info: Analog Devices ADV7282M analogue video to CSI2 bridge. ++ Uses Unicam1, which is the standard camera connector on most Pi ++ variants. ++Load: dtoverlay=adv7282m,= ++Params: addr Overrides the I2C address (default 0x21) ++ media-controller Configure use of Media Controller API for ++ configuring the sensor (default off) ++ ++ ++Name: adv728x-m ++Info: Analog Devices ADV728[0|1|2]-M analogue video to CSI2 bridges. ++ This is a wrapper for adv7282m, and defaults to ADV7282M. ++Load: dtoverlay=adv728x-m,= ++Params: addr Overrides the I2C address (default 0x21) ++ adv7280m Select ADV7280-M. ++ adv7281m Select ADV7281-M. ++ adv7281ma Select ADV7281-MA. ++ media-controller Configure use of Media Controller API for ++ configuring the sensor (default off) ++ ++ ++Name: akkordion-iqdacplus ++Info: Configures the Digital Dreamtime Akkordion Music Player (based on the ++ OEM IQAudIO DAC+ or DAC Zero module). ++Load: dtoverlay=akkordion-iqdacplus,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ dtoverlay=akkordion-iqdacplus,24db_digital_gain ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ ++Name: allo-boss-dac-pcm512x-audio ++Info: Configures the Allo Boss DAC audio cards. ++Load: dtoverlay=allo-boss-dac-pcm512x-audio, ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ "dtoverlay=allo-boss-dac-pcm512x-audio, ++ 24db_digital_gain" ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ slave Force Boss DAC into slave mode, using Pi a ++ master for bit clock and frame clock. Enable ++ with "dtoverlay=allo-boss-dac-pcm512x-audio, ++ slave" ++ ++ ++Name: allo-boss2-dac-audio ++Info: Configures the Allo Boss2 DAC audio card ++Load: dtoverlay=allo-boss2-dac-audio ++Params: ++ ++ ++Name: allo-digione ++Info: Configures the Allo Digione audio card ++Load: dtoverlay=allo-digione ++Params: ++ ++ ++Name: allo-katana-dac-audio ++Info: Configures the Allo Katana DAC audio card ++Load: dtoverlay=allo-katana-dac-audio ++Params: ++ ++ ++Name: allo-piano-dac-pcm512x-audio ++Info: Configures the Allo Piano DAC (2.0/2.1) audio cards. ++ (NB. This initial support is for 2.0 channel audio ONLY! ie. stereo. ++ The subwoofer outputs on the Piano 2.1 are not currently supported!) ++Load: dtoverlay=allo-piano-dac-pcm512x-audio, ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ ++Name: allo-piano-dac-plus-pcm512x-audio ++Info: Configures the Allo Piano DAC (2.1) audio cards. ++Load: dtoverlay=allo-piano-dac-plus-pcm512x-audio, ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ glb_mclk This option is only with Kali board. If enabled, ++ MCLK for Kali is used and PLL is disabled for ++ better voice quality. (default Off) ++ ++ ++Name: anyspi ++Info: Universal device tree overlay for SPI devices ++ ++ Just specify the SPI address and device name ("compatible" property). ++ This overlay lacks any device-specific parameter support! ++ ++ For devices on spi1 or spi2, the interfaces should be enabled ++ with one of the spi1-1/2/3cs and/or spi2-1/2/3cs overlays. ++ ++ Examples: ++ 1. SPI NOR flash on spi0.1, maximum SPI clock frequency 45MHz: ++ dtoverlay=anyspi:spi0-1,dev="jedec,spi-nor",speed=45000000 ++ 2. MCP3204 ADC on spi1.2, maximum SPI clock frequency 500kHz: ++ dtoverlay=anyspi:spi1-2,dev="microchip,mcp3204" ++Load: dtoverlay=anyspi,= ++Params: spi- Configure device at spi, cs ++ (boolean, required) ++ dev Set device name to search compatible module ++ (string, required) ++ speed Set SPI clock frequency in Hz ++ (integer, optional, default 500000) ++ ++ ++Name: apds9960 ++Info: Configures the AVAGO APDS9960 digital proximity, ambient light, RGB and ++ gesture sensor ++Load: dtoverlay=apds9960,= ++Params: gpiopin GPIO used for INT (default 4) ++ noints Disable the interrupt GPIO line. ++ ++ ++Name: applepi-dac ++Info: Configures the Orchard Audio ApplePi-DAC audio card ++Load: dtoverlay=applepi-dac ++Params: ++ ++ ++Name: arducam-64mp ++Info: Arducam 64MP camera module. ++ Uses Unicam 1, which is the standard camera connector on most Pi ++ variants. ++Load: dtoverlay=arducam-64mp,= ++Params: rotation Mounting rotation of the camera sensor (0 or ++ 180, default 0) ++ orientation Sensor orientation (0 = front, 1 = rear, ++ 2 = external, default external) ++ media-controller Configure use of Media Controller API for ++ configuring the sensor (default on) ++ cam0 Adopt the default configuration for CAM0 on a ++ Compute Module (CSI0, i2c_vc, and cam0_reg). ++ vcm Select lens driver state. Default is enabled, ++ but vcm=off will disable. ++ ++ ++Name: arducam-pivariety ++Info: Arducam Pivariety camera module. ++ Uses Unicam 1, which is the standard camera connector on most Pi ++ variants. ++Load: dtoverlay=arducam-pivariety,= ++Params: rotation Mounting rotation of the camera sensor (0 or ++ 180, default 0) ++ orientation Sensor orientation (0 = front, 1 = rear, ++ 2 = external, default external) ++ media-controller Configure use of Media Controller API for ++ configuring the sensor (default on) ++ cam0 Adopt the default configuration for CAM0 on a ++ Compute Module (CSI0, i2c_vc, and cam0_reg). ++ ++ ++Name: at86rf233 ++Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, ++ connected to spi0.0 ++Load: dtoverlay=at86rf233,= ++Params: interrupt GPIO used for INT (default 23) ++ reset GPIO used for Reset (default 24) ++ sleep GPIO used for Sleep (default 25) ++ speed SPI bus speed in Hz (default 3000000) ++ trim Fine tuning of the internal capacitance ++ arrays (0=+0pF, 15=+4.5pF, default 15) ++ ++ ++Name: audioinjector-addons ++Info: Configures the audioinjector.net audio add on soundcards ++Load: dtoverlay=audioinjector-addons,= ++Params: non-stop-clocks Keeps the clocks running even when the stream ++ is paused or stopped (default off) ++ ++ ++Name: audioinjector-bare-i2s ++Info: Configures the audioinjector.net audio bare i2s soundcard ++Load: dtoverlay=audioinjector-bare-i2s ++Params: ++ ++ ++Name: audioinjector-isolated-soundcard ++Info: Configures the audioinjector.net isolated soundcard ++Load: dtoverlay=audioinjector-isolated-soundcard ++Params: ++ ++ ++Name: audioinjector-ultra ++Info: Configures the audioinjector.net ultra soundcard ++Load: dtoverlay=audioinjector-ultra ++Params: ++ ++ ++Name: audioinjector-wm8731-audio ++Info: Configures the audioinjector.net audio add on soundcard ++Load: dtoverlay=audioinjector-wm8731-audio ++Params: ++ ++ ++Name: audiosense-pi ++Info: Configures the audiosense-pi add on soundcard ++ For more information refer to ++ https://gitlab.com/kakar0t/audiosense-pi ++Load: dtoverlay=audiosense-pi ++Params: ++ ++ ++Name: audremap ++Info: Switches PWM sound output to GPIOs on the 40-pin header ++Load: dtoverlay=audremap,= ++Params: swap_lr Reverse the channel allocation, which will also ++ swap the audio jack outputs (default off) ++ enable_jack Don't switch off the audio jack output. Does ++ nothing on BCM2711 (default off) ++ pins_12_13 Select GPIOs 12 & 13 (default) ++ pins_18_19 Select GPIOs 18 & 19 ++ pins_40_41 Select GPIOs 40 & 41 (not available on CM4, used ++ for other purposes) ++ pins_40_45 Select GPIOs 40 & 45 (don't use on BCM2711 - the ++ pins are on different controllers) ++ ++ ++Name: balena-fin ++Info: Overlay that enables WLAN, Bluetooth and the GPIO expander on the ++ balenaFin carrier board for the Raspberry Pi Compute Module 3/3+ Lite. ++Load: dtoverlay=balena-fin ++Params: ++ ++ ++Name: bcm2712d0 ++Info: Overlay encapsulating the BCM2712 C0->D0 differences ++Load: dtoverlay=bcm2712d0 ++Params: ++ ++ ++Name: bmp085_i2c-sensor ++Info: This overlay is now deprecated - see i2c-sensor ++Load: ++ ++ ++Name: camera-mux-2port ++Info: Configures a 2 port camera multiplexer ++ Note that currently ALL IMX290 modules share a common clock, therefore ++ all modules will need to have the same clock frequency. ++Load: dtoverlay=camera-mux-2port,= ++Params: cam0-arducam-64mp Select Arducam64MP for camera on port 0 ++ cam0-imx219 Select IMX219 for camera on port 0 ++ cam0-imx258 Select IMX258 for camera on port 0 ++ cam0-imx290 Select IMX290 for camera on port 0 ++ cam0-imx477 Select IMX477 for camera on port 0 ++ cam0-imx519 Select IMX519 for camera on port 0 ++ cam0-imx708 Select IMX708 for camera on port 0 ++ cam0-ov2311 Select OV2311 for camera on port 0 ++ cam0-ov5647 Select OV5647 for camera on port 0 ++ cam0-ov64a40 Select OV64A40 for camera on port 0 ++ cam0-ov7251 Select OV7251 for camera on port 0 ++ cam0-ov9281 Select OV9281 for camera on port 0 ++ cam0-imx290-clk-freq Set clock frequency for an IMX290 on port 0 ++ cam1-arducam-64mp Select Arducam64MP for camera on port 1 ++ cam1-imx219 Select IMX219 for camera on port 1 ++ cam1-imx258 Select IMX258 for camera on port 1 ++ cam1-imx290 Select IMX290 for camera on port 1 ++ cam1-imx477 Select IMX477 for camera on port 1 ++ cam1-imx519 Select IMX519 for camera on port 1 ++ cam1-imx708 Select IMX708 for camera on port 1 ++ cam1-ov2311 Select OV2311 for camera on port 1 ++ cam1-ov5647 Select OV5647 for camera on port 1 ++ cam1-ov64a40 Select OV64A40 for camera on port 1 ++ cam1-ov7251 Select OV7251 for camera on port 1 ++ cam1-ov9281 Select OV9281 for camera on port 1 ++ cam1-imx290-clk-freq Set clock frequency for an IMX290 on port 1 ++ cam0-sync-source Set camera on port 0 as vsync source ++ cam0-sync-sink Set camera on port 0 as vsync sink ++ cam1-sync-source Set camera on port 1 as vsync source ++ cam1-sync-sink Set camera on port 1 as vsync sink ++ ++ cam0 Connect the mux to CAM0 port (default is CAM1) ++ ++ ++Name: camera-mux-4port ++Info: Configures a 4 port camera multiplexer ++ Note that currently ALL IMX290 modules share a common clock, therefore ++ all modules will need to have the same clock frequency. ++Load: dtoverlay=camera-mux-4port,= ++Params: cam0-arducam-64mp Select Arducam64MP for camera on port 0 ++ cam0-imx219 Select IMX219 for camera on port 0 ++ cam0-imx258 Select IMX258 for camera on port 0 ++ cam0-imx290 Select IMX290 for camera on port 0 ++ cam0-imx477 Select IMX477 for camera on port 0 ++ cam0-imx519 Select IMX519 for camera on port 0 ++ cam0-imx708 Select IMX708 for camera on port 0 ++ cam0-ov2311 Select OV2311 for camera on port 0 ++ cam0-ov5647 Select OV5647 for camera on port 0 ++ cam0-ov64a40 Select OV64A40 for camera on port 0 ++ cam0-ov7251 Select OV7251 for camera on port 0 ++ cam0-ov9281 Select OV9281 for camera on port 0 ++ cam0-imx290-clk-freq Set clock frequency for an IMX290 on port 0 ++ cam1-arducam-64mp Select Arducam64MP for camera on port 1 ++ cam1-imx219 Select IMX219 for camera on port 1 ++ cam1-imx258 Select IMX258 for camera on port 1 ++ cam1-imx290 Select IMX290 for camera on port 1 ++ cam1-imx477 Select IMX477 for camera on port 1 ++ cam1-imx519 Select IMX519 for camera on port 1 ++ cam1-imx708 Select IMX708 for camera on port 1 ++ cam1-ov2311 Select OV2311 for camera on port 1 ++ cam1-ov5647 Select OV5647 for camera on port 1 ++ cam1-ov64a40 Select OV64A40 for camera on port 1 ++ cam1-ov7251 Select OV7251 for camera on port 1 ++ cam1-ov9281 Select OV9281 for camera on port 1 ++ cam1-imx290-clk-freq Set clock frequency for an IMX290 on port 1 ++ cam2-arducam-64mp Select Arducam64MP for camera on port 2 ++ cam2-imx219 Select IMX219 for camera on port 2 ++ cam2-imx258 Select IMX258 for camera on port 2 ++ cam2-imx290 Select IMX290 for camera on port 2 ++ cam2-imx477 Select IMX477 for camera on port 2 ++ cam2-imx519 Select IMX519 for camera on port 2 ++ cam2-imx708 Select IMX708 for camera on port 2 ++ cam2-ov2311 Select OV2311 for camera on port 2 ++ cam2-ov5647 Select OV5647 for camera on port 2 ++ cam2-ov64a40 Select OV64A40 for camera on port 2 ++ cam2-ov7251 Select OV7251 for camera on port 2 ++ cam2-ov9281 Select OV9281 for camera on port 2 ++ cam2-imx290-clk-freq Set clock frequency for an IMX290 on port 2 ++ cam3-arducam-64mp Select Arducam64MP for camera on port 3 ++ cam3-imx219 Select IMX219 for camera on port 3 ++ cam3-imx258 Select IMX258 for camera on port 3 ++ cam3-imx290 Select IMX290 for camera on port 3 ++ cam3-imx477 Select IMX477 for camera on port 3 ++ cam3-imx519 Select IMX519 for camera on port 3 ++ cam3-imx708 Select IMX708 for camera on port 3 ++ cam3-ov2311 Select OV2311 for camera on port 3 ++ cam3-ov5647 Select OV5647 for camera on port 3 ++ cam3-ov64a40 Select OV64A40 for camera on port 3 ++ cam3-ov7251 Select OV7251 for camera on port 3 ++ cam3-ov9281 Select OV9281 for camera on port 3 ++ cam3-imx290-clk-freq Set clock frequency for an IMX290 on port 3 ++ cam0-sync-source Set camera on port 0 as vsync source ++ cam0-sync-sink Set camera on port 0 as vsync sink ++ cam1-sync-source Set camera on port 1 as vsync source ++ cam1-sync-sink Set camera on port 1 as vsync sink ++ cam2-sync-source Set camera on port 2 as vsync source ++ cam2-sync-sink Set camera on port 2 as vsync sink ++ cam3-sync-source Set camera on port 3 as vsync source ++ cam3-sync-sink Set camera on port 3 as vsync sink ++ ++ cam0 Connect the mux to CAM0 port (default is CAM1) ++ ++ ++Name: cap1106 ++Info: Enables the ability to use the cap1106 touch sensor as a keyboard ++Load: dtoverlay=cap1106,= ++Params: int_pin GPIO pin for interrupt signal (default 23) ++ ++ ++Name: chipcap2 ++Info: Enables the Chipcap 2 humidity and temperature sensor. This device ++ provides low and high humidity alarms and requires a 3V3 dedicated ++ regulator to operate. ++Load: dtoverlay=chipcap2,= ++Params: ready_pin GPIO pin for ready signal (default 4) ++ ++ low_pin GPIO pin for low humidity signal (default 5) ++ ++ high_pin GPIO pin for high humidity signal (default 6) ++ ++ reg_pin GPIO pin to control the dedicated regulator ++ that powers the device (default 26) ++ ++ ++Name: chipdip-dac ++Info: Configures Chip Dip audio cards. ++Load: dtoverlay=chipdip-dac ++Params: ++ ++ ++Name: cirrus-wm5102 ++Info: Configures the Cirrus Logic Audio Card ++Load: dtoverlay=cirrus-wm5102 ++Params: ++ ++ ++Name: cm-swap-i2c0 ++Info: Largely for Compute Modules 1&3 where the original instructions for ++ adding a camera used GPIOs 0&1 for CAM1 and 28&29 for CAM0, whilst all ++ other platforms use 28&29 (or 44&45) for CAM1. ++ The default assignment through using this overlay is for ++ i2c0 to use 28&29, and i2c10 (aka i2c_csi_dsi) to use 28&29, but the ++ overrides allow this to be changed. ++Load: dtoverlay=cm-swap-i2c0,= ++Params: i2c0-gpio0 Use GPIOs 0&1 for i2c0 ++ i2c0-gpio28 Use GPIOs 28&29 for i2c0 (default) ++ i2c0-gpio44 Use GPIOs 44&45 for i2c0 ++ i2c10-gpio0 Use GPIOs 0&1 for i2c0 (default) ++ i2c10-gpio28 Use GPIOs 28&29 for i2c0 ++ i2c10-gpio44 Use GPIOs 44&45 for i2c0 ++ ++ ++Name: cma ++Info: Set custom CMA sizes, only use if you know what you are doing, might ++ clash with other overlays like vc4-fkms-v3d and vc4-kms-v3d. ++Load: dtoverlay=cma,= ++Params: cma-512 CMA is 512MB (needs 1GB) ++ cma-448 CMA is 448MB (needs 1GB) ++ cma-384 CMA is 384MB (needs 1GB) ++ cma-320 CMA is 320MB (needs 1GB) ++ cma-256 CMA is 256MB (needs 1GB) ++ cma-192 CMA is 192MB (needs 1GB) ++ cma-128 CMA is 128MB ++ cma-96 CMA is 96MB ++ cma-64 CMA is 64MB ++ cma-size CMA size in bytes, 4MB aligned ++ cma-default Use upstream's default value ++ ++ ++Name: crystalfontz-cfa050_pi_m ++Info: Configures the Crystalfontz CFA050-PI-M series of Raspberry Pi CM4 ++ based modules using the CFA7201280A0_050Tx 7" TFT LCD displays, ++ with or without capacitive touch screen. ++ Requires use of vc4-kms-v3d. ++Load: dtoverlay=crystalfontz-cfa050_pi_m,= ++Params: captouch Enable capacitive touch display ++ ++ ++Name: cutiepi-panel ++Info: 8" TFT LCD display and touch panel used by cutiepi.io ++Load: dtoverlay=cutiepi-panel ++Params: ++ ++ ++Name: dacberry400 ++Info: Configures the dacberry400 add on soundcard ++Load: dtoverlay=dacberry400 ++Params: ++ ++ ++Name: dht11 ++Info: Overlay for the DHT11/DHT21/DHT22 humidity/temperature sensors ++ Also sometimes found with the part number(s) AM230x. ++Load: dtoverlay=dht11,= ++Params: gpiopin GPIO connected to the sensor's DATA output. ++ (default 4) ++ ++ ++Name: dionaudio-kiwi ++Info: Configures the Dion Audio KIWI STREAMER ++Load: dtoverlay=dionaudio-kiwi ++Params: ++ ++ ++Name: dionaudio-loco ++Info: Configures the Dion Audio LOCO DAC-AMP ++Load: dtoverlay=dionaudio-loco ++Params: ++ ++ ++Name: dionaudio-loco-v2 ++Info: Configures the Dion Audio LOCO-V2 DAC-AMP ++Load: dtoverlay=dionaudio-loco-v2,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ "dtoverlay=hifiberry-dacplus,24db_digital_gain" ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24dB_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ ++Name: disable-bt ++Info: Disable onboard Bluetooth on Bluetooth-capable Raspberry Pis. On Pis ++ prior to Pi 5 this restores UART0/ttyAMA0 over GPIOs 14 & 15. ++Load: dtoverlay=disable-bt ++Params: ++ ++ ++Name: disable-bt-pi5 ++Info: See disable-bt ++ ++ ++Name: disable-emmc2 ++Info: Disable EMMC2 controller on BCM2711. ++ The allows the onboard EMMC storage on Compute Module 4 to be disabled ++ e.g. if a fault has occurred. ++Load: dtoverlay=disable-emmc2 ++Params: ++ ++ ++Name: disable-wifi ++Info: Disable onboard WLAN on WiFi-capable Raspberry Pis. ++Load: dtoverlay=disable-wifi ++Params: ++ ++ ++Name: disable-wifi-pi5 ++Info: See disable-wifi ++ ++ ++Name: dpi18 ++Info: Overlay for a generic 18-bit DPI display ++ This uses GPIOs 0-21 (so no I2C, uart etc.), and activates the output ++ 2-3 seconds after the kernel has started. ++Load: dtoverlay=dpi18 ++Params: ++ ++ ++Name: dpi18cpadhi ++Info: Overlay for a generic 18-bit DPI display (in 'mode 6' connection scheme) ++ This uses GPIOs 0-9,12-17,20-25 (so no I2C, uart etc.), and activates ++ the output 3-3 seconds after the kernel has started. ++Load: dtoverlay=dpi18cpadhi ++Params: ++ ++ ++Name: dpi24 ++Info: Overlay for a generic 24-bit DPI display ++ This uses GPIOs 0-27 (so no I2C, uart etc.), and activates the output ++ 2-3 seconds after the kernel has started. ++Load: dtoverlay=dpi24 ++Params: ++ ++ ++Name: draws ++Info: Configures the NW Digital Radio DRAWS Hat ++ ++ The board includes an ADC to measure various board values and also ++ provides two analog user inputs on the expansion header. The ADC ++ can be configured for various sample rates and gain values to adjust ++ the input range. Tables describing the two parameters follow. ++ ++ ADC Gain Values: ++ 0 = +/- 6.144V ++ 1 = +/- 4.096V ++ 2 = +/- 2.048V ++ 3 = +/- 1.024V ++ 4 = +/- 0.512V ++ 5 = +/- 0.256V ++ 6 = +/- 0.256V ++ 7 = +/- 0.256V ++ ++ ADC Datarate Values: ++ 0 = 128sps ++ 1 = 250sps ++ 2 = 490sps ++ 3 = 920sps ++ 4 = 1600sps (default) ++ 5 = 2400sps ++ 6 = 3300sps ++ 7 = 3300sps ++Load: dtoverlay=draws,= ++Params: draws_adc_ch4_gain Sets the full scale resolution of the ADCs ++ input voltage sensor (default 1) ++ ++ draws_adc_ch4_datarate Sets the datarate of the ADCs input voltage ++ sensor ++ ++ draws_adc_ch5_gain Sets the full scale resolution of the ADCs ++ 5V rail voltage sensor (default 1) ++ ++ draws_adc_ch5_datarate Sets the datarate of the ADCs 4V rail voltage ++ sensor ++ ++ draws_adc_ch6_gain Sets the full scale resolution of the ADCs ++ AIN2 input (default 2) ++ ++ draws_adc_ch6_datarate Sets the datarate of the ADCs AIN2 input ++ ++ draws_adc_ch7_gain Sets the full scale resolution of the ADCs ++ AIN3 input (default 2) ++ ++ draws_adc_ch7_datarate Sets the datarate of the ADCs AIN3 input ++ ++ alsaname Name of the ALSA audio device (default "draws") ++ ++ ++Name: dwc-otg ++Info: Selects the dwc_otg USB controller driver which has fiq support. This ++ is the default on all except the Pi Zero which defaults to dwc2. ++Load: dtoverlay=dwc-otg ++Params: ++ ++ ++Name: dwc2 ++Info: Selects the dwc2 USB controller driver ++Load: dtoverlay=dwc2,= ++Params: dr_mode Dual role mode: "host", "peripheral" or "otg" ++ ++ g-rx-fifo-size Size of rx fifo size in gadget mode ++ ++ g-np-tx-fifo-size Size of non-periodic tx fifo size in gadget ++ mode ++ ++ ++[ The ds1307-rtc overlay has been deleted. See i2c-rtc. ] ++ ++ ++Name: edt-ft5406 ++Info: Overlay for the EDT FT5406 touchscreen. ++ This works with the Raspberry Pi 7" touchscreen when not being polled ++ by the firmware. ++ By default the overlay uses the i2c_csi_dsi I2C interface, but this ++ can be overridden ++ You MUST use either "disable_touchscreen=1" or "ignore_lcd=1" in ++ config.txt to stop the firmware polling the touchscreen. ++Load: dtoverlay=edt-ft5406,= ++Params: sizex Touchscreen size x (default 800) ++ sizey Touchscreen size y (default 480) ++ invx Touchscreen inverted x axis ++ invy Touchscreen inverted y axis ++ swapxy Touchscreen swapped x y axis ++ i2c0 Choose the I2C0 bus on GPIOs 0&1 ++ i2c1 Choose the I2C1 bus on GPIOs 2&3 ++ i2c3 Choose the I2C3 bus (configure with the i2c3 ++ overlay - BCM2711 only) ++ i2c4 Choose the I2C4 bus (configure with the i2c4 ++ overlay - BCM2711 only) ++ i2c5 Choose the I2C5 bus (configure with the i2c5 ++ overlay - BCM2711 only) ++ i2c6 Choose the I2C6 bus (configure with the i2c6 ++ overlay - BCM2711 only) ++ addr Sets the address for the touch controller. Note ++ that the device must be configured to use the ++ specified address. ++ ++ ++Name: enc28j60 ++Info: Overlay for the Microchip ENC28J60 Ethernet Controller on SPI0 ++Load: dtoverlay=enc28j60,= ++Params: int_pin GPIO used for INT (default 25) ++ ++ speed SPI bus speed (default 12000000) ++ ++ ++Name: enc28j60-spi2 ++Info: Overlay for the Microchip ENC28J60 Ethernet Controller on SPI2 ++Load: dtoverlay=enc28j60-spi2,= ++Params: int_pin GPIO used for INT (default 39) ++ ++ speed SPI bus speed (default 12000000) ++ ++ ++Name: exc3000 ++Info: Enables I2C connected EETI EXC3000 multiple touch controller using ++ GPIO 4 (pin 7 on GPIO header) for interrupt. ++Load: dtoverlay=exc3000,= ++Params: interrupt GPIO used for interrupt (default 4) ++ sizex Touchscreen size x (default 4096) ++ sizey Touchscreen size y (default 4096) ++ invx Touchscreen inverted x axis ++ invy Touchscreen inverted y axis ++ swapxy Touchscreen swapped x y axis ++ ++ ++Name: fbtft ++Info: Overlay for SPI-connected displays using the fbtft drivers. ++ ++ This overlay seeks to replace the functionality provided by fbtft_device ++ which is now gone from the kernel. ++ ++ Most displays from fbtft_device have been ported over. ++ Example: ++ dtoverlay=fbtft,spi0-0,rpi-display,reset_pin=23,dc_pin=24,led_pin=18,rotate=270 ++ ++ It is also possible to specify the controller (this will use the default ++ init sequence in the driver). ++ Example: ++ dtoverlay=fbtft,spi0-0,ili9341,bgr,reset_pin=23,dc_pin=24,led_pin=18,rotate=270 ++ ++ For devices on spi1 or spi2, the interfaces should be enabled ++ with one of the spi1-1/2/3cs and/or spi2-1/2/3cs overlays. ++ ++ The following features of fbtft_device have not been ported over: ++ - parallel bus is not supported ++ - the init property which overrides the controller initialization ++ sequence is not supported as a parameter due to memory limitations in ++ the bootloader responsible for applying the overlay. ++ ++ See https://github.com/notro/fbtft/wiki/FBTFT-RPI-overlays for how to ++ create an overlay. ++ ++Load: dtoverlay=fbtft,= ++Params: ++ spi- Configure device at spi, cs ++ (boolean, required) ++ speed SPI bus speed in Hz (default 32000000) ++ cpha Shifted clock phase (CPHA) mode ++ cpol Inverse clock polarity (CPOL) mode ++ ++ adafruit18 Adafruit 1.8 ++ adafruit22 Adafruit 2.2 (old) ++ adafruit22a Adafruit 2.2 ++ adafruit28 Adafruit 2.8 ++ adafruit13m Adafruit 1.3 OLED ++ admatec_c-berry28 C-Berry28 ++ dogs102 EA DOGS102 ++ er_tftm050_2 ER-TFTM070-2 ++ er_tftm070_5 ER-TFTM070-5 ++ ew24ha0 EW24HA0 ++ ew24ha0_9bit EW24HA0 in 9-bit mode ++ freetronicsoled128 Freetronics OLED128 ++ hy28a HY28A ++ hy28b HY28B ++ itdb28_spi ITDB02-2.8 with SPI interface circuit ++ mi0283qt-2 Watterott MI0283QT-2 ++ mi0283qt-9a Watterott MI0283QT-9A ++ nokia3310 Nokia 3310 ++ nokia3310a Nokia 3310a ++ nokia5110 Nokia 5110 ++ piscreen PiScreen ++ pitft Adafruit PiTFT 2.8 ++ pioled ILSoft OLED ++ rpi-display Watterott rpi-display ++ sainsmart18 Sainsmart 1.8 ++ sainsmart32_spi Sainsmart 3.2 with SPI interfce circuit ++ tinylcd35 TinyLCD 3.5 ++ tm022hdh26 Tianma TM022HDH26 ++ tontec35_9481 Tontect 3.5 with ILI9481 controller ++ tontec35_9486 Tontect 3.5 with ILI9486 controller ++ waveshare32b Waveshare 3.2 ++ waveshare22 Waveshare 2.2 ++ ++ bd663474 BD663474 display controller ++ hx8340bn HX8340BN display controller ++ hx8347d HX8347D display controller ++ hx8353d HX8353D display controller ++ hx8357d HX8357D display controller ++ ili9163 ILI9163 display controller ++ ili9320 ILI9320 display controller ++ ili9325 ILI9325 display controller ++ ili9340 ILI9340 display controller ++ ili9341 ILI9341 display controller ++ ili9481 ILI9481 display controller ++ ili9486 ILI9486 display controller ++ pcd8544 PCD8544 display controller ++ ra8875 RA8875 display controller ++ s6d02a1 S6D02A1 display controller ++ s6d1121 S6D1121 display controller ++ seps525 SEPS525 display controller ++ sh1106 SH1106 display controller ++ ssd1289 SSD1289 display controller ++ ssd1305 SSD1305 display controller ++ ssd1306 SSD1306 display controller ++ ssd1325 SSD1325 display controller ++ ssd1331 SSD1331 display controller ++ ssd1351 SSD1351 display controller ++ st7735r ST7735R display controller ++ st7789v ST7789V display controller ++ tls8204 TLS8204 display controller ++ uc1611 UC1611 display controller ++ uc1701 UC1701 display controller ++ upd161704 UPD161704 display controller ++ ++ width Display width in pixels ++ height Display height in pixels ++ regwidth Display controller register width (default is ++ driver specific) ++ buswidth Display bus interface width (default 8) ++ debug Debug output level {0-7} ++ rotate Display rotation {0, 90, 180, 270} (counter ++ clockwise). Not supported by all drivers. ++ bgr Enable BGR mode (default off). Use if Red and ++ Blue are swapped. Not supported by all drivers. ++ fps Frames per second (default 30). In effect this ++ states how long the driver will wait after video ++ memory has been changed until display update ++ transfer is started. ++ txbuflen Length of the FBTFT transmit buffer ++ (default 4096) ++ startbyte Sets the Start byte used by fb_ili9320, ++ fb_ili9325 and fb_hx8347d. Common value is 0x70. ++ gamma String representation of Gamma Curve(s). Driver ++ specific. Not supported by all drivers. ++ reset_pin GPIO pin for RESET ++ dc_pin GPIO pin for D/C ++ led_pin GPIO pin for LED backlight ++ ++ ++Name: fe-pi-audio ++Info: Configures the Fe-Pi Audio Sound Card ++Load: dtoverlay=fe-pi-audio ++Params: ++ ++ ++Name: fsm-demo ++Info: A demonstration of the gpio-fsm driver. The GPIOs are chosen to work ++ nicely with a "traffic-light" display of red, amber and green LEDs on ++ GPIOs 7, 8 and 25 respectively. ++Load: dtoverlay=fsm-demo,= ++Params: fsm_debug Enable debug logging (default off) ++ ++ ++Name: gc9a01 ++Info: Enables GalaxyCore's GC9A01 single chip driver based displays on ++ SPI0 as fb1, using GPIOs DC=25, RST=27 and BL=18 (physical ++ GPIO header pins 22, 13 and 12 respectively) in addition to the ++ SPI0 pins DIN=10, CLK=11 and CS=8 (physical GPIO header pins 19, ++ 23 and 24 respectively). ++Load: dtoverlay=gc9a01,= ++Params: speed Display SPI bus speed ++ ++ rotate Display rotation {0,90,180,270} ++ ++ width Width of the display ++ ++ height Height of the display ++ ++ fps Delay between frame updates ++ ++ debug Debug output level {0-7} ++ ++ ++Name: ghost-amp ++Info: An overlay for the Ghost amplifier. ++Load: dtoverlay=ghost-amp,= ++Params: fsm_debug Enable debug logging of the GPIO FSM (default ++ off) ++ ++ ++Name: goodix ++Info: Enables I2C connected Goodix gt9271 multiple touch controller using ++ GPIOs 4 and 17 (pins 7 and 11 on GPIO header) for interrupt and reset. ++Load: dtoverlay=goodix,= ++Params: interrupt GPIO used for interrupt (default 4) ++ reset GPIO used for reset (default 17) ++ ++ ++Name: googlevoicehat-soundcard ++Info: Configures the Google voiceHAT soundcard ++Load: dtoverlay=googlevoicehat-soundcard ++Params: ++ ++ ++Name: gpio-charger ++Info: This is a generic overlay for detecting charger with GPIO. ++Load: dtoverlay=gpio-charger,= ++Params: gpio GPIO pin to trigger on (default 4) ++ active_low When this is 1 (active low), a falling ++ edge generates a charging event and a ++ rising edge generates a discharging event. ++ When this is 0 (active high), this is ++ reversed. The default is 0 (active high) ++ gpio_pull Desired pull-up/down state (off, down, up) ++ Default is "down". ++ type Set a charger type for the pin. (Default: mains) ++ ++ ++Name: gpio-fan ++Info: Configure a GPIO pin to control a cooling fan. ++Load: dtoverlay=gpio-fan,= ++Params: gpiopin GPIO used to control the fan (default 12) ++ temp Temperature at which the fan switches on, in ++ millicelcius (default 55000) ++ hyst Temperature delta (in millicelcius) below ++ temp at which the fan will drop to minrpm ++ (default 10000) ++ ++ ++Name: gpio-hog ++Info: Activate a "hog" for a GPIO - request that the kernel configures it as ++ an output, driven low or high as indicated by the presence or absence ++ of the active_low parameter. Note that a hogged GPIO is not available ++ to other drivers or for gpioset/gpioget. ++Load: dtoverlay=gpio-hog,= ++Params: gpio GPIO pin to hog (default 26) ++ active_low If set, the hog drives the GPIO low (defaults ++ to off - the GPIO is driven high) ++ ++ ++Name: gpio-ir ++Info: Use GPIO pin as rc-core style infrared receiver input. The rc-core- ++ based gpio_ir_recv driver maps received keys directly to a ++ /dev/input/event* device, all decoding is done by the kernel - LIRC is ++ not required! The key mapping and other decoding parameters can be ++ configured by "ir-keytable" tool. ++Load: dtoverlay=gpio-ir,= ++Params: gpio_pin Input pin number. Default is 18. ++ ++ gpio_pull Desired pull-up/down state (off, down, up) ++ Default is "up". ++ ++ invert "1" = invert the input (active-low signalling). ++ "0" = non-inverted input (active-high ++ signalling). Default is "1". ++ ++ rc-map-name Default rc keymap (can also be changed by ++ ir-keytable), defaults to "rc-rc6-mce" ++ ++ ++Name: gpio-ir-tx ++Info: Use GPIO pin as bit-banged infrared transmitter output. ++ This is an alternative to "pwm-ir-tx". gpio-ir-tx doesn't require ++ a PWM so it can be used together with onboard analog audio. ++Load: dtoverlay=gpio-ir-tx,= ++Params: gpio_pin Output GPIO (default 18) ++ ++ invert "1" = invert the output (make it active-low). ++ Default is "0" (active-high). ++ ++ ++Name: gpio-key ++Info: This is a generic overlay for activating GPIO keypresses using ++ the gpio-keys library and this dtoverlay. Multiple keys can be ++ set up using multiple calls to the overlay for configuring ++ additional buttons or joysticks. You can see available keycodes ++ at https://github.com/torvalds/linux/blob/v4.12/include/uapi/ ++ linux/input-event-codes.h#L64 ++Load: dtoverlay=gpio-key,= ++Params: gpio GPIO pin to trigger on (default 3) ++ active_low When this is 1 (active low), a falling ++ edge generates a key down event and a ++ rising edge generates a key up event. ++ When this is 0 (active high), this is ++ reversed. The default is 1 (active low) ++ gpio_pull Desired pull-up/down state (off, down, up) ++ Default is "up". Note that the default pin ++ (GPIO3) has an external pullup ++ label Set a label for the key ++ keycode Set the key code for the button ++ ++ ++ ++Name: gpio-led ++Info: This is a generic overlay for activating LEDs (or any other component) ++ by a GPIO pin. Multiple LEDs can be set up using multiple calls to the ++ overlay. While there are many existing methods to activate LEDs on the ++ RPi, this method offers some advantages: ++ 1) Does not require any userspace programs. ++ 2) LEDs can be connected to the kernel's led-trigger framework, ++ and drive the LED based on triggers such as cpu load, heartbeat, ++ kernel panic, key input, timers and others. ++ 3) LED can be tied to the input state of another GPIO pin. ++ 4) The LED is setup early during the kernel boot process (useful ++ for cpu/heartbeat/panic triggers). ++ ++ Typical electrical connection is: ++ RPI-GPIO.19 -> LED -> 300ohm resister -> RPI-GND ++ The GPIO pin number can be changed with the 'gpio=' parameter. ++ ++ To control an LED from userspace, write a 0 or 1 value: ++ echo 1 > /sys/class/leds/myled1/brightness ++ The 'myled1' name can be changed with the 'label=' parameter. ++ ++ To connect the LED to a kernel trigger from userspace: ++ echo cpu > /sys/class/leds/myled1/trigger ++ echo heartbeat > /sys/class/leds/myled1/trigger ++ echo none > /sys/class/leds/myled1/trigger ++ To connect the LED to GPIO.26 pin (physical pin 37): ++ echo gpio > /sys/class/leds/myled1/trigger ++ echo 26 > /sys/class/leds/myled1/gpio ++ Available triggers: ++ cat /sys/class/leds/myled1/trigger ++ ++ More information about the Linux kernel LED/Trigger system: ++ https://www.kernel.org/doc/Documentation/leds/leds-class.rst ++ https://www.kernel.org/doc/Documentation/leds/ledtrig-oneshot.rst ++Load: dtoverlay=gpio-led,= ++Params: gpio GPIO pin connected to the LED (default 19) ++ label The label for this LED. It will appear under ++ /sys/class/leds/