Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'tags/bcm2835-dt-next-2021-01-25' into devicetree/next

Add DSI compatible string for Raspberry Pi 4

Enable BSC controller used for HDMI DCC

Add reserved memory node to expose Raspberry Pi 4's bootloader configuration

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

+30
+17
arch/arm/boot/dts/bcm2711-rpi-4-b.dts
··· 25 25 emmc2bus = &emmc2bus; 26 26 ethernet0 = &genet; 27 27 pcie0 = &pcie0; 28 + blconfig = &blconfig; 28 29 }; 29 30 30 31 leds { ··· 217 216 pinctrl-names = "default"; 218 217 pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; 219 218 status = "okay"; 219 + }; 220 + 221 + &rmem { 222 + /* 223 + * RPi4's co-processor will copy the board's bootloader configuration 224 + * into memory for the OS to consume. It'll also update this node with 225 + * its placement information. 226 + */ 227 + blconfig: nvram@0 { 228 + compatible = "raspberrypi,bootloader-config", "nvmem-rmem"; 229 + #address-cells = <1>; 230 + #size-cells = <1>; 231 + reg = <0x0 0x0 0x0>; 232 + no-map; 233 + status = "disabled"; 234 + }; 220 235 }; 221 236 222 237 /* SDHCI is used to control the SDIO for wireless */
+13
arch/arm/boot/dts/bcm2711.dtsi
··· 308 308 #reset-cells = <1>; 309 309 }; 310 310 311 + bsc_intr: interrupt-controller@7ef00040 { 312 + compatible = "brcm,bcm2711-l2-intc", "brcm,l2-intc"; 313 + reg = <0x7ef00040 0x30>; 314 + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 315 + interrupt-controller; 316 + #interrupt-cells = <1>; 317 + }; 318 + 311 319 hdmi0: hdmi@7ef00700 { 312 320 compatible = "brcm,bcm2711-hdmi0"; 313 321 reg = <0x7ef00700 0x300>, ··· 349 341 reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; 350 342 reg-names = "bsc", "auto-i2c"; 351 343 clock-frequency = <97500>; 344 + interrupt-parent = <&bsc_intr>; 345 + interrupts = <0>; 352 346 status = "disabled"; 353 347 }; 354 348 ··· 387 377 reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>; 388 378 reg-names = "bsc", "auto-i2c"; 389 379 clock-frequency = <97500>; 380 + interrupt-parent = <&bsc_intr>; 381 + interrupts = <1>; 390 382 status = "disabled"; 391 383 }; 392 384 }; ··· 552 540 553 541 &dsi1 { 554 542 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 543 + compatible = "brcm,bcm2711-dsi1"; 555 544 }; 556 545 557 546 &gpio {