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-2020-07-06' into devicetree/next

Maxime Ripard introduces two new clock providers into RPi4's device tree:

- The first one based on the enhancements made to clk-raspberrypi, which
is now registered trough DT and provides control over the whole range
of firmware based clocks.

- The second one based on the new clk-bcm2711-dvp driver, which gates
the clocks and reset signals that feed into RPi4's HDMI0/1 blocks.

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

+20
+5
arch/arm/boot/dts/bcm2711-rpi-4-b.dts
··· 69 69 }; 70 70 71 71 &firmware { 72 + firmware_clocks: clocks { 73 + compatible = "raspberrypi,firmware-clocks"; 74 + #clock-cells = <1>; 75 + }; 76 + 72 77 expgpio: gpio { 73 78 compatible = "raspberrypi,firmware-gpio"; 74 79 gpio-controller;
+15
arch/arm/boot/dts/bcm2711.dtsi
··· 12 12 13 13 interrupt-parent = <&gicv2>; 14 14 15 + clk_108MHz: clk-108M { 16 + #clock-cells = <0>; 17 + compatible = "fixed-clock"; 18 + clock-frequency = <108000000>; 19 + clock-output-names = "108MHz-clock"; 20 + }; 21 + 15 22 soc { 16 23 /* 17 24 * Defined ranges: ··· 250 243 251 244 hvs@7e400000 { 252 245 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 246 + }; 247 + 248 + dvp: clock@7ef00000 { 249 + compatible = "brcm,brcm2711-dvp"; 250 + reg = <0x7ef00000 0x10>; 251 + clocks = <&clk_108MHz>; 252 + #clock-cells = <1>; 253 + #reset-cells = <1>; 253 254 }; 254 255 }; 255 256